API reference · POST /jobs/createTask

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

FieldTypeNotes
modelstring · requiredA Kinovi model id, e.g. seedance2-5 or seedance2-5-flash. An unknown id returns 400 Unknown model.
inputsobject · requiredModel-specific inputs. Plural. inputs.prompt is required by every model.
callBackUrlstring · optionalHTTPS URL that receives one POST when the task reaches success or fail. Not retried.
autoFixboolean · optionalLet 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.TypeNotes
promptstring · requiredWhat should happen, in any language. Max 30,000 characters.
imageUrlsstring[]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.
videoUrlsstring[]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.
audioUrlsstring[]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.
durationinteger · default 5Clip length in seconds, 4–30.
outputResolutionstring · default 720p480p · 720p · 1080p. A direct "4k" is rejected with 400; use a draft upgrade.
aspectRatiostring · default 16:916:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9. Keyframe tasks keep the image's own ratio.
generate_audioboolean · default trueSynced audio track. Set false for a silent clip.
bitrate_modestring"high" for a higher-bitrate encode; omit for the standard bitrate.
output_formatstring · default mp4mp4 · mov.
omni_reference_task_typestringauto · reference · edit · extend. Pins how reference media is treated; reference keeps your aspectRatio and duration.
seedinteger0–4294967295, or -1 for random. The same seed does not reproduce a clip; the seed used comes back as output[0].seed.
draftboolean · default falseWith 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 sendModeResult
prompt only—Text to video: scene generated from scratch.
1 imagekeyframeThe image becomes the opening frame and is animated.
2 imageskeyframeFirst image opens the clip, second closes it.
1–30 images + mode: reference (3+ default to it)referenceImages are subject / style references; the prompt describes the shot.
videoUrls (± images / audio)referenceThe clip's motion, framing and timing guide the output. Reference-video rate applies.
audioUrls + at least one image or videoreferenceThe 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

aspectRatio480p720p1080p
16:9854×4801280×7201920×1080
9:16480×854720×12801080×1920
1:1640×640960×9601440×1440
4:3752×5601112×8341664×1248
3:4560×752834×11121248×1664
21:9992×4321470×6302206×946

Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5]

Extend and edit inputs

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

Submit your first task on Kinovi →