Video workflows
On this page
The life of a video
Estimate
POST /v1/estimates: the minutes and the credits.
- Optional, and starts nothing
Create
POST /v1/videos answers 202 at once: accepted.
- Refused before anything starts: 402, 403, 404, 422 or 429
Made
queued, then generating.
- A live key holds the estimate as it starts
Ready
video.ready. With finish editor it stops here.
- With finish render it renders by itself
Completed
rendering, then completed: video.completed.
- Download: a link good for an hour
Statuses
| Status | What is happening | You can | Webhook |
|---|---|---|---|
accepted | Kinema has the request. A live video waits here while your plan's places are all in use (see how many at once); a test video scheduled with Generate later waits here until its time. | Cancel | |
scheduled | A live video scheduled with Generate later, waiting for its time. | Cancel | |
queued | Sent on to be made, and waiting in line. A live video's credits are held now. | Cancel | |
generating | Being made: narration, footage and pictures, graphics, captions and music. | Cancel, in its first 10 minutes | |
ready | Made, not rendered yet. With "finish": "editor" it stops here; with render it goes on to render by itself. | Open editor_url, render | video.ready |
rendering | The finished file is being rendered. | Cancel | |
completed | The file is ready to download. | Download, render again, delete | video.completed |
failed | The video stopped. Its error says why; a paused one has the code paused, with everything made so far saved. | Resume, cancel | video.failed |
cancelled | Stopped because you asked. | Delete | video.cancelled |
Your own calls move a video at once: a render sets rendering, a resume sets queued, and a cancel sets cancel_requested to true until the video has stopped. While it is made, progress.stage says what it is doing in the words the app shows, such as Waiting in line, Making or Rendering, and a read of one video adds the percent made and the minutes left. A video can be deleted in any status but one: once it has been in the making for more than 10 minutes, wait until it is ready (see Cancel).
Know when it is done
Your video is under way
It answered 202 with its id.
A webhook
Best in production.
- Add an endpoint in Settings, API
- Kinema sends video.ready, video.completed, video.failed or video.cancelled
- Get the video for the rest
Polling
Simplest to start with.
- GET /v1/videos/{video_id} every 30 seconds or so
- Stop at completed, failed or cancelled
- With finish editor, stop at ready
A test video changes status automatically, so you can try the whole flow with a sample download. See Webhooks to set one up.
Download the file
Once the video is completed, GET /v1/videos/{video_id}/download answers with a url to the latest render and its expires_at, an hour away. Fetch the file from that link without your key; when it expires, ask for a new one. Before the video is completed the answer is 409 not_complete. With a test key it is always the same sample file.
On a channel
A request names only what differs from its channel. Everything you leave out is the channel's preset, else the app's own default, the way Create video makes it in the app. This is a whole request: the maker, the voice, the Style, the footage, the music, the presenter and the length all come from channel 42, and the video renders by itself when it is made.
{
"channel_id": 42,
"idea": { "text": "How the Apollo 11 crew got home, hour by hour" }
}Read what a channel gives with GET /v1/channels: each channel lists its presets. Add a field only to change it for this one video, such as "finish": "editor" or another style. A test key has two sandbox channels: 1 for documentaries and 2 for AI Avatar videos.
Where a video starts
POST /v1/videos
Send exactly one of script, upload_id or idea.
A script
Your finished narration.
- Send script, and a voice unless the channel keeps one
- Kinema reads it aloud with that voice
- Its length: the spoken characters at the voice's pace
A recording
Your voiceover, or a video of yourself.
- Upload it, then send upload_id
- Its sound narrates the video
- Its length: the recording's own
An idea
A sentence or two.
- Send idea, and a voice unless the channel keeps one
- Kinema writes the script, at no extra charge
- Its length: length_minutes, else the channel's
From a script
Send a finished narration script, and a voice if the video has no channel that keeps one. Kinema reads the script aloud with that voice and builds the video around it, line by line. This one has no channel, so it names its maker and its Style, and stops in the editor so you can change it before it renders. The script below is shortened.
{
"title": "Apollo 11: Eight Days to the Moon",
"script": "On the morning of July 16, 1969, three men climbed into a capsule the size of a car. ...",
"voice": { "id": "test_voice" },
"maker": "cinematic",
"style": "history",
"finish": "editor"
}- The script is up to 100,000 characters and must read for at least 6 minutes: in English about 5,850 spoken characters depending on the voice. A shorter script is refused with
422, and the message says how many characters to add. With a live key it must also read for no more than 40 minutes. A script that repeats the same passage over and over is refused. - The voice is an
idfromGET /v1/voices; a library voice also needs itsowner_id. Leave it out to use the channel's. Senddelivery(standardorexpressive) orsettingsonly to change them for this video:stability,similarity_boostandstylefrom 0 to 1,use_speaker_boost, andspeedfrom 0.7 to 1.2. Left out, they are the channel's and the ones saved for the voice in your workspace. - The language is the one the video is narrated and captioned in. Send
languageto choose it. A script in another language is translated into it first, at no extra charge.
Production notes in the script
Notes like [B-ROLL: ...], (music swells), [PAUSE] or a speaker label such as NARRATOR: at the start of a line are followed, not read aloud, and only the spoken words count toward the length and the price. The answer lists what was found as script_cues. A script that opens like this:
[B-ROLL: launch pad at dawn]
On the morning of July 16, 1969, three men climbed into a capsule.
[PAUSE]
Four days later, two of them stood on the Moon.shows these two notes in script_cues. These are the fields you can use. word is how many spoken words come before the note.
[
{
"id": "c030aa9075d", "kind": "visual",
"text": "B-ROLL: launch pad at dawn",
"spoken": false, "word": 0, "seconds": null, "clip": null
},
{
"id": "ca58ca0b53a", "kind": "pause",
"text": "PAUSE",
"spoken": false, "word": 13, "seconds": 0.75, "clip": null
}
]To have every word read aloud, brackets included, send "script_cues": "off".
From an idea
No script yet? Send idea in place of script, with a voice unless the channel keeps one. Kinema writes the script, as Describe it does in the app, and makes the video from it. You do not see the script before the video is made.
{
"title": "Harbors at dawn",
"maker": "fast",
"idea": {
"text": "How deep-water harbors turned small ports into trading cities",
"length_minutes": 8,
"script_type": "explainer",
"reference_links": ["https://youtu.be/abcdefghijk"],
"notes": "Focus on the crews."
},
"voice": { "id": "test_de6f37b31c5048468294ce377f584a3f", "delivery": "standard" },
"sound_effects": false
}| Field | What it takes |
|---|---|
text | The idea: at least 40 characters and three words. With notes, up to 2,000 characters. |
length_minutes | How long the video should be, within the length limits. Left out: the channel's length, else 12 minutes. |
script_type | The kind of script, such as explainer, listicle or news_recap (the reference lists all fifteen). |
reference_links | Up to three video links whose type, structure and pace the script follows, never their words. A link that cannot be used is skipped, and the video goes on with the others. |
notes | Directions for the script, read with the idea. The old name script_notes is still read. |
Get the video to see which references were skipped and why:
{
"clip_sounds": [],
"reference_skips": [
{
"link_index": 1,
"reason": "That reference has too little narration to learn a style from."
}
],
"id": "1033ff44b0",
"title": "Harbors at dawn",
"status": "queued",
"mode": "live",
"kind": "documentary",
"channel_id": null,
"maker": "fast",
"style": { "id": "auto", "name": "Let Kinema choose" },
"finish": "render",
"made_in": "api",
"progress": { "percent": 0, "stage": "Waiting in line", "time_left_minutes": null, "queue_position": 1 },
"scheduled_at": null,
"cancellable_until": null,
"duration_seconds": null,
"cancel_requested": false,
"created_at": "2026-11-26T12:25:14.474Z",
"updated_at": "2026-11-26T12:25:31.102Z",
"credits": { "estimated": 112, "reserved": 112, "charged": 112 },
"error": null,
"app_url": "https://app.kinema.cc/videos/1033ff44b0",
"editor_url": null,
"script_cues": []
}An AI Avatar video cannot start from an idea.
From a recording
Send upload_id instead of script and voice. The upload must be ready; see Uploads for how to send one.
- A voiceover (an audio upload) narrates the video as it is.
- A video of yourself talking puts you on camera, and its sound narrates the video. It cannot be combined with an
avatar.on_camerasays about what percent of the finished video shows you:15for the opening, the main points and the close,25,50or75for mostly you. Left out: the channel's, else25. It does not change the price.
The video is as long as the recording, so with a live key the recording must run 6 to 40 minutes.
With an avatar on camera
A documentary puts a presenter on camera between the footage when its channel does, or when you add avatar with an id from GET /v1/avatars. on_camera is how often it is on screen, quarter (now and then) or half (often), and quality is standard or premium; left out, both are the channel's, else quarter and standard. Its minutes on screen are priced on their own: see what sets the price. use_cast and use_product bring in the cast and the product saved with the avatar; an avatar without them is refused when you ask for them. A live key can use only avatars from your own workspace.
An AI Avatar video
Send "kind": "ai_avatar", a script or a voiceover, a voice and an avatar. It is made as AI Avatar videos makes it in the app: the presenter is on camera about a quarter of the time unless avatar.on_camera says half, with AI pictures and clips alone around it, music on and the modern look, no graphics and no maker. Its price a minute, 9 credits at the listed prices, includes its Standard presenter.
{
"kind": "ai_avatar",
"script": "In the harbor, a brass bell marked the arrival of the morning ferry. ...",
"voice": { "id": "test_voice" },
"avatar": { "id": "test_avatar" }
}On an AI Avatar channel, the channel gives the presenter, the voice and the look, so the script is enough. With a test key, channel 2 is the sandbox AI Avatar channel:
{
"kind": "ai_avatar",
"channel_id": 2,
"script": "In the harbor, a brass bell marked the arrival of the morning ferry. ..."
}Change look (vintage, archive, digicam or modern), avatar.on_camera, music or captions when you need to. An AI Avatar video refuses maker, footage, clips, played_clips, maker_notes, an idea, a video upload, graphics true and a premium presenter, each with 422 and a message that names it.
With your own clips
A clip is exact footage that must be in the video at a set point, such as the news segment you react to or a sponsor's ad. Add the file to your library first (add to the library with "kind": "clip"), then list it in clips with a note on what it is.
- A cue such as
[CLIP 2]in the script places clip number 2 there.slotgives a clip its number, which is otherwise its place in the list; two clips cannot share one. - Up to 20 clips, each
noteup to 300 characters. - With a script or an idea a clip plays with its own sound, and under a video of yourself without it. Under your own voiceover,
with_sound(true unless you send false) chooses. - The video status response lists each separate audio clip in
clip_sounds, with its picture's shot ID, start, end, level and mute setting. - AI Avatar videos take no clips.
{
"title": "The morning ferry",
"script": "In the harbor, a brass bell marked the arrival of the morning ferry. ... [CLIP 2]\nInside it lay the harbor ledger. ...",
"voice": { "id": "test_de6f37b31c5048468294ce377f584a3f", "delivery": "expressive" },
"clips": [
{
"media_id": 75970697061708,
"note": "Show the harbor entrance.",
"slot": 2
}
],
"maker": "cinematic",
"maker_notes": "Keep the opening quiet.\nShow the ledger clearly.",
"source_credits": true,
"style": "c_7495218290a1"
}Footage, look and sound
Name only what differs from the channel. Without a channel these are the defaults, so a script and a voice are enough. The reference lists every field with its type, and the catalog returns these defaults.
| Field | Left out | What it does |
|---|---|---|
channel_id | No channel | The channel the video is made for, from GET /v1/channels. Its presets fill everything below that you leave out. |
kind | The channel's, else documentary | ai_avatar makes an AI Avatar video. |
maker | The channel's, else standard | Choose fast for ready-made graphics, standard for custom graphics, or cinematic for custom graphics and edits. A minute costs 14 credits with Fast, 20 credits with Standard and 30 credits with Cinematic at the listed prices. |
maker_notes | None | Directions for a cinematic video from a script or a recording, one per line, up to 2,000 characters. |
footage | The channel's, else {"way": "web", "ai": false} | way web: footage and pictures found anywhere online, edited like a normal YouTube video. safe (stock, Creative Commons and public domain only) is coming soon, and refused with 422 until then. ai true adds AI pictures and clips made new for the video. |
look | The channel's, else modern | How an AI Avatar video's AI pictures and clips look. |
music | The channel's, else true | Background music. |
sound_effects | The channel's, else true | Sound effects where a moment calls for one. |
graphics | The channel's, else true | Motion graphics. An AI Avatar video has none. |
captions | The channel's, else false | Captions. With them on, caption_style picks how they look: default (the Style's own), minimal, subtitle, karaoke, highlight or typewriter. |
style | The channel's, else auto | The Style, which sets how the graphics and captions look, by its id from GET /v1/styles: newsroom, history, history-gallery, history-illuminated, history-newsreel, true-crime, gaming-neon, gaming-blue-hype, gaming-pixel, gaming-oxblood, gaming-reliquary, gaming-schematic, gaming-matchpoint, gaming-waypoint, gaming-fineprint, business, science, military, celebrity, nature, nature-abyss, horror, horror-red-signal, margin, datum or meridian. Margin and Datum are minimalist Styles for any niche. The six classic looks are legacy-obsidian, legacy-dispatch, legacy-chronicle, legacy-monarch, legacy-vector or legacy-slate. A Style you copied from a video (copy a Style) is chosen by its id once it is ready. auto lets Kinema choose. |
played_clips | Off | Real clips found for the video play with their own sound. For standard and cinematic. |
source_credits | Off | Show attribution on eligible pictures. |
title | Empty | Up to 160 characters, shown in your workspace. |
finish | render | editor stops at ready so you can change it first. See Render or edit first. |
max_estimated_credits | None | Refuses the video before it starts if its estimate is higher. See Set a ceiling. |
Older field names are still read for one release, and a few removed ones are refused with a message that says what to send instead: see the reference.
Length
| Video | How long it is | Limits |
|---|---|---|
| From a script | Its spoken characters at the voice's pace | 6 to 40 minutes |
| From a recording | The recording's own length | 6 to 40 minutes |
| From an idea | The length_minutes you ask for, else the channel's | 6 to 40 minutes |
| AI Avatar video | As above | 6 to 40 minutes |
If your workspace has an agreement with a longer minimum, that minimum applies. A live request outside the limits is refused with 422 before anything starts; an estimate tells you the minutes and the limits first. A test key checks a script's minimum but never refuses a video for running long.
Render or edit first
By default a video renders as soon as it is made and ends at completed, ready to download. To look at it and change it first, send "finish": "editor" and hand on its editor link.
Create it for the editor
Add
"finish": "editor"to the body. The video stops atreadyand sendsvideo.ready.Change it in the editor
A live video's
editor_url, set once its timeline is ready, opens it in the editor for the people of your workspace. Change anything, as with any video, and render it there with Render.
editor_url opens the video in the editor, where everything can be changed before it is rendered. Or render it through the API
Ask for the render with a new
Idempotency-Key. The status moves torenderingat once, then tocompleted. (BASEandauthare as in the quickstart.)curl -X POST https://app.kinema.cc/v1/videos/3f9a1c07be/render \ -H "Authorization: Bearer $KINEMA_API_KEY" \ -H "Idempotency-Key: apollo-11-render-1"const video = await fetch(`${BASE}/videos/${id}/render`, { method: "POST", headers: { ...auth, "Idempotency-Key": "apollo-11-render-1" }, }).then((r) => r.json()); console.log(video.status); // renderingvideo = requests.post( f"{BASE}/videos/{id}/render", headers={**auth, "Idempotency-Key": "apollo-11-render-1"}, ).json() print(video["status"]) # rendering
A completed video can be changed and rendered again the same way. A render is refused with 409 invalid_state unless the video is ready or completed, and with operation_pending while another render or resume of it is still being sent on. A video made in the app is rendered in the app.
Note: What a render costs
The first render of a video is included in its price. Each later one costs the catalog's prices.rerender, 25 credits at the listed prices, returned if that render fails.
Cancel
Cancel a video made through the API that is accepted, scheduled, queued, generating, rendering or failed with POST /v1/videos/{video_id}/cancel and an Idempotency-Key. cancel_requested turns true at once, and the status becomes cancelled once it has stopped. A ready video has nothing running: delete it instead.
Warning: A video in the making can be cancelled for 10 minutes
Once a live video has been in the making for more than 10 minutes, cancelling or deleting it is refused with 409 invalid_state. It finishes, and you can delete it once it is ready. Its cancellable_until says when the 10 minutes end. A video that is still waiting in line, scheduled or waiting for approval can be cancelled at any time.
Tip: Credits come back before ready
A video that never reached ready gets its held credits back when it is cancelled, a failed one included. Once a video has been made, cancelling its render keeps the charge. A video scheduled with Generate later gets all its credits back if you cancel it before its time.
Generate later
On weekdays, at some hours, an estimate offers Generate later: the same video at a lower price, made at a set time instead of at once. To take it, send the estimate's offer_id as generate_later with the same body. The video holds the lower price at once and waits for its time as scheduled, with its scheduled_at. An offer that has changed by then is refused with 409; ask for a new estimate.
Approve a team video
In a team workspace, a video an editor starts in the app can wait for an owner or a manager. A live key made by one of them can start it with POST /v1/videos/{video_id}/approve and an Idempotency-Key, using the workspace's credits, as Approve does in the app. It answers {"ok": true}; a video that is not waiting is refused with 409. A team's test key can try it on the id test_editor_video.
Delete a video
DELETE /v1/videos/{video_id} with an Idempotency-Key deletes a video for everyone in the workspace, as deleting it in the app does: a video still being made stops, and the credits held for a video that never finished go back. With a live key it also deletes a video made in the app, by its id. It answers {"ok": true}; the video leaves the list and its usage stays in your history. Past 10 minutes of making it is refused with 409 invalid_state until the video is ready. While another call on the video is running it is refused with 409 operation_pending: send it again with the same key.
Warning: Deleting a finished video returns nothing
Once a video has been made, deleting it gives no credits back, and it cannot be undone.
Renders
GET /v1/videos/{video_id}/renders lists the renders a video keeps, each with its id, when it was created (Unix seconds) and its size in bytes. DELETE /v1/videos/{video_id}/renders/{render_id} with an Idempotency-Key deletes one. The video and its edits stay, so you can render again. /download always gives the latest render.
Resume
A failed video made through the API, a paused one included, picks up where it stopped with POST /v1/videos/{video_id}/resume and an Idempotency-Key; its status moves back to queued at once. Resuming costs nothing more, because the video keeps the credits it already held. The one exception is a video that stopped before anything was made: its credits came back, and resuming holds them again. Read its error first: if the cause was on your side, such as a revoked key or a workspace without a plan, fix that before you resume. See when a video fails.
How many at once
Two limits apply. A workspace can have up to 20 API videos active (accepted, queued, generating or rendering) in each mode; one more is refused with 429 and queue_full. Of those, a live key's videos are made as many at a time as your plan allows, and the rest wait in accepted and start on their own:
| Plan | Videos made at once |
|---|---|
| Starter | 1 |
| Creator | 2 |
| Pro | 3 |
| Scale | 5 |
These places are shared with videos started in the app.
Find your videos
GET /v1/videos lists every video of the workspace in this mode, made in the app or through the API, newest first, 20 to a page (up to 100 with limit), with the app's own access rights. made_in says where each one started. Pass next_cursor back as cursor for the next page; it is null on the last one. A test key lists its own sandbox videos.
let cursor = "";
do {
const page = await fetch(`${BASE}/videos?limit=100&cursor=${cursor}`, { headers: auth }).then((r) => r.json());
for (const v of page.data) console.log(v.id, v.made_in, v.status, v.progress.stage);
cursor = page.next_cursor;
} while (cursor);cursor = ""
while True:
page = requests.get(f"{BASE}/videos", headers=auth, params={"limit": 100, "cursor": cursor}).json()
for v in page["data"]:
print(v["id"], v["made_in"], v["status"], v["progress"]["stage"])
cursor = page["next_cursor"]
if not cursor:
breakWhat stays in the app
The API makes a video the way Create video and AI Avatar videos make it, from the same channel presets. These stay in the app: making a channel and changing its presets (the API reads them), reading a script Kinema wrote from an idea before the video is made, changing a video in the editor, and Iris. A video made in the app is listed, read and downloaded through the API, and a live key can approve or delete it and list its renders; it is rendered, resumed or cancelled in the app.
Need a hand?
Ask on Discord, or write to hello@kinema.cc.