video
Heygen Create Avatar Video
Create an avatar video using HeyGen AV4 API (runs in background)
This endpoint:
- Downloads the provided image
- Uploads it to HeyGen as an asset
- Starts AV4 avatar video generation with the specified audio input
- Returns immediately with task_id and video_id (does not wait for completion)
Audio input options (exactly one required):
- script + voice_id: Text-to-speech with specified voice
- audio_url: External audio file URL
- audio_asset_id: HeyGen audio asset ID
Returns: dict with: - task_id: Internal task ID for tracking - video_id: HeyGen video ID for status checking - status: Current task status ("In Progress")
Note: Use the check endpoint to poll for completion and get video URLs.
post/api/v1/video/heygen-create-avatar-video
Request body
Response
Successful Response
{"stackTrail":"paths:/api/v1/video/heygen-create-avatar-video:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 3 revisions of this API.