heygen_create_avatar_video
Create an AI avatar video that speaks a custom script using a chosen voice. Returns a video ID for polling completion.
Instructions
Create an AI avatar video with HeyGen. The avatar speaks a script using a selected voice. Returns a video_id to poll for completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | HeyGen API key | |
| avatar_id | Yes | Avatar ID (use heygen_list_avatars to find available avatars) | |
| script | Yes | The text the avatar will speak | |
| voice_id | No | Voice ID (use heygen_list_voices to find available voices) | |
| background_url | No | URL of background image | |
| avatar_style | No | Avatar style: normal, circle, closeUp (default: normal) | |
| width | No | Video width in pixels (default: 1280) | |
| height | No | Video height in pixels (default: 720) | |
| title | No | Video title for reference | |
| test | No | Set true to generate a watermarked test video (does not use quota) |