Skip to main content

Documentation

Jobs and results

Create a job

POST /v1/generations
Authorization: Bearer cv_live_YOUR_KEY
Content-Type: application/json
Idempotency-Key: 7d1c0f6e-5b0a-4a33-9f2e-0c1b2a3d4e5f

{
  "plan": "credits",
  "model": "veo-3.1",
  "params": { "prompt": "A paper boat on a rainy street", "aspect_ratio": "16:9", "duration": 8 }
}

plan is required and must be credits; studio (retired on 2026-11-19) returns 422 invalid_parameters. See Plans.

The response is 201 with the job. A replayed request (same Idempotency-Key and body) returns 200 and the header Idempotent-Replayed: true. See Idempotency.

params takes the prompt and the options of the model (aspect_ratio, duration, resolution). The values of resolution differ per model. On models whose list contains default (Seedance 2.5 Flash, both Seedance 2.0 No Face models, Seedance 2.5 No Face, Omni Flash 1.2, Veo 3.1, GPT Image 2.5, Nano Banana), default is the size the model generates and the other values enlarge the result after it is made; on the other models resolution is the size that is generated. Where the price depends on it, price_table says so. Input images go in params.images as base64 (data) with the MIME type; the request body can be up to 45 MiB. GET /v1/models lists the parameters, the input modes (modes, with the number of images and videos each takes) and the price table of every model.

Video models

Prices are in credits per job. The table shows the lowest price of each model; price_table in GET /v1/models has every combination, and it is the source of truth if the two differ.

modelduration (seconds)resolutionInput imagesFrom
veo-3.14, 6, 8default, 1080p, 2k0 to 3, or a first and last frame6
omni-flash-lower15720p, 1080p, 2k0 to 3, plus an optional video30
minimax-h35, 10, 15480p, 720p, 768p, 1080p0 to 1033
seedance-2.0-no-face5, 10, 15default, 1080p, 2k, 4k0 to 1040
omni-flash4, 6, 8, 10, 15default, 1080p, 2k, 4k0 to 3, plus an optional video50
grok-imagine-video-1.56, 10, 15720p, 1080p0 to 15, or a first and last frame108
seedance-2.0-mini5, 10, 15720p, 1080p0 to 9146
seedance-2.0-fast-speed5, 10, 15720p, 1080p0 to 9194
seedance-2.0-no-face-basic10, 15default, 1080p, 2k, 4k0 to 10252
seedance-2.5-flash5, 10, 15, 30default (480p), 720p, 1080p, 2k, 4k0 to 10294
seedance-2.5-standard5, 10, 15, 30720p, 1080p0 to 10378
seedance-2.5-no-face30default, 2k0 to 91266
wan-3.05, 10, 15, 20, 25, 30720p0 to 101266
  • aspect_ratio values also differ per model; read them from params_schema.
  • Seedance models do not accept reference images of real people.
  • Each model has its own status. A model in maintenance rejects new jobs with 503 model_unavailable and nothing is charged; other models keep working, including another variant of the same family (for example omni-flash and omni-flash-lower).
  • seedance-2.0-fast was retired on 2026-11-28 and answers model_unavailable. Use seedance-2.0-fast-speed, seedance-2.0-mini or seedance-2.0-no-face instead; their prices differ.
  • seedance-2.5-no-face no longer offers resolution: "1080p".

Reference video (mode v2v)

omni-flash and omni-flash-lower can restyle or continue a video you provide. Send exactly one video in params.videos as base64 (data), plus 0 to 3 images in params.images:

{
  "plan": "credits",
  "model": "omni-flash",
  "params": {
    "prompt": "Turn this clip into a watercolor painting",
    "aspect_ratio": "16:9",
    "videos": [{ "data": "AAAAGGZ0eXBpc29t..." }]
  }
}
  • The video must be MP4, MOV or WebM and at most 32 MiB before base64 encoding (max_video_bytes in GET /v1/models). The type is read from the file content, not from the mime field. The whole request body, video and images together, must stay under 45 MiB.
  • Sending a video selects mode v2v. Sending mode with any other value together with a video, a model without a v2v mode, more than one video, or mode: "v2v" without a video returns 422 invalid_parameters with details.field set to videos (or videos[0] for a file problem such as unsupported_type, too_large or invalid_base64).
  • Price: omni-flash costs 60 credits with a reference video; without one, 70 credits for 15 seconds and 50 for every other duration, and enlarging the result adds 10 (1080p), 20 (2k) or 40 (4k). omni-flash-lower costs 30 credits, or 40 with a reference video, plus 10 (1080p) or 20 (2k). GET /v1/models has one price_table row for each combination.
  • The video is kept only until the job ends, then deleted. The job shows its video in params.videos (index, mime, bytes), never the file itself.

Job states

StatusMeaningCan be cancelled
pendingAccepted and waiting in the CheapVids queue (your limit of parallel jobs is used up)Yes, refunded in full
queuedSent to the generator, waiting for a slotYes if the generator accepts, refunded in full
processingBeing generatedNo (409 not_cancellable)
completedDone, the result can be downloadedNo
failedFailed, refundedNo
cancelledCancelled, refundedNo

Each job produces exactly one result. For several variants of a prompt, create several jobs, each with its own Idempotency-Key.

While a job is not finished the response has next: { "action": "poll", "after_seconds": 5 }. Use GET /v1/generations/{id}?wait=60 (Long polling) or a webhook instead of polling in a tight loop. POST /v1/generations/{id}/cancel cancels a job that has not started running.

Download the result

CheapVids does not store the results of API jobs. It relays the file from the generator while you download, for a limited window after the job finishes.

  • output.url of a completed job is a CheapVids URL: https://api.cheapvids.com/v1/generations/{id}/content?exp=...&sig=.... It works without an API key (for example in a <video> tag) for one hour. Call GET /v1/generations/{id} again to get a fresh URL.
  • You can also call GET /v1/generations/{id}/content with your API key. Add ?download=1 for a Content-Disposition: attachment response.
  • Range is supported, one range per request (Range: bytes=0-1048575), so video players can seek. HEAD returns the total size in Content-Length.
  • The window is results.api_ttl_hours in GET /v1/account (24 hours by default) after completion, and result_expires_at on the job. After it, the endpoint answers 410 result_expired. Download as soon as the job is done.
  • If the generator no longer serves the file, you get 502 result_unavailable (retry after the Retry-After seconds).

Download limits

To keep the service fast for everyone, downloads are limited per account:

  • a few streams at the same time (429 with Retry-After: 5 when you are over),
  • a daily amount of bytes (results.download.user_gib_per_day, with used_bytes_today in GET /v1/account),
  • a number of downloads per result (results.download.job_download_multiple times the file size per day),
  • for signed URLs, a limit of requests per minute per IP address.

A download that hits a limit answers 429 rate_limited with Retry-After and details.scope set to bandwidth, job or ip. The bytes of one download count when the transfer runs, so a transfer that already started is never cut.