HedraAudio to videoAvailable now

hedra-character-3

hedra-character-3 is an audio to video tool from Hedra that runs in the background and returns video. Pay as you go from $0.0325 per second, with one API key.

Try itfrom $0.0325 / second

Pricing

resolution: 540p $0.0325, 720p $0.065, 1080p $0.08125 per second. Billed on duration_ms, or measured from the audio file, rounded up. The final charge comes from usage.

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
1

Input

FieldKindDefaultDescription
audio requiredJSON—Driving audio, a single speaker: `{"source": "url", "url": "https://…"}`, 0.5 s to 600 s and at most 104.8 MB. The video runs as long as the audio.
prompt requiredtextGenerate a realistic talking avatar video with lip syncGeneration prompt.
resolution requiredone of
540p, 720p, 1080p
720pOutput resolution.
start_image requiredJSON—Start frame (the face to animate): `{"source": "url", "url": "https://…"}`. At most 10.4 MB.
aspect_ratio requiredone of
1:1, 4:3, 3:4, 16:9, 9:16, 9:21, 21:9
9:16Output aspect ratio.
duration_msnumber (whole)
… to 600000
—Duration in ms. At most 600000.
bounding_box_targetJSON—Speaker position in the start frame, as normalized [x, y] image coordinates (0-1 from the top-left); selects who speaks in a frame with several people.

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": "hedra",
    "model": "hedra-character-3",
    "input": {
      "audio": {},
      "prompt": "Generate a realistic talking avatar video with lip sync",
      "resolution": "720p",
      "start_image": {},
      "aspect_ratio": "9:16"
    }
  }'