Validate text-to-speech
Changed onRequest
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
Headers
Request body
Read-only speech check. No callback, signing key, metadata, or idempotency.
Opaque beatra voice_id (preset or cloned)
Text to synthesize. It may contain speech markup such as {pause 0.5}, {laugh}, {pron 行 hang2} or {sub W3C 万维网联盟}; read the vocabulary and limits from the model card (beatra.models.list). Some models also accept inline emotion and performance markup, listed under script_markup on their card; other models skip it with a warning. Malformed markup is corrected or skipped with a markup_adjusted warning instead of failing the request. Each model has its own single-request limit (constraints.input_max_characters, and cjk_input_max_characters where present, on the model card); longer text is refused with a message that says how to split it.
Model to check against (default auto)
BCP-47 language hint
Audio format the create call would use
Sample rate in Hz for the chosen format
Speaking rate (0.5 to 2.0)
Volume (0 to 10)
Normalized pitch (-1.0 to 1.0)
Emotion preset for the whole request
Whether the create call would request subtitles
Optional natural-language performance direction for the whole request, for example '像在耳边说悄悄话一样,轻声地说' or 'read it like breaking news'. Models and voices that follow it list direction under controls on their model card (with direction_max_characters); anywhere else it is ignored with an option_ignored warning. Effects vary with the voice and the text and are not a guarantee of intensity.
Optional text that comes right before this clip, for example the previous line of a dialogue or the previous paragraph, so separate calls keep a continuous tone. It is never spoken and never billed; any length is accepted and only its end is used (previous_text_tail_characters on the model card). Models and voices that do not use it ignore it with an option_ignored warning.
Optional text that comes right after this clip, for example the next line of a dialogue or the next paragraph, so separate calls keep a continuous tone. It is never spoken and never billed; any length is accepted and only its start is used (next_text_head_characters on the model card). Models and voices that do not use it ignore it with an option_ignored warning.
Expert provider options, same as the create call
Response
Validation report
True when the request passes every preflight check
Non-blocking advisories: markup that was corrected or skipped (markup_adjusted), markup the model does not perform (markup_degraded), controls the model ignores (option_ignored), and voices scheduled for retirement (voice_retiring).
Weighted character count, the same quantity the create call bills on
Deterministic estimated audio duration in seconds factoring input, speed, and explicit pauses
Estimated credits for the create call
Capability limits declared by the resolved model
Changes
- info
added the new
doubao-seed-tts-3.0enum value to the request propertymodel
- info
- info
added the new optional request property
next_text - info
added the optional property
estimated_duration_secondsto the response with the status
- info