generate_video
Start rendering an AI presenter video from a script, avatar and voice. Returns a job id immediately; poll get_video_status until it completes. Rendering is metered and spends the user's video allowance — confirm the script first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | What the presenter says (1–5000 characters). | |
| captions | No | Burn in captions (default true). | |
| provider | No | Video provider (default heygen, currently the only one). | |
| voice_id | Yes | Voice id — from list_video_voices. | |
| avatar_id | Yes | Avatar id — from list_video_avatars. | |
| aspect_ratio | Yes | Video shape. |