falText to audioComing soon

fal-ai/f5-tts

fal-ai/f5-tts is a text to audio tool from fal that runs in the background and returns audio. 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
audio
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
gen_text requiredtext—The text to be converted to speech. Maximum 5000 characters.
ref_audio_url requiredtext—The URL of the reference audio file.
ref_texttextThe reference text to be used for TTS. If not provided, an ASR (Automatic Speech Recognition) model will be used to generate the reference text.
model_type requiredone of
F5-TTS, E2-TTS
—The name of the model to be used for TTS.
remove_silencetrue or falsetrueWhether to remove the silence from the audio file.

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": "fal",
    "model": "fal-ai/f5-tts",
    "input": {
      "gen_text": "I don'\''t really care what you call me. I'\''ve been a silent spectator, watching species evolve, empires rise and fall. But always remember, I am mighty and…",
      "ref_audio_url": "https://storage.googleapis.com/falserverless/example_inputs/reference_audio.wav",
      "model_type": "F5-TTS"
    }
  }'