Generate a scene video
generate_scene_videoThe clip of a scene, with its dialogue spoken by the video model (lip-synced, in the drama language) and on-set sound; music is added at render. References are picked for you: the selected keyframe, the cast's portraits, the location plate, props, and, on models that take them, each speaker's voice sample. Every source picture must exist first (each cast portrait, the location plate, each prop image, and the key visual unless key_visual is direct): otherwise MISSING_ASSETS lists them. The clip length is the scene duration fitted to the model. start_from: "auto" (keyframe as first frame unless voice samples are sent), "keyframe", or "references". Check the prompt first with get_scene. The most expensive step: Costs credits (see estimate_cost); the result arrives as a take: poll with get_jobs or wait_for_jobs.
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": {
"scene_id": "<scene_id>"
},
"name": "generate_scene_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | A model id from list_models; omitted = the drama's default for this kind | |
| notes | No | Extra direction for this generation only (not saved to the story) | |
| scene_id | Yes | The scene id (scn_…), from get_episode. | |
| resolution | No | One of the model's resolutions (list_models); default the drama's or the model's | |
| start_from | No | "auto" (default) uses the scene's key visual when it has one, else the references; "keyframe" or "references" forces one. | auto |
| idempotency_key | No | Any unique string you choose; resending the same key returns the first job instead of paying twice | |
| duration_seconds | No | Override the scene duration for this clip (6–15 s) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||