ReplicateText to videoComing soon

heygen/avatar-iv

heygen/avatar-iv is a text to video tool from Replicate that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
voice_id requiredtext—Unique identifier of the voice. Get available voice IDs from the HeyGen List All Voices API.
avatar_id requiredtext—Unique identifier of the avatar. Get available avatar IDs from the HeyGen List All Avatars API.
input_text requiredtext—Text that the avatar will speak. Must be less than 5000 characters.
titletextTitle of the video.
widthnumber (whole)
100 to 3840
1920Width of the output video in pixels.
heightnumber (whole)
100 to 2160
1080Height of the output video in pixels.
captiontrue or falsefalseWhether to enable captions in the video.
voice_speednumber
0.5 to 1.5
1Voice speed. Value ranges from 0.5 to 1.5.
avatar_styleJSONnormalVisual style of the avatar.
voice_emotionJSONnoneAdds emotion to voice, if supported by the selected voice. Set to 'none' for no emotion.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "heygen/avatar-iv",
    "input": {
      "voice_id": "<voice_id>",
      "avatar_id": "<avatar_id>",
      "input_text": "<input_text>"
    }
  }'