Render an episode
render_episodeJoins the selected video of every scene, in order, into the episode MP4 (1080×1920 for 9:16, H.264/AAC): the clips' own dialogue and sound, the episode music underneath (ducked whenever someone speaks), subtitles burned in large for phones and also delivered as SRT/VTT, and a short fade out. Refuses when a scene has no selected video or a stale one, unless allowed. Costs 1 credit per episode. Follow it with wait_for_jobs, then list_renders for the links.
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": {
"episode_id": "<episode_id>"
},
"name": "render_episode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| music | No | Mix the episode's selected music under the clips (ducked under dialogue) | |
| subtitles | No | burn: drawn into the video (and also as SRT/VTT); file: SRT/VTT only; none | burn |
| episode_id | Yes | The episode id (ep_…), from get_drama_context or get_episode. | |
| resolution | No | Output height of the rendered episode. | 1080p |
| allow_stale | No | Use videos made before their scene changed instead of refusing | |
| music_volume | No | The music's level under the clips, 0–1; omitted: the episode's music_volume, else 0.4 | |
| allow_missing | No | Leave out scenes without a selected video instead of refusing | |
| idempotency_key | No | Any unique string; repeating a call with the same key returns the first result instead of charging again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||