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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
voice_id required | text | — | Unique identifier of the voice. Get available voice IDs from the HeyGen List All Voices API. |
avatar_id required | text | — | Unique identifier of the avatar. Get available avatar IDs from the HeyGen List All Avatars API. |
input_text required | text | — | Text that the avatar will speak. Must be less than 5000 characters. |
title | text | Title of the video. | |
width | number (whole) 100 to 3840 | 1920 | Width of the output video in pixels. |
height | number (whole) 100 to 2160 | 1080 | Height of the output video in pixels. |
caption | true or false | false | Whether to enable captions in the video. |
voice_speed | number 0.5 to 1.5 | 1 | Voice speed. Value ranges from 0.5 to 1.5. |
avatar_style | JSON | normal | Visual style of the avatar. |
voice_emotion | JSON | none | Adds 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>"
}
}'