返回模型列表
IndexTTS-2
indexteamindexteam/indextts-2
IndexTeam's neural TTS model with low latency and high quality.
上下文长度
--
最大输出
--
文本价格按 UTF-8 字节
$7.72每百万 UTF-8 字节
模态能力
文本→音频
能力
语音合成
媒体生成能力
tts
- output_formats
- mp3
- opus
- wav
- pcm
- voice_selection
- cloning
价格明细
| 类型 | 费率 |
|---|---|
| 文本 | $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"
}'