Index TTS 2.0
fal-ai/index-tts-2/text-to-speechEdit and transform audio with Index TTS 2.0 from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.
Pricing
$0.0026 per second.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 255 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
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 |
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!"
}
}'Frequently asked questions
How much does Index TTS 2.0 cost?
$0.0026 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Index TTS 2.0 through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/index-tts-2/text-to-speech"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Index TTS 2.0?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Index TTS 2.0?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.