← All models
Heygen Avatar 4 Digital Twin Model
Example
Details
- Accepts
- text
Pricing
- Price
- 12.5 cr / second
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| voicerequired | — | Voice configuration for the character |
| audio_url | — | URL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech. |
| characterrequired | — | Character configuration for the video |
| resolution | stringenum: 360p, 480p, 540p, 720p, 1080p | Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p |
| aspect_ratio | stringenum: 16:9, 9:16, 4:5, 5:4, 1:1, auto | Aspect ratio of the output video. Supported values: '16:9', '9:16', '4:5', '5:4', '1:1', and 'auto'. 'auto' preserves the source aspect ratio when HeyGen can read it, falling back to '16:9' otherwise. |
Output
| Field | Type | Description |
|---|---|---|
| video | — | The generated video file |