Overview
Add HeyGen to any ModuleX agent or workflow. AI video generation platform for creating talking avatar videos via the HeyGen REST API (api.heygen.com).
Categories: AI & Machine Learning · AI · Video · Content Creation · Auth: API Key · Actions: 5
Authentication
API Key Authentication
Authenticate using your HeyGen API key1
Step 1
Go to https://app.heygen.com and sign in
2
Step 2
Navigate to Settings > API
3
Step 3
Copy your API key
4
Step 4
Paste the API key below
Required Credentials
Available Actions
create_talking_photo — Creates a talking photo video from a provided image, text, and voice
create_talking_photo — Creates a talking photo video from a provided image, text, and voice
Parameters
string
required
Identifier of the talking photo to use
string
required
The text that the character will speak
string
required
Identifier of the voice to use
string
Title of the video
boolean
Set to true to use test mode (no credits charged, watermark added)
boolean
Set to true to create video with captions
string
Talking photo scale, value between 0 and 2.0 (default 1.0)
string
Talking photo crop style: square, circle
string
Talking photo talking style: stable, expressive
string
Talking photo expression style: default, happy
boolean
Whether to enhance the photo image
boolean
Whether to apply matting to the photo
Response
create_video_from_template — Generates a video from a selected template with optional variable overrides
create_video_from_template — Generates a video from a selected template with optional variable overrides
Parameters
string
required
Identifier of the template to use
string
Title of the video
boolean
Set to true to use test mode (no credits charged, watermark added)
boolean
Set to true to create video with captions
object
Template variable overrides as a JSON object where keys are variable names and values are objects with variable properties
Response
list_custom_events_options — Retrieves available options for webhook custom events
list_custom_events_options — Retrieves available options for webhook custom events
Response
list_voice_id_options — Retrieves available voice options for video generation
list_voice_id_options — Retrieves available voice options for video generation
Response
Limits & Quotas
- Rate limits depend on your HeyGen plan tier (Starter, Business, Enterprise).
- Video generation consumes credits; use
test=trueto avoid credit charges during development. - No documented per-minute rate limit; excessive requests may trigger throttling.
- Error model: non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising.