GET

/v1/schemas/fal/video/fal-ai%2Fheygen%2Favatar4%2Fdigital-twin

kind inputactivity videohash fc2b7d55extracted Jul 6, 2026version currentsource upstream spec ↗

Request body

5 properties · 2 required · 2 $defs
propertytypedescriptionconstraints
voice*TextVoiceVoice configuration for the character
character*CharacterCharacter configuration for the video
aspect_ratioenumAspect 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.16:9 | 9:16 | 4:5 | 5:4 | 1:1 | auto · default: "16:9"
resolutionenumVideo resolution preset. Options: 360p, 480p, 540p, 720p, 1080p360p | 480p | 540p | 720p | 1080p · default: "720p"
audio_urlstringURL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech.nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/heygen/avatar4/digital-twin","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}