chatterbox-turbo
Chatterbox Turbo. Tags such as [laugh] go in text.
Native waveform: 24 kHz mono. Live price and availability are on GET /v1/models/chatterbox-turbo.
- Tags go in text: [laugh], [chuckle], [cough], [gasp], [sniff], [sigh], [shush], [groan], [clear throat].
- exaggeration and cfg_weight are ignored by Turbo generate and are rejected here.
Parameters
| Field | Type | Description |
|---|---|---|
params.temperatureDefault 0.8 | number | Turbo only. 0.05 to 2. Default 0.8. Same on speech and clone. |
params.top_pDefault 0.95 | number | Turbo only. 0 to 1. Default 0.95. |
params.top_kDefault 1000 | integer | Turbo only. 0 to 1000. Default 1000. |
params.repetition_penaltyDefault 1.2 | number | Turbo only. 1 to 2. Default 1.2. |
params.seedDefault 0 | integer | 0 is a new take each run. Same on speech and clone. |
params.output_formatDefault wav (flac for stems) | string | wav, flac, mp3, or model (the model native file). |
params.output_sample_rateDefault source | string or integer | source keeps the upload (or the model rate when there is no upload). model uses the model native rate. Or pass 8000, 16000, 22050, 24000, 32000, 44100, or 48000. |
params.output_channelsDefault source | string | source, model, mono, or stereo. Applied after inference, not before. |
Example
curl https://api.pascalai.co/v1/text-to-speech \
-H "Authorization: Bearer $PASCAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "chatterbox-turbo",
"text": "Keep walking toward the river.",
"params": {
"output_format": "wav",
"output_sample_rate": "source",
"output_channels": "source"
}
}'
curl https://api.pascalai.co/v1/text-to-speech/$JOB_ID \
-H "Authorization: Bearer $PASCAL_API_KEY"