Back to Models
IndexTTS-2
indexteamindexteam/indextts-2
IndexTeam's neural TTS model. Eight preset voices, plus voice cloning from a reference clip you supply.
Context Length
--
Max Output
--
Text Priceper 1M UTF-8 bytes
$7.72/ 1M UTF-8 bytes
Modalities
textβaudio
Capabilities
TTS
Media Generation Capabilities
tts
- output_formats
- mp3
- voice_selection
- preset
- voices
- IndexTeam/IndexTTS-2:alex
- IndexTeam/IndexTTS-2:anna
- IndexTeam/IndexTTS-2:bella
- IndexTeam/IndexTTS-2:benjamin
- IndexTeam/IndexTTS-2:charles
- IndexTeam/IndexTTS-2:claire
- IndexTeam/IndexTTS-2:david
- IndexTeam/IndexTTS-2:diana
- reference_audio
- formats: mp3, wav
- max 30s
- 10s recommended
- transcript required
- supply via: file_id | data_uri
- named_voices
- reusable voices via POST /v1/audio/voices
- defaults
- voice
- IndexTeam/IndexTTS-2:alex
Pricing Breakdown
| Type | Rate |
|---|---|
| Text | $7.72 / 1M UTF-8 bytes |
request is price per 1M UTF-8 bytes
Supported Parameters
inputvoiceresponse_formatspeed
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
cURL
curl https://api.therouter.ai/v1/audio/speech -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "indexteam/indextts-2",
"input": "Welcome to TheRouter.",
"voice": "alloy"
}'