Generate narration (voiceovers)
generate_voiceoversGives a demo spoken narration: for each step (guided) or screen (clickable) a short script read by an AI voice when it appears, with captions. Pass scripts to set them (saved to the draft first), writeMissing to draft scripts with AI where there are none (AI credits), and optionally voice (list_voices). Then every target whose clip is missing or out of date gets a new clip; unchanged ones are skipped and identical inputs reuse earlier clips for free. Uses the workspace’s monthly AI narration characters (Pro and Team, active subscriptions): it stops when they run out and reports what was done. The clips go live with publish_demo. Translations’ narration is generated in the editor.
Requires: demos:read, demos:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | No | The demo’s voice (saved as content.voice); default: its current voice. | |
| demoId | Yes | Demo id (from list_demos), e.g. "d_Ab12Cd34Ef56Gh78". | |
| scripts | No | Scripts to save by step / screen id: what the voice says (≤ ~25 words reads best). | |
| targets | No | Step ids (guided) or screen ids (clickable), or "step.<id>" / "screen.<id>". Default: every one with a script (with writeMissing: every one). | |
| regenerate | No | Make new takes even for clips that are current. | |
| writeMissing | No | Draft scripts with AI for targets without one (1 AI credit per 20). |