Skip to main content
POST

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token: Authorization: Bearer sk_996_....

Body

application/json
model_id
enum<string>
required

The TTS model. Currently gepard-1.0.

Available options:
gepard-1.0
transcript
string
required

The text to synthesize, at most 2,000 characters (about 1.5–2 minutes of speech). Characters are Unicode code points of the string as sent (after JSON decoding, no normalization), including leading and trailing whitespace and newlines — the same count used for billing at 1 credit per character. In JavaScript, count with [...text].length, not text.length. Over the limit → input_too_long (400), returned before any work starts and not billed; split longer text across requests. The request body is also capped at 64 KB (payload_too_large, 413).

Maximum string length: 2000
voice
object
required

Selects the voice to synthesize. Required — there is no default voice; a request that doesn't resolve to a voice returns an error (it is no longer silently substituted). The only accepted form is the nested object { "mode": "id", "id": "<voice-uuid>" }; a top-level voice_id is not supported.

output_format
object
required

Output audio format. Each field is validated against a fixed set; anything outside these values returns 400 with no silent fallback.

language
string

Optional BCP-47 language tag (e.g. en-US). Accepted for compatibility but has no effect on synthesis.

Example:

"en-US"

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.