Create Custom Agent Video
Changed onStarts a custom-agent run from a topic prompt and returns a video_id; poll GET /v3/custom-agents/videos/{video_id} for status and the MP4 URL. Pass screenshots and screen recordings as asset ids, and the presenter clip as a completed roll_video_id.
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/custom-agents/{agent_id}/videos
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Custom-agent id (e.g. chiron).
Headers
Optional client-supplied key for safely retrying mutations. Subsequent calls within 24 hours that share this key replay the original response — even if the request body differs slightly (a warning is logged). A retry that arrives while the original is still in flight gets a 409 request_in_progress. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default. Scope is per-endpoint and per-resource: the same key on a different route or path parameter is independent.
Request body
Response
Accepted — submission acknowledged; poll for completion.
Changes
- info
endpoint added
- info