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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
audio_url required | URL or file | — | The audio file to generate the speech from. |
prompt required | text | — | The speech prompt to generate |
emotional_audio_url | text | — | The emotional reference audio file to extract the style from. |
strength | number 0 to 1 | 1 | The strength of the emotional style transfer. Higher values result in stronger emotional influence. |
emotional_strengths | JSON | — | The strengths of individual emotions for fine-grained control. |
should_use_prompt_for_emotion | true or false | false | Whether 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_prompt | text | — | 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!"
}
}'