Text-to-speech
Request Body
application/jsonRequiredmetadataMetadataCaller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
callback_urlCallback UrlHTTPS URL Beatra will POST the final Task envelope to when the Task reaches a terminal state
callback_signing_key_idCallback Signing Key IdOptional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
model_optionsModel OptionsPer-model-family passthrough options; opaque to the platform, validated per model
voiceOpaque Beatra voice_id (preset or cloned)
inputText to synthesize
1Maximum length: 50000modelModelTTS model; 'auto' picks a model compatible with the voice
"auto"Value in: "auto" | "minimax-speech-2.8-hd" | "minimax-speech-2.8-turbo"languageLanguageOptional BCP-47 language tag, for example zh-CN, yue-HK, or en-US. Read supported_languages from the selected model's catalog card. When omitted, the voice or provider chooses the language.
formatFormat"mp3"Value in: "mp3" | "wav" | "flac" | "opus" | "pcm"sample_rateSample RatespeedSpeed1Minimum: 0.5Maximum: 2volumeVolume1Maximum: 10pitchPitch0Minimum: -12Maximum: 12emotionEmotionProvider-neutral discrete speaking emotion
Header Parameters
X-Request-IdstringOptional client request id echoed in the response.
Idempotency-Key1Maximum length: 128AuthorizationBearer API key.
Task accepted