infery
← All models

Heygen

heygen-avatar4-digital-twin

Video generationby Heygen

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

FieldTypeDescription
voicerequiredVoice configuration for the character
audio_urlURL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech.
characterrequiredCharacter configuration for the video
resolutionstringenum: 360p, 480p, 540p, 720p, 1080pVideo resolution preset. Options: 360p, 480p, 540p, 720p, 1080p
aspect_ratiostringenum: 16:9, 9:16, 4:5, 5:4, 1:1, autoAspect 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

FieldTypeDescription
videoThe generated video file