返回模型列表
IndexTTS-2
indexteamindexteam/indextts-2
IndexTeam's neural TTS model. Eight preset voices, plus voice cloning from a reference clip you supply.
上下文长度
--
最大输出
--
文本价格按 UTF-8 字节
$7.72每百万 UTF-8 字节
模态能力
文本→音频
能力
语音合成
媒体生成能力
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
价格明细
| 类型 | 费率 |
|---|---|
| 文本 | $7.72 每百万 UTF-8 字节 |
request is price per 1M UTF-8 bytes
支持参数
inputvoiceresponse_formatspeed
API 使用示例
所有新集成都应使用下方示例中的全球端点 api.therouter.ai;旧中国加速端点已下线。
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"
}'