Developer

API Documentation

The vast majority of AllImageLab tools are 100% browser-based: your images/files are never uploaded to a server. This page transparently explains the current architecture and outlines what's planned for the upcoming public REST API.

What's the current status?

AllImageLab does not currently have a public, live REST API. Every tool on the site runs client-side in your browser, or with limited server-side processing on the PRO plan. The endpoint examples on this page describe a planned / in-design structure — they are not live and will not work with a real API key.

🔒 Internal Endpoints (site-internal use only)

For transparency: AllImageLab's own pages use a couple of internal endpoints for usage counters and daily quota checks. These are not public, require authentication (CSRF token + session), and are not designed for external integration:

/api/quota-check.php — Checks the daily free-usage quota (session-based).
/api/counter-inc.php — Increments usage counters after a successful browser-side operation (CSRF token required).

Do not attempt to use these endpoints in your own project: CSRF validation fails for external requests and they will be rejected.

🌍 Public REST API (Planned)

On our PRO roadmap: an API-key-protected REST API that lets you plug image/PDF conversion, compression, and resizing into your own automations (n8n, Zapier, your own backend, etc.). The endpoints below are conceptual examples — final names, parameters, and limits may change.

Endpoint (conceptual) Description Status
POST /v1/compress Compress an image or PDF file server-side (planned). Planned
POST /v1/resize Resize an image to a target size/ratio (planned). Planned
POST /v1/convert Convert an image between formats such as JPG/PNG/WebP/AVIF (planned). Planned

Authentication (planned)

Each request would be sent with an Authorization: Bearer <api_key> header. No real API keys are issued today — any "AllImageLab API key" claim you see elsewhere online is not valid.

Be first in line for API access

We want to notify you first when the public API goes live. Check out the pricing page to join the waitlist and see PRO plans.

Join the Waitlist →

Need integration right now?

While the public REST API isn't ready yet, you can check out our ready-made WordPress plugins. For example, the NT WebP plugin automatically converts images in your WordPress media library to WebP.

See WP Plugins →

Frequently Asked Questions

Do I have an API key I can use right now?

No. The public REST API is not live yet. Everything on this page is either internal (site-only) usage or a planned feature.

Which operations are planned for the API?

Compression (image + PDF), resizing, and format conversion are the priority operations planned first. The list may expand over time.

When will it go live?

We don't give a firm date; the API is part of our roadmap as server-side PRO infrastructure progresses. Join the waitlist to hear about it first.

Can I use the internal endpoints (quota-check, counter-inc) on my own site?

No, these are designed only for AllImageLab's own pages and require CSRF/session validation; they are not suitable for external use.

Is there a solution for WordPress today?

Yes — the plugins on our WP Plugins page (e.g. NT WebP) are usable today, and you don't need to wait for the REST API.