POST
/v1/audio/speechSynthesize speech audio from text (TTS)
Credit metering
Authentication
Send your virtual key as Authorization: Bearer sk-nemo-…. One key works across every model and modality.
Request bodyapplication/json
| Field | Type | Required |
|---|---|---|
| model | string | required |
| input | string | required |
| voice | string | required |
| response_format | mp3 | wav | opus | optional |
Response200
Returns binary audio (audio/mpeg). The Try-it panel plays it inline.
Errors
| Status | Meaning |
|---|---|
| 400 | 400 — Guardrail blocked the request |
| 402 | 402 — Not enough credits |
| 429 | 429 — one of: rate_limit_exceeded (RPM limit exceeded); tpm_limit_exceeded (TPM limit exceeded) |
| 503 | 503 — Credit system unavailable |