POST /audio/speech

Live
Synthesize speech from text.
Open in ChatGPT
(opens in new tab)
Last verified: 2026-09-08

Endpoint

POST /audio/speech
Synthesize speech from text. The base URL is https://api.modelrush.ai/v1.

Request

model, input, voice; optional language_type, response_format and region according to the model schema. Send Authorization: Bearer $MODELRUSH_API_KEY for authenticated routes and Content-Type: application/json for JSON bodies.

Response

Audio body with Content-Type and generation, model and region headers. Preserve returned request or generation identifiers. Generated outputs and their Provider file references are removed from the ModelRush database 24 hours after request completion; download anything you need to keep.

Errors

Invalid inputs return a 4xx response with a structured error. A 403 with adult_attestation_required, portrait_rights_attestation_required, or person_rights_confirmation_required must be resolved by the account user and must never be retried automatically. Retry 429 according to Retry-After; retry 5xx failures only with a bounded backoff policy.