Create TTS task (async)
Async TTS submission.
Documentation Index
Fetch the complete documentation index at: https://docs.vmeg.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Send your API Key in the Authorization header (Bearer <api_key>). See Authentication.
Headers
Required on mutating POST requests that create tasks or change persisted data (max 64 characters). See Idempotency.
64Body
Clone engine version (V1–V5). See Supported clone methods.
V1, V2, V3, V4, V5 "V1"
Target language for synthesis
When true, trim leading and trailing silence from output audio
Output audio container: wav, mp3, or m4a
wav, mp3, m4a Optional client metadata on async submit; echoed in the completion webhook (extraData in callback body). Not used on sync create endpoints.
Callbacks
POSThttps://{yourWebhookUrl}taskCompleted
Body
Webhook callback request body for Text to speech when event is openapi-tts. data includes synthesis results and taskId. See Webhook request body and Create TTS (async) → Callbacks.
Product-specific results when event is openapi-tts. data includes synthesis results and taskId.
Business outcome for this delivery
200
API version of the task (e.g. v1, v2). Matches the version in the request path (/openapi/v1/...).
"v1"
Which product completed. Route your handler by this value: openapi-tts (TTS), openapi-translate (text translation), openapi-clone-voice (voice clone), openapi-media-translation (media translation). Listed in Webhook request body.
openapi-tts, openapi-translate, openapi-clone-voice, openapi-media-translation "openapi-tts"
Stable ID for this async completion. Deduplicate webhook handling by this value — see Webhook request body.
"a1b2c3d4e5f6789012345678901234ab"
Detail when code is not success
Echo of extraData from your async submit request
Response
Return 2xx promptly to stop retries
Response
Acceptance only (taskId, createdAt). Final results are in the Webhook callback request body.

