v1
latestOpenAPI 3.0.3Proprietary2026-07-268815.8 KBAudio
Create a speech
Generate speech audio from text. Returns an audio file, or a stream of raw PCM chunks when stream is true. The body may be JSON or multipart/form-data — the latter lets you upload ref_audio as a raw file instead of base64-encoding it.
post/v1/audio/speech
Request body
Example request
{
"input": "Hello, this is a test."
}Response
Generated audio. The content type depends on response_format.