heygen_avatar_generate_video
Generate a talking-photo avatar video by scraping a blog URL or providing a topic or script. Returns a video ID for status polling.
Instructions
Generates a talking-photo avatar video via HeyGen. Scrapes a blog URL or uses a topic/script to create a voiceover, then submits to HeyGen V2 API. Returns a video_id for status polling.
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": {
"source_type": "<source_type>",
"aspect_ratio": "<aspect_ratio>",
"avatar_name": "<avatar_name>",
"output_variable_name": "<output_variable_name>"
},
"name": "heygen_avatar_generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_type | Yes | How to generate the video script. | blog_url |
| blog_url | No | URL of blog post to scrape (required when source_type is blog_url). | |
| topic | No | Topic idea or full script text (required when source_type is topic_or_script). | |
| content_type | No | Video style when using blog URL source. | blog_summary |
| aspect_ratio | Yes | landscape | |
| avatar_name | Yes | sawyer | |
| expression | No | default | |
| circle_style | No | Apply circle mask to avatar. | |
| background_color | No | Hex color for video background (e.g. #FFFFFF). | #FFFFFF |
| output_variable_name | Yes | Variable name for result. Access fields with {{heygen_result.video_id}}, {{heygen_result.title}}, {{heygen_result.script}}. | heygen_result |