Back to Models

CosyVoice2-0.5B

alibabaalibaba/cosyvoice2-0.5b

Alibaba's multilingual TTS model with natural prosody and voice cloning support.

Context Length
--
Max Output
--
Request Price
$8.58/ request

Modalities

textaudio

Pricing Breakdown

TypeRate
Request$8.58 / request

request is price per 1M UTF-8 bytes

Supported Parameters

inputvoiceresponse_formatspeedgainsample_rate

API Usage Examples

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"
  }'