Public API v1
Submit a TTS generation job
Submits a text-to-speech job. Returns immediately with a jobId. Poll GET /v1/tts/{jobId} to check progress and retrieve the audio URL when complete. Tokens are deducted on submission, billed by the submitted character count (minimum 50, × the AI surcharge only when you opt in with aiRefine: true), and refunded if the job permanently fails.
post/api/v1/tts
Request body
Example request
{
"text": "Xin chào Việt Nam!",
"voiceId": "Trúc Ly",
"emotion": "natural",
"speed": 1,
"engine": "v3"
}Response
Job accepted and queued. Poll GET /api/v1/tts/{jobId}.
Example response
{
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"status": "queued",
"message": "Job queued. Poll GET /v1/tts/{jobId} for status and audio URL."
}Changes
No recorded changes to this endpoint across all 1 revision of this API.