Skip to content
ImageLabeling

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.

Close view of hands on a compact keyboard and a mouse at a labeling desk with a printed shortcut card

What does an image annotation API need to do for a vision team?

City crossing with cars, a cyclist, pedestrians on a zebra crossing and a traffic light

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 pathWhat it does
GET /projectsLists your projects with their classes and image counts
POST /projectsCreates a project from a name and a list of 1 to 100 class names
GET /projects/{id}/imagesLists images, filtered by status unlabeled, labeled, approved or rejected
POST /projects/{id}/imagesUploads one JPEG, PNG or WebP image up to 10 MB as multipart field image
POST /images/{id}/prelabelAsks the AI model for draft boxes for the classes of the project
GET /images/{id}/annotationsReturns the status and every object on the image
PUT /images/{id}/annotationsReplaces the objects on the image, up to 500, and can mark it done
POST /projects/{id}/versionsFreezes 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.

TypeGeometry fieldsPlans
boxbox as [x, y, w, h], normalized 0 to 1All plans
polygonpoints as a list of [x, y], 3 to 2,000 pointsAll plans
pointa single [x, y]All plans
classno geometry, an image level classAll plans
maskpolygons, a list of point listsTeam and above
keypoints[x, y, visibility] per point of the class skeletonBusiness 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.

PlanPrice a monthRequests a minute2,000 uploads plus 2,000 prelabel calls
Team149 USD, 74 USD billed yearly60about 67 minutes
Business499 USD, 249 USD billed yearly120about 33 minutes
Enterprise1,499 USD, 749 USD billed yearly600about 7 minutes

Webhooks for when a person finishes

Red and green apples rolling on a stainless steel conveyor belt in a packing plant, a gloved hand sorting

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.

ToolAPI styleWhere review sitsPublished price for a team
ImageLabelingREST with bearer tokens, webhooks on BusinessSaving labels sends an image back to review, versions hold approved images onlyTeam 149 USD a month for 10 seats
LabelboxGraphQL API and Python SDKReview workflows in the appUsage based, 0.10 USD per Labelbox Unit on Starter
Label StudioREST API, also in the open source editionReviewer features on paid plansStarter Cloud 99 USD plus 49 USD per extra user
CVATREST API and Python SDKRoles and review on CVAT Online33 USD per user a month
RoboflowREST API and Python packageReview Mode on Enterprise onlyCore from 39 USD a month in credits

What the API does not do

Aerial drone view straight down of farm fields with a red tractor, a white pickup truck, a barn and a dirt road

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.