Generate a scene keyframe
generate_scene_frameA scene's key visual, from its action, camera, cast (their selected portraits), location plate and props. Cheap; approve it before the video. What it is follows the scene's key_visual: direct (the default: none, refused; the video goes straight from the references), frame (the opening frame; generate_scene_video starts from it, or uses it as a reference when voice samples are sent), storyboard / storyboard_3x3 (a comic page of 4–6 or 7–9 panels, each a camera setup; the video plays them in order as cuts). Every source picture must exist first (each cast portrait, the location plate, each prop image): otherwise MISSING_ASSETS lists them. 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_frame"
}
}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. | |
| idempotency_key | No | Any unique string you choose; resending the same key returns the first job instead of paying twice |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||