GET

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

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

Request body

12 properties · 0 required · 2 $defs
propertytypedescriptionconstraints
avatarstringName of the Avatar V-eligible avatar to use.nullable
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"
captionbooleanGenerate a sidecar SRT caption file alongside the video.default: false
watermarkAvatarVWatermarkWatermark configuration for Avatar V videos.nullable
audio_urlstringHTTP(S) URL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech and ``prompt``/``voice`` are ignored.nullable
backgroundAvatarVBackgroundBackground configuration for Avatar V videos.nullable
promptstringText the avatar will speak. Required when ``audio_url`` is not provided.nullable
voiceenumName of the text-to-speech voice to use for the avatar when ``audio_url`` is not provided.Warm Pro Narrator | Chill Brian | Ivy | John Doe | Monika Sogam | Hope · +96 more · default: "Warm Pro Narrator"
resolutionenumOutput resolution preset.720p | 1080p | 4k · default: "720p"
fitenumHow the avatar fits within the output frame. 'contain' keeps the full avatar in view (may letterbox); 'cover' fills the frame (may crop).contain | cover · default: "cover"
output_formatenumOutput container format. 'webm' produces a transparent video (automatically removes the background) and ignores the ``background`` field.mp4 | webm · default: "mp4"
remove_backgroundbooleanRemove the avatar's background. Requires a matting-enabled avatar.default: false

Validate a payload

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