Video
Generate and edit video from prompts, frames and reference media. Track the run and download its results.
Use POST /v1/request to generate or edit video with a Platform API key. If you already use a provider SDK, keep its request format and set its base URL to the Platform. Each video format takes canonical Platform IDs for video models your workspace can call. Video formats
Find a model
List the models and prices available to your key with GET /v1/models?modality=video. Read GET /v1/models/{model} for the model's modes, input_schema, output shape and price tiers. Use the input schema for the mode you submit. Catalogue
Submit a video
This request makes a four-second Veo 3 Fast clip. Use a new idempotency key for each new clip and reuse the key if you retry the same body.
curl https://platform-api.invideo.io/v1/request \
-H "Authorization: Bearer $INVIDEO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: paper-boat-01" \
-d '{
"model": "veo-3-fast",
"mode": "generate",
"input": {
"prompt": "A paper boat floats down a rain-soaked street",
"duration": 4,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false
}
}'Set REQUEST_ID to the id from the response. If the model is unavailable to your key, choose an enabled model and use its mode and input options.
Choose inputs
| Input | What it does |
|---|---|
| Prompt | Describes the scene, motion or edit. Some models also take a negative prompt or a seed. |
| Start and end frames | The start image anchors the opening. Models with an end-frame input can also target a closing image. Veo 3 Fast takes image_url for a start frame. |
| Reference images or video | Guide the look, subject or motion. For example, Seedance 2.0's reference mode takes reference_image_urls and reference_video_urls. Edit models may instead take one source video. |
| Audio | Some models take a driving track or reference audio. Seedance 2.0's reference mode takes reference_audio_urls. Where available, generate_audio controls whether the model makes a soundtrack. |
| Duration, resolution and aspect ratio | Use the values allowed by the selected model. Veo 3 Fast accepts 4, 6 or 8 seconds, 720p or 1080p, and 16:9 or 9:16. A source-driven edit may determine these values from the input. |
Use a downloadable HTTPS URL or a base64 data URI where the model takes a file. Use an array of file strings where the schema says files. Check the schema for accepted containers, sizes, clip lengths and number of references. Files
Poll and download
Read GET /v1/request/{id} every 2 to 5 seconds while the request is queued or running. Provider formats that return a task use their own status or result route. Follow its status URL when one is returned. Use polling for completion because media webhooks are unavailable. Requests · Video formats
curl "https://platform-api.invideo.io/v1/request/${REQUEST_ID:?Set REQUEST_ID to the id from the submit response}" \
-H "Authorization: Bearer $INVIDEO_API_KEY"On succeeded, download the signed links in output.files[].url. Each file includes its content type and, when available, its width, height and duration in seconds. The links expire after one hour. Read the request again for fresh links. On failed, read error for the reason and whether you can retry.
Prices and limits
The Pricing page and each model page show the billed unit and the exact rate for each priced option.
For models priced by the second, your rate depends on the model and can vary with settings such as resolution or generated audio. Check the model details for the rate conditions. The model may bill the source duration for editing or the generated duration for a new clip. The Platform holds an estimate at submission and settles the exact charge when the run ends. The generic result shows the charge in cost_usd. Provider formats expose the settled customer cost in x-invideo-cost-usd and may also put it in the result body. Billing and balance · Video formats
The request body can be up to 64 MB. Downloadable input URLs allow up to 300 MB per video, 30 MB per image and 100 MB per audio file. Individual models can impose smaller limits. For a rate-limit response, wait the number of seconds in Retry-After. Files · Limits
Fix a field error
A provider format translates its fields into the selected model's inputs. If the model cannot use a translated field, the API returns a 422 that names it. For example, Kling's contents.last_frame fails for Veo 3 Fast, which takes only a start frame. Remove the field or select a model whose schema supports it. With POST /v1/request, read detail[].loc for the path to an invalid field. Errors