createTask
Submits a generation job and returns a task id immediately. It never returns the video — that comes from recordInfo or a callback, minutes later.
Request and response
POST https://kinovi.ai/api/v1/jobs/createTask
Authorization: Bearer $KINOVI_API_KEY
Content-Type: application/json
{
"model": "seedance2-5",
"inputs": {
"prompt": "Slow push-in on a ceramic mug on a windowsill, steam rising. Sound: rain on glass, no music.",
"duration": 5,
"outputResolution": "720p",
"aspectRatio": "16:9",
"generate_audio": true
},
"callBackUrl": "https://your.app/hooks/kinovi"
}
HTTP/1.1 200 OK
{ "taskId": "task_…" }A 200 OK means the task is queued and its credits are reserved. It does not mean the job has started. On any non-200 response no task exists, so there is nothing to poll — see errors.
Top-level body
| Field | Type | Notes |
|---|---|---|
model | string · required | A Kinovi model id, e.g. seedance2-5 or seedance2-5-flash. An unknown id returns 400 Unknown model. |
inputs | object · required | Model-specific inputs. Plural. inputs.prompt is required by every model. |
callBackUrl | string · optional | HTTPS URL that receives one POST when the task reaches success or fail. Not retried. |
autoFix | boolean · optional | Let Kinovi coerce out-of-range inputs to the nearest valid value instead of rejecting, where the model supports it. |
The single most common mistake is input (singular). The body schema rejects it with 400 Invalid request parameters.
Sources, read 2026-12-01: [Kinovi Docs — API Reference — kinovi.ai/docs/api]
inputs for seedance2-5 and seedance2-5-flash
Both generation ids take the same inputs. Flash only accepts 480p or 720p for outputResolution. Extend and edit ids take a narrower set, listed below the table.
| inputs. | Type | Notes |
|---|---|---|
prompt | string · required | What should happen, in any language. Max 30,000 characters. |
imageUrls | string[] | Up to 30 images (.jpg / .png / .webp), aspect 0.4–2.5, width 300–6000 px. With mode omitted, 1–2 images run as keyframe and 3+ as reference. |
videoUrls | string[] | Up to 10 reference videos (.mp4 / .mov / .webm), each 2–30 s at 24–60 FPS, 30 s combined. Switches the task to the reference-video rate. |
audioUrls | string[] | Up to 10 clips, 30 s combined. Must be sent with at least one image or video. |
mode | "keyframe" | "reference" | keyframe animates 1–2 images as opening / closing frames; reference uses images as subject or style. Any video or audio forces reference. |
duration | integer · default 5 | Clip length in seconds, 4–30. |
outputResolution | string · default 720p | 480p · 720p · 1080p. A direct "4k" is rejected with 400; use a draft upgrade. |
aspectRatio | string · default 16:9 | 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9. Keyframe tasks keep the image's own ratio. |
generate_audio | boolean · default true | Synced audio track. Set false for a silent clip. |
bitrate_mode | string | "high" for a higher-bitrate encode; omit for the standard bitrate. |
output_format | string · default mp4 | mp4 · mov. |
omni_reference_task_type | string | auto · reference · edit · extend. Pins how reference media is treated; reference keeps your aspectRatio and duration. |
seed | integer | 0–4294967295, or -1 for random. The same seed does not reproduce a clip; the seed used comes back as output[0].seed. |
draft | boolean · default false | With outputResolution 480p: render a preview that can be upgraded to 1080p or 4K within 7 days. |
Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5] · [Kinovi — Seedance 2.5 API — kinovi.ai/seedance-2-5-api]
How mode is chosen
| You send | Mode | Result |
|---|---|---|
| prompt only | — | Text to video: scene generated from scratch. |
| 1 image | keyframe | The image becomes the opening frame and is animated. |
| 2 images | keyframe | First image opens the clip, second closes it. |
| 1–30 images + mode: reference (3+ default to it) | reference | Images are subject / style references; the prompt describes the shot. |
| videoUrls (± images / audio) | reference | The clip's motion, framing and timing guide the output. Reference-video rate applies. |
| audioUrls + at least one image or video | reference | The soundtrack drives the clip. |
Set "mode": "reference" explicitly when you want one or two images used as subject references (for a recurring character, say) rather than as opening frames. Keyframe tasks keep the image's own aspect ratio, so their pixel size is close to, but not exactly on, the standard grid.
Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5]
Output sizes
| aspectRatio | 480p | 720p | 1080p |
|---|---|---|---|
| 16:9 | 854×480 | 1280×720 | 1920×1080 |
| 9:16 | 480×854 | 720×1280 | 1080×1920 |
| 1:1 | 640×640 | 960×960 | 1440×1440 |
| 4:3 | 752×560 | 1112×834 | 1664×1248 |
| 3:4 | 560×752 | 834×1112 | 1248×1664 |
| 21:9 | 992×432 | 1470×630 | 2206×946 |
Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5]
Extend and edit inputs
seedance2-5-extend/seedance2-5-flash-extend:prompt,videoUrls(required; the clip to continue, 2–30 s) andduration(required; 4–30 s of new footage). Optional images, audio, resolution, audio toggle, seed, draft. Output keeps the source's aspect ratio and starts on its last frame.seedance2-5-edit/seedance2-5-flash-edit:promptandvideoUrls(required; 4–30 s source). There is no duration — output has the source's length and aspect ratio. Optional reference images show the new subject, outfit or style.
Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 Video Extend — kinovi.ai/docs/models/seedance2-5-extend] · [Kinovi Docs — Seedance 2.5 Video Edit — kinovi.ai/docs/models/seedance2-5-edit]
Before you submit
- Validate duration (4–30) and resolution against the model id client-side; a 400 costs a round trip.
- Make sure every media URL is public. A URL only your machine can reach fails the task later with
asset_review_failed. - Store the taskId before anything else. If you lose it you can't check the job, and resubmitting is a second charge.
- Prefer
callBackUrlfor server apps, but keep polling as a fallback — see recordInfo.