返回模型列表
CosyVoice2-0.5B
alibabaalibaba/cosyvoice2-0.5b
Alibaba's multilingual TTS model with natural prosody and voice cloning support.
上下文长度
--
最大输出
--
请求价格
$8.58每次请求
模态能力
文本→音频
价格明细
| 类型 | 费率 |
|---|---|
| 请求 | $8.58 每次请求 |
request is price per 1M UTF-8 bytes
支持参数
inputvoiceresponse_formatspeedgainsample_rate
API 使用示例
cURL
curl https://api.therouter.ai/v1/audio/speech -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "alibaba/cosyvoice2-0.5b",
"input": "Welcome to TheRouter.",
"voice": "alloy"
}'