Image annotation API for labeling pipelines, AI drafts and dataset exports
The ImageLabeling image annotation API is a REST API that moves images and labels between your code and a hosted labeling workspace. With one bearer token you create projects, upload JPEG, PNG or WebP images, ask the AI model for draft boxes, read and write annotations, freeze approved images into a dataset version and download it as COCO JSON, YOLO, Pascal VOC or CSV. Your labelers and reviewers work in the browser editor in between. API access is part of Team at 149 USD a month (60 requests a minute), Business (120) and Enterprise (600).
See the plan limits on the pricing page, or read the endpoint list below and check it against your pipeline before you buy.
What does an image annotation API need to do for a vision team?
It has to replace the clicks between your data and your training job. Images arrive from a camera, a field app or a failure case queue, so the API must accept uploads into a project. Labels have to come back out in a format your trainer reads, and only after a person approved them. Everything in between, drawing, fixing and reviewing, stays in an editor built for people. ImageLabeling splits the work exactly that way: the API handles intake, drafts and export, the editor handles judgment.
Every endpoint of the API
All paths start with https://imagelabeling.com/api/v1 and take an Authorization header with your workspace token. Lists are paginated, 50 items a page.
Saving labels through the API moves an approved image back to labeled, so a changed label always passes review again before it reaches a version. Uploads respect your stored image limit and return 409 when storage is full.
| Method and path | What it does |
|---|---|
| GET /projects | Lists your projects with their classes and image counts |
| POST /projects | Creates a project from a name and a list of 1 to 100 class names |
| GET /projects/{id}/images | Lists images, filtered by status unlabeled, labeled, approved or rejected |
| POST /projects/{id}/images | Uploads one JPEG, PNG or WebP image up to 10 MB as multipart field image |
| POST /images/{id}/prelabel | Asks the AI model for draft boxes for the classes of the project |
| GET /images/{id}/annotations | Returns the status and every object on the image |
| PUT /images/{id}/annotations | Replaces the objects on the image, up to 500, and can mark it done |
| POST /projects/{id}/versions | Freezes every approved image into a numbered dataset version |
| GET /projects/{id}/export/{format} | Downloads the current labels as coco, yolo, voc or csv |
| GET /versions/{id}/export/{format} | Downloads a frozen version in the same four formats |
Upload, draft and export in four calls
Tokens start with il_ and are created under API in the workspace. You see a token once, and you can revoke it at any time.
The prelabel call answers with the draft objects and the AI images left this month. A box is stored as normalized x, y, width and height, so 0.2 means 20 percent of the image width, and every draft carries source ai, a pending status and a confidence value until a labeler accepts or fixes it. When the monthly AI allowance is used up the call returns 429 with the renewal date, and manual labeling keeps working.
curl -X POST https://imagelabeling.com/api/v1/projects \
-H "Authorization: Bearer $IMAGELABELING_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Line 3 defects", "classes": ["scratch", "dent"]}'
curl -X POST https://imagelabeling.com/api/v1/projects/12/images \
-H "Authorization: Bearer $IMAGELABELING_TOKEN" \
-F "image=@part_0412.jpg"
curl -X POST https://imagelabeling.com/api/v1/images/3051/prelabel \
-H "Authorization: Bearer $IMAGELABELING_TOKEN"
curl -o line3-v4-yolo.zip https://imagelabeling.com/api/v1/versions/4/export/yolo \
-H "Authorization: Bearer $IMAGELABELING_TOKEN"What one object looks like in the API
Every object has a cls that must be one of the project classes, and the API rejects geometry outside the image, unknown classes and types your plan does not include. That check is the reason labels written by a script look the same as labels drawn in the editor. The exports convert these objects into the formats described on the COCO annotation tool and YOLO labeling tool pages, following the public COCO data format and the Ultralytics detection format.
| Type | Geometry fields | Plans |
|---|---|---|
| box | box as [x, y, w, h], normalized 0 to 1 | All plans |
| polygon | points as a list of [x, y], 3 to 2,000 points | All plans |
| point | a single [x, y] | All plans |
| class | no geometry, an image level class | All plans |
| mask | polygons, a list of point lists | Team and above |
| keypoints | [x, y, visibility] per point of the class skeleton | Business and above |
Rate limits and what they mean for a nightly job
Limits are counted per workspace, across all tokens, in a one minute window. Every response carries X-RateLimit-Limit and X-RateLimit-Remaining, and a 429 carries Retry-After.
A worked example. A quality team pushes 2,000 line camera photos into a project every night and requests a draft for each, which is 4,000 calls. On Team that finishes in a little over an hour, well inside a night, and it uses 2,000 of the 3,500 AI pre-labeled images in the month, so drafts for every night need Business with 12,000 a month. Exporting a version is one call regardless of size.
| Plan | Price a month | Requests a minute | 2,000 uploads plus 2,000 prelabel calls |
|---|---|---|---|
| Team | 149 USD, 74 USD billed yearly | 60 | about 67 minutes |
| Business | 499 USD, 249 USD billed yearly | 120 | about 33 minutes |
| Enterprise | 1,499 USD, 749 USD billed yearly | 600 | about 7 minutes |
Webhooks for when a person finishes
Business and Enterprise add webhooks, so your pipeline does not poll. You subscribe an HTTPS endpoint to any of five events: image.uploaded, image.labeled, image.reviewed, version.created and export.created. Each delivery is signed with HMAC SHA256 over the timestamp and body in the X-ImageLabeling-Signature header, and carries X-ImageLabeling-Event and a delivery ID, with a delivery log in the workspace. A common pattern listens for image.reviewed, freezes a version when a batch is approved and starts training from the version export.
Teams that buy an annotation API instead of building one
- Manufacturing teams sending camera frames from the line into a review queue, see defect detection datasets.
- Robotics teams that send failure cases from the field back for labeling, see robotics dataset labeling.
- Document AI teams labeling scanned forms and statement pages as images to train a layout model. If the same team also has to turn those bank statements into QuickBooks files for accounting, that is a separate tool such as Bankqbo, and the API only handles the image side.
- ML engineers who want each training run tied to a frozen dataset version ID from CI, see the computer vision annotation tool page.
How the API compares with common annotation tools
Most annotation tools expose an API, so the choice is about price and what the API is allowed to do.
Labelbox wins when you label video, text and images through one SDK. Label Studio and CVAT win when you must self host. Roboflow wins when the same account trains and deploys the model. ImageLabeling wins when you want a flat monthly number, image only work and a review gate the API cannot skip. The image annotation pricing comparison prices all five at two volumes.
| Tool | API style | Where review sits | Published price for a team |
|---|---|---|---|
| ImageLabeling | REST with bearer tokens, webhooks on Business | Saving labels sends an image back to review, versions hold approved images only | Team 149 USD a month for 10 seats |
| Labelbox | GraphQL API and Python SDK | Review workflows in the app | Usage based, 0.10 USD per Labelbox Unit on Starter |
| Label Studio | REST API, also in the open source edition | Reviewer features on paid plans | Starter Cloud 99 USD plus 49 USD per extra user |
| CVAT | REST API and Python SDK | Roles and review on CVAT Online | 33 USD per user a month |
| Roboflow | REST API and Python package | Review Mode on Enterprise only | Core from 39 USD a month in credits |
What the API does not do
It does not train or host models, and it does not run inference on images outside a project. AI drafts are boxes. Polygons, masks and keypoints are drawn by your labelers or written by your own script through the annotations endpoint. Images are JPEG, PNG or WebP up to 10 MB each, with no native video. Starter has no API access, and the auto labeling page explains how the AI allowance is counted.
FAQ
Is there an API for image annotation?
Yes. ImageLabeling has a REST API on Team, Business and Enterprise plans. It creates projects, uploads images, requests AI draft boxes, reads and writes annotations, freezes approved images into dataset versions and exports COCO JSON, YOLO, Pascal VOC or CSV, with a bearer token per workspace.
How much does an image annotation API cost?
API access starts with the Team plan at 149 USD a month, or 74 USD billed yearly, with 60 requests a minute, 10 seats and 3,500 AI pre-labeled images. Business is 499 USD with 120 requests a minute and webhooks. Requests themselves are not billed, only AI drafts count toward the monthly allowance.
Can I upload images to an annotation project with an API?
Yes. Send a multipart POST to the images endpoint of a project with the file in the image field. JPEG, PNG and WebP up to 10 MB are accepted, and the response returns the image ID, size and status. A script can upload a whole folder within your rate limit.
Can I import existing labels through the API?
Yes. Write objects to an image with the annotations endpoint, using boxes, polygons, points, classes, masks or keypoints your plan includes. For a whole dataset in COCO, YOLO or Pascal VOC, the import in the workspace is faster, and imported labels go through review like any other.
Does the API return labels only after review?
Dataset versions contain approved images only, so exporting a version gives reviewed labels. The project export gives the current state, including work in progress. Saving labels to an approved image sends it back to labeled, so nothing changes in a version without a reviewer.
Connect your pipeline to a labeling workspace
Create a workspace on Team, generate a token under API and send your first batch of images today.