falText to speechComing soon

fal-ai/index-tts-2/text-to-speech

fal-ai/index-tts-2/text-to-speech is a text to speech 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
audio_url requiredURL or file—The audio file to generate the speech from.
prompt requiredtext—The speech prompt to generate
emotional_audio_urltext—The emotional reference audio file to extract the style from.
strengthnumber
0 to 1
1The strength of the emotional style transfer. Higher values result in stronger emotional influence.
emotional_strengthsJSON—The strengths of individual emotions for fine-grained control.
should_use_prompt_for_emotiontrue or falsefalseWhether to use the `prompt` to calculate emotional strengths, if enabled it will overwrite the `emotional_strengths` values. If `emotion_prompt` is provided, it will be used to instead of `prompt` to extract the emotional style.
emotion_prompttext—The emotional prompt to influence the emotional style. Must be used together with should_use_prompt_for_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": "fal",
    "model": "fal-ai/index-tts-2/text-to-speech",
    "input": {
      "audio_url": "https://storage.googleapis.com/falserverless/example_inputs/index-tts-2/tts_in.mp3",
      "prompt": "Hide! He'\''s coming! He'\''s coming to get us!"
    }
  }'