Text-to-Speech (Bytes)
Generate audio from text and return the complete audio file in a single response — the body is the raw audio in the requested format. Use this when you want the whole clip at once; for incremental low-latency playback use /tts/sse or the WebSocket endpoint instead. The wav container is available on this endpoint only.
Authorizations
Pass your API key as a Bearer token: Authorization: Bearer sk_996_....
Body
The TTS model. Currently gepard-1.0.
gepard-1.0 The text to synthesize. Billed at 1 credit per character.
Output audio format. Each field is validated against a fixed set; anything outside these values returns 400 with no silent fallback.
Optional language code (e.g. en).
"en"
Response
The audio file in the requested format. A wav container is returned as Content-Type: audio/wav (the playground renders an audio player); a raw container is returned as application/octet-stream (raw PCM has no header and won't play in a browser).
The response is of type file.