Price an edit
edit_costThe exact price in credits of an edit of the given footage with a director, the price of a change to it afterwards, and the credits the account has. Free. Call it and tell the user the price before create_edit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"footage_ids": "<footage_ids>"
},
"name": "edit_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| director | No | Who writes the edit: auto (Auto: Our pick for most edits: careful cuts, captions and pacing); light (GPT 6 Luna: Quick and light, for simple cuts); fable (Claude Fable 5.2: The most capable director, for long footage and the hardest briefs; not on every plan). auto when omitted. The price depends on it. | |
| length_s | No | Length of the finished video in seconds, 3 to 180; the director picks what the footage and brief call for when omitted. A video made without clips runs up to 60 s; pass the length the user asks for; 10 s when omitted. | |
| photo_ids | No | Ids of images of the account (upload_image, or list_assets with kind image) that AI shots may start from; needs generated_shots | |
| shot_model | No | The video model of the AI shots (needs generated_shots), as the user picks it: grok-lite (Grok Imagine Lite: quick, stylised shots at the lowest price); kling-3 (Kling 3.0: natural motion, people and products); wan-2.6 (Wan 2.6: detailed scenes and places); kling-4 (Kling 4.0: the most lifelike motion of the kling models); seedance-fast (Seedance 2.0 Fast: cinematic camera moves; it refuses real faces); seedance-2.5 (Seedance 2.5: bytedance’s flagship, for the most detailed scenes; it refuses real faces); veo-3.1 (Veo 3.1: google’s cinematic model, in eight-second shots). grok-lite when omitted. Each has its own price a second (edit_cost shows them all); a model with fixed clip lengths is paid by the clip it makes. | |
| voice_over | No | An AI voice-over: the director writes lines said by a narrator over shots without speech. Priced per 1,000 characters on top of the edit (edit_cost gives the rate and the most it can add). Off when omitted. | |
| footage_ids | Yes | Ids of the account’s videos, from add_footage or list_footage; up to 150 clips and 30 minutes in all. At least one, except for a 1:1 Reference made from photos alone, or a video made from words alone: pass [] with generated_shots true, and the whole video (up to 60 s) is made of AI shots from the brief. | |
| reference_id | No | Edit like this video: the id of a video of the account (add_footage or list_footage), up to 3 minutes. As inspiration (the default) the edit copies its rhythm of cuts, caption style, on-screen texts and pace, not its content. It is read like footage, so its length is priced with the footage's. | |
| generated_music | No | An instrumental track made for the edit by a music model from the director’s description (instead of music_asset_id or a library track), lowered under speech. Priced on top of the edit (edit_cost). Off when omitted. | |
| generated_shots | No | AI shots: let the director add up to 6 shots of 3–10 s made by a video model where the footage lacks a picture (b-roll, a product or establishing shot, a scene the brief asks for that was not filmed, a photo brought to life), from the user’s photos (photo_ids) or from a prompt. Each second is paid for on top of the edit (edit_cost gives the rate and the most it can add); only the shots the director uses are charged, and a shot that fails is not. Off when omitted: turn it on when the brief asks for scenes, animation or motion the footage does not have. |