AI Content Drop REST API Reference
Base URL: https://aicontentdrop.com/v1 · Spec: /openapi.json · Format: JSON only, never HTML, on every status code.
Endpoints
| Method and path | Key | What it does |
|---|---|---|
GET /v1 |
no | Machine-readable index of this API |
GET /v1/models |
no | Every model with its flat credit cost |
GET /v1/plans |
no | Plans, prices, credit packs, and the free tier |
GET /v1/models/{id}/cost?quantity=N |
no | Quote one model before committing |
POST /v1/models/cost |
no | Quote up to 50 model/quantity pairs in one call |
POST /v1/batch |
no | Run several read operations in one request |
GET /v1/me |
yes | Account, plan, and credit balance |
POST /v1/generate/video |
yes | Start a video generation. Returns 202 + Location |
POST /v1/generate/image |
yes | Same contract for images |
GET /v1/videos/{id} |
yes | Poll one generation |
GET /v1/videos?limit=&cursor= |
yes | Cursor-paginated generation history |
Generating
POST /v1/generate/video accepts:
| Field | Type | Notes |
|---|---|---|
prompt |
string | Required. What the video should show. |
aiModel |
string | Model id from the catalogue. Omit to let the platform choose. |
duration |
number | Seconds. Defaults to 5. |
aspectRatio |
string | 16:9, 9:16, or 1:1. Defaults to 16:9. |
imageUrl |
string | Public image URL to animate, for image-to-video. |
Three request headers change the contract, and all three are opt-in:
Idempotency-Key: <uuid>— a retry with the same key returns the FIRST response instead of starting a second generation. Reusing a key with a different body is a 409, not a silent replay. Keys live 24 hours.X-Sandbox: true— returns a synthetic completed job without calling a provider or charging anything. See sandbox mode.Accept: application/json— the default and the only representation.
The success response is 202 Accepted, not 200, because the render has not happened yet:
{
"video": { "id": "…", "status": "generating", "aiModel": "kling_3_0", "creditsUsed": 0 },
"poll_url": "https://aicontentdrop.com/v1/videos/…",
"poll_interval_seconds": 5
}
Location carries the same poll URL and Retry-After: 5 carries the interval. Poll until status is completed or failed.
Paginating history
GET /v1/videos takes limit (1–100) and an opaque cursor. The response carries next_cursor; pass it back to continue. offset still works and is deprecated — it is announced in the spec with a Deprecation header and will keep working for at least 180 days.
Model ids
Ids use underscores (veo_3_fast). Dashes are accepted on input and normalised. A few marketplace aliases resolve to their provider id. If a model "does not exist", check the id form before anything else.
Drops from a reference
A drop is the video agent's unit of work at /v1/engine, available to accounts enabled for drops. It can start from an image or a clip you have the rights to:
| Method and path | Key | What it does |
|---|---|---|
POST /v1/engine/analyze |
yes | Read a reference into words: JSON { "url", "rights" }, or a multipart file with rights as JSON text. No credits; capped per day |
GET /v1/engine/references/{id} |
yes | The words read from a reference, never the file. Poll it after a 202 |
POST /v1/engine/runs/{id}/reference-class |
yes | Change the reference class when the reading got it wrong |
rights is { "basis": "own_work", "confirmed": true } (basis may also be licensed or permission), and a video is refused without it. Four checks answer before any of the body is read, in this order: vision_unavailable (403: reading references is not open on this account; features.reference_intake on GET /v1/engine/lanes says so ahead of time), analysis_cap with reset_at (429: no readings left today), reference_busy (503 with Retry-After: every intake place is taken, send it again then), and insufficient_scope (403: an API key needs the canvas:write scope, because a reference is stored on the account). Then the first bytes of the file, or of the link's body, must match the type it was sent as, or it is refused as unsupported_type (415).
An image, or a clip of up to 30 seconds, is read while the request waits and answered 200 with a reference_url, the reference_class and the facts. A longer clip is stored, answered 202 with status: "analyzing" at once, and read in the background: GET /v1/engine/references/{id} reaches ready, or failed with error_message, by itself, so poll it every 5 seconds. A short reading that outlasts the wait is answered 202 the same way and finishes the same way. The request waits up to 55 seconds; send X-ACD-Reference-Wait-Ms (5000 to 55000) to be answered sooner, with nothing cancelled. The day's count is taken only when its reading starts, after the file is checked and stored, so a refusal before that uses none. The file is held privately while it is read and deleted once it is read; only the words are kept. A file whose reading failed is held for the one free re-read a drop may make, then deleted.
To make something from it, send the first message to POST /v1/engine/chat with brief.reference set to { "kind": "upload", "url": "<reference_url>" }, and pass the facts back as brief.reference_facts so the reference is not read twice. Both brief.reference_class and brief.reference_facts are dropped while reference reading is off for the account. A drop started while a long clip is still being read waits for that reading as its first step, and reads the clip itself, once and without another count, if the background reading was lost. POST /v1/engine/runs/{id}/reference-class answers 403 vision_unavailable while reference reading is off, and changes nothing. POST /v1/engine/runs takes no brief and is unchanged. A share link shows what the drop made, its scores and the Director's notes, never the reference's class or its facts.
Refusals from the reference routes carry error and message: the four checks above, rights_required, bad_request, bad_upload, bad_url or fetch_failed (400), reference_unreadable (400 for a file that cannot be read, 503 when reading is unavailable), too_large (413), unsupported_type (415), and reference_storage_unavailable (503). The rest of /v1/engine refuses in its own envelope, { "code", "error" }: for example PLAN_REQUIRED (402), INSUFFICIENT_SCOPE (403), DAILY_LIMIT with reset_at (429) and INTERNAL_ERROR (500). The full shapes are in /openapi.json.
Errors
Every failure is JSON with a machine code. The full table is in error codes.
{ "error": { "code": "insufficient_credits", "message": "This generation needs 22 credits; the account holds 4." } }