API references/Speech
Synthesize speech
speech.volc.synthesizeGenerate base64-encoded MP3 audio from up to 2,000 characters in one request.
Unit price$0.09 / 1,000 input characters
Try in the consoleRequest parameters
| Parameter | Type | Description |
|---|---|---|
speakerRequired | string | Voice ID Minimum length: 1Up to 200 characters |
textRequired | string | Text to read aloud Minimum length: 1Up to 2000 characters |
speech_rate | integer | Speech rate: -50 to 100 Range -50–100Default: 0 |
Response data
Business data is in execution.result.data. Executions also include status, final cost and an Anyuse request ID.
| Parameter | Type | Description |
|---|---|---|
audio_base64 | string | null | Complete audio encoded as base64, up to 2 MiB |
mime_type | string | null | live uses audio/mpeg; mock uses audio/wav |
usage | object | null | Provider-reported usage for reconciliation only; it does not change this quote |