Submit a long or batch TTS job. The HTTP response only confirms acceptance (taskId). Finished audio arrives in your Webhook callback (event: openapi-tts).
When true, trim leading and trailing silence from output audio
outputFormat
enum<string>
default:m4a
Output audio container: wav, mp3, or m4a
Available options:
wav,
mp3,
m4a
extraData
object
Optional client metadata on async submit; echoed in the completion webhook (extraData in callback body). Not used on sync create endpoints.
Callbacks
POST
https://{yourWebhookUrl}taskCompleted
Body
application/json
Webhook callback request body for Text to speech when event is openapi-tts. data includes synthesis results and taskId. See Webhook request body and Synthesize speech (async) → Callbacks.
data
object
required
Product-specific results when event is openapi-tts. data includes synthesis results and taskId.
Show child attributes
code
integer
Business outcome for this delivery
Example:
200
version
string
API version of the task (e.g. v1, v2). Matches the version in the request path (/openapi/v1/...).
Example:
"v1"
event
enum<string>
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.
Available options:
openapi-tts,
openapi-translate,
openapi-clone-voice,
openapi-media-translation
Example:
"openapi-tts"
pipelineKey
string
Stable ID for this async completion. Deduplicate webhook handling by this value — see Webhook request body.
Example:
"a1b2c3d4e5f6789012345678901234ab"
message
string
Detail when code is not success
extraData
object
Echo of extraData from your async submit request
Response
200
Return 2xx promptly to stop retries
Response
200 - application/json
Acceptance only (taskId, createdAt). Final results are in the Webhook callback request body.
code
integer
required
Business code; 200 means success
Example:
200
message
string
Human-readable detail when code is not success
Example:
""
data
object
Immediate response for async task submission (no task results)
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"VMEG Open API","colors":{"primary":"#7B4DFF","light":"#9B7AFF","dark":"#6239CC"},"logo":{"light":"https://mintcdn.com/vmeg/U2wNSwGchYeILU0c/logo/light.png?fit=max\u0026auto=format\u0026n=U2wNSwGchYeILU0c\u0026q=85\u0026s=bfdcef2e7f25aa4a8e118c42580b7902","dark":"https://mintcdn.com/vmeg/U2wNSwGchYeILU0c/logo/dark.png?fit=max\u0026auto=format\u0026n=U2wNSwGchYeILU0c\u0026q=85\u0026s=0f43d5c5d3f186325dfd7d05b4e21c19","href":"/guides/introduction"},"favicon":"https://mintcdn.com/vmeg/U2wNSwGchYeILU0c/favicon.ico?fit=max\u0026auto=format\u0026n=U2wNSwGchYeILU0c\u0026q=85\u0026s=31a6d6cd38d4e073d1d888a532d144fa","api":{"playground":{"display":"interactive"},"mdx":{"server":"https://api.vmeg.ai"}},"navbar":{"links":[{"href":"https://www.vmeg.ai/home","label":"VMEG"},{"href":"https://www.vmeg.ai/help-center/","label":"Help center"}],"primary":{"type":"button","label":"Get API Key","href":"https://www.vmeg.ai/signIn?redirect=%2Fopen-api-setting"}},"seo":{"metatags":{"canonical":"https://docs.vmeg.ai"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"guides/introduction"},{"language":"zh","navbar":{"links":[{"href":"https://www.vmeg.ai/home","label":"VMEG 网站"},{"href":"https://www.vmeg.ai/help-center/","label":"帮助中心"}],"primary":{"type":"button","label":"获取 API Key","href":"https://www.vmeg.ai/signIn?redirect=%2Fopen-api-setting"}},"href":"zh/guides/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vmeg","hasAudioNarration":false,"actualSubdomain":"vmeg","customDomains":["docs.vmeg.ai"],"gitSource":{"type":"github","owner":"xihangzhou","repo":"mintlify-docs","deployBranch":"master","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afbd1b74735f8969106f1e3","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"en","tag":"Endpoints","count":43},{"language":"zh","tag":"接口","count":43},{"language":"en","tag":"Guides","count":26},{"language":"zh","tag":"指南","count":26},{"language":"en","tag":"Standalone API","count":23},{"language":"zh","tag":"独立版 API","count":23},{"language":"en","tag":"App-Synced API","count":22},{"language":"zh","tag":"应用同源版 API","count":22},{"language":"en","tag":"Upload files (materials)","count":16},{"language":"zh","tag":"上传文件(素材)","count":16},{"language":"en","tag":"MCP","count":10},{"language":"zh","tag":"MCP","count":10},{"language":"en","tag":"Voices (presets and clones)","count":8},{"language":"zh","tag":"音色(预设与克隆)","count":8},{"language":"en","tag":"Get started","count":6},{"language":"en","tag":"Task status and history","count":6},{"language":"zh","tag":"快速开始","count":6},{"language":"zh","tag":"任务状态与历史","count":6},{"language":"en","tag":"Products","count":5},{"language":"zh","tag":"产品","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/tts/synthesize-speech-async","slug":"/api-reference/tts/synthesize-speech-async","pageMetadata":{"title":"Synthesize speech (async)","description":"Submit a long or batch TTS job. The HTTP response only confirms acceptance (`taskId`). Finished audio arrives in your [Webhook](/guides/webhooks) callback (`event`: `openapi-tts`).","deprecated":null,"version":null,"sidebarTitle":"Synthesize speech (async)","openapi":"/api-reference/openapi.json post /openapi/v1/task/tts/create-async","href":"/api-reference/tts/synthesize-speech-async","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Submit a long or batch TTS job. The HTTP response only confirms acceptance (\", _jsx(_components.code, {\n children: \"taskId\"\n }), \"). Finished audio arrives in your \", _jsx(_components.a, {\n href: \"/guides/webhooks\",\n children: \"Webhook\"\n }), \" callback (\", _jsx(_components.code, {\n children: \"event\"\n }), \": \", _jsx(_components.code, {\n children: \"openapi-tts\"\n }), \").\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Synthesize speech (async)","description":"Submit a long or batch TTS job. The HTTP response only confirms acceptance (`taskId`). Finished audio arrives in your [Webhook](/guides/webhooks) callback (`event`: `openapi-tts`).","deprecated":null,"version":null,"sidebarTitle":"Synthesize speech (async)","openapi":"/api-reference/openapi.json post /openapi/v1/task/tts/create-async","href":"/api-reference/tts/synthesize-speech-async","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["TTS"],"summary":"Synthesize speech (async)","description":"Submit a long or batch TTS job. The HTTP response only confirms acceptance (`taskId`). Finished audio arrives in your [Webhook](/guides/webhooks) callback (`event`: `openapi-tts`).","operationId":"ttsCreateAsync","parameters":["081763b3-ce4c-4b12-a114-aa08665a17a3"],"requestBody":"78f02582-9374-4a4f-9f9e-47fb6cd42f3e","responses":{"200":"fe6e8a4c-d815-4744-ab68-ce64793d1408"},"callbacks":{"taskCompleted":"ab949004-f0c1-47c3-a5e8-222ab289bc4f"},"x-mint":{"href":"/api-reference/tts/synthesize-speech-async","metadata":{"sidebarTitle":"Synthesize speech (async)","title":"Synthesize speech (async)"}},"method":"post","type":"path","servers":["36fd6a82-e255-4588-926f-e500bc9d18a8"],"security":["a3a7738d-01ab-4adb-be0d-c170e2e6032f"],"path":"/openapi/v1/task/tts/create-async","baseUrlOptions":["https://api.vmeg.ai"],"title":"Synthesize speech (async)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"081763b3-ce4c-4b12-a114-aa08665a17a3":{"name":"X-Idempotency-Key","in":"header","required":true,"description":"Required on mutating `POST` requests that create tasks or change persisted data (max 64 characters). See [Idempotency](/guides/idempotency).","schema":{"type":"string","maxLength":64,"isRequired":true,"description":"Required on mutating `POST` requests that create tasks or change persisted data (max 64 characters). See [Idempotency](/guides/idempotency).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","maxItems":50,"items":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to synthesize","isRequired":true,"uniqueKey":"data.items.[INDEX].text","typeLabel":"string"},"voiceId":{"type":"string","description":"System or cloned voice ID for this line. See [Voices](/guides/assets/voices); or use `timbreRefAudio` instead","uniqueKey":"data.items.[INDEX].voiceId","typeLabel":"string"},"timbreRefAudio":{"type":"string","description":"HTTPS reference audio when not using a [Voices](/guides/assets/voices) `voiceId`","uniqueKey":"data.items.[INDEX].timbreRefAudio","typeLabel":"string"},"emoWeight":{"type":"number","minimum":0,"maximum":1,"description":"Emotion strength from `emoRefAudio` / `emoPrompt` (0–1)","uniqueKey":"data.items.[INDEX].emoWeight","typeLabel":"number"},"emoRefAudio":{"type":"string","description":"HTTPS URL of reference audio for emotion or delivery style","uniqueKey":"data.items.[INDEX].emoRefAudio","typeLabel":"string"},"emoPrompt":{"type":"string","description":"Text hint for desired emotion or speaking style","uniqueKey":"data.items.[INDEX].emoPrompt","typeLabel":"string"},"duration":{"type":"number","description":"Target duration in seconds","uniqueKey":"data.items.[INDEX].duration","typeLabel":"number"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"description":"Lines to synthesize (max 50). Each item needs `text` and a [Voices](/guides/assets/voices) `voiceId` or `timbreRefAudio`","isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"provider":{"type":"string","deprecated":true,"description":"Deprecated — do not send. Pass `voiceId` on each line instead. See [Text to speech](/guides/products/text-to-speech) and [Supported clone methods](/guides/supported-clone-methods#text-to-speech-voiceid-and-batch-rules).","uniqueKey":"provider","typeLabel":"string"},"language":{"type":"object","properties":{"target":{"type":"string","example":"en-US","description":"Target locale (BCP-47). See [Supported languages](/guides/supported-languages).","uniqueKey":"language.target","typeLabel":"string"}},"description":"Target language for synthesis","uniqueKey":"language","typeLabel":"object"},"trim":{"type":"boolean","default":false,"description":"When `true`, trim leading and trailing silence from output audio","uniqueKey":"trim","typeLabel":"boolean"},"outputFormat":{"type":"string","enum":["wav","mp3","m4a"],"default":"m4a","description":"Output audio container: `wav`, `mp3`, or `m4a`","uniqueKey":"outputFormat","typeLabel":"enum\u003cstring>"},"extraData":{"type":"object","additionalProperties":true,"description":"Optional client metadata on async submit; echoed in the completion webhook (`extraData` in callback body). Not used on sync create endpoints.","uniqueKey":"extraData","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"text":"\u003cstring>","voiceId":"\u003cstring>","timbreRefAudio":"\u003cstring>","emoWeight":0.5,"emoRefAudio":"\u003cstring>","emoPrompt":"\u003cstring>","duration":123}],"provider":"\u003cstring>","language":{"target":"en-US"},"trim":false,"outputFormat":"m4a","extraData":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"fe6e8a4c-d815-4744-ab68-ce64793d1408":{"description":"Acceptance only (`taskId`, `createdAt`). Final results are in the [Webhook](/guides/webhooks) callback request body.","content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"integer","example":200,"description":"Business code; 200 means success","isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","example":"","description":"Human-readable detail when `code` is not success","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"Immediate response for async task submission (no task results)","required":["taskId"],"properties":{"taskId":{"type":"string","description":"Open API task ID; use for polling or correlation","isRequired":true,"uniqueKey":"data.taskId","typeLabel":"string"},"createdAt":{"type":"string","description":"Returned by TTS and text translation async create","uniqueKey":"data.createdAt","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":200,"message":"","data":{"taskId":"\u003cstring>","createdAt":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"callbacks":[{"callbackName":"taskCompleted","expression":"https://{yourWebhookUrl}","method":"post","resolved":{"operation":{"summary":"Webhook when async task finishes (`event`: `openapi-tts`)","description":"HTTP **request body** VMEG POSTs to your [Webhook](/guides/webhooks) URL when a Text to speech async task finishes. The JSON field `event` is `openapi-tts` (see [Webhook request body](/guides/webhook-request)). Not part of the create-async **Response** above. Full schema: [Synthesize speech (async)](/api-reference/tts/synthesize-speech-async) → **Callbacks**.","parameters":["59700941-565a-4c26-994a-2e3ba4326199","6a1c8073-eb88-4212-9c7a-589e8f643e3a"],"requestBody":"10dfdaf8-d7cd-4e72-89a4-6b80b094b4ab","responses":{"200":"ae4a74ab-bf26-46e6-8722-308c779a2102"},"method":"post","type":"path"},"dependencies":{"parameters":{"59700941-565a-4c26-994a-2e3ba4326199":{"name":"X-Timestamp","in":"header","required":true,"description":"Unix timestamp in milliseconds (string)","schema":{"type":"string","isRequired":true,"description":"Unix timestamp in milliseconds (string)","uniqueKey":"","typeLabel":"string"}},"6a1c8073-eb88-4212-9c7a-589e8f643e3a":{"name":"X-Signature","in":"header","required":true,"description":"Lowercase hex HMAC-SHA256(secret, X-Timestamp + rawBody)","schema":{"type":"string","isRequired":true,"description":"Lowercase hex HMAC-SHA256(secret, X-Timestamp + rawBody)","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Webhook callback **request body** for Text to speech when `event` is `openapi-tts`. `data` includes synthesis `results` and `taskId`. See [Webhook request body](/guides/webhook-request) and [Synthesize speech (async)](/api-reference/tts/synthesize-speech-async) → **Callbacks**.","required":["data"],"properties":{"data":{"type":"object","description":"Product-specific results when `event` is `openapi-tts`. `data` includes synthesis `results` and `taskId`.","properties":{"taskId":{"type":"string","description":"Open API task ID","uniqueKey":"data.taskId","typeLabel":"string"},"results":{"type":"array","items":{"type":"object","properties":{"uri":{"type":"string","description":"Synthesized audio URL (HTTPS)","uniqueKey":"data.results.items.[INDEX].uri","typeLabel":"string"},"duration":{"type":"number","description":"Duration in seconds","uniqueKey":"data.results.items.[INDEX].duration","typeLabel":"number"},"errorMessage":{"type":"string","description":"Failure reason when synthesis failed for this item","uniqueKey":"data.results.items.[INDEX].errorMessage","typeLabel":"string"}},"uniqueKey":"data.results.items.[INDEX]","typeLabel":"object"},"description":"Synthesis result items","uniqueKey":"data.results","typeLabel":"object[]"},"createdAt":{"type":"string","description":"Task creation time (ISO 8601)","uniqueKey":"data.createdAt","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"code":{"type":"integer","example":200,"description":"Business outcome for this delivery","uniqueKey":"code","typeLabel":"integer"},"version":{"type":"string","example":"v1","description":"API version of the task (e.g. `v1`, `v2`). Matches the version in the request path (`/openapi/v1/...`).","uniqueKey":"version","typeLabel":"string"},"event":{"type":"string","enum":["openapi-tts","openapi-translate","openapi-clone-voice","openapi-media-translation"],"example":"openapi-tts","description":"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](/guides/webhook-request).","uniqueKey":"event","typeLabel":"enum\u003cstring>"},"pipelineKey":{"type":"string","example":"a1b2c3d4e5f6789012345678901234ab","description":"Stable ID for this async completion. Deduplicate webhook handling by this value — see [Webhook request body](/guides/webhook-request#deduplicate-by-pipelinekey).","uniqueKey":"pipelineKey","typeLabel":"string"},"message":{"type":"string","description":"Detail when `code` is not success","uniqueKey":"message","typeLabel":"string"},"extraData":{"type":"object","additionalProperties":true,"description":"Echo of `extraData` from your async submit request","uniqueKey":"extraData","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"taskId":"\u003cstring>","results":[{"uri":"\u003cstring>","duration":123,"errorMessage":"\u003cstring>"}],"createdAt":"\u003cstring>"},"code":200,"version":"v1","event":"openapi-tts","pipelineKey":"a1b2c3d4e5f6789012345678901234ab","message":"\u003cstring>","extraData":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ae4a74ab-bf26-46e6-8722-308c779a2102":{"description":"Return 2xx promptly to stop retries","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{}}}}],"security":{"a3a7738d-01ab-4adb-be0d-c170e2e6032f":{"apiKeyAuth":{"type":"http","scheme":"bearer","description":"Send your API Key in the **`Authorization`** header (`Bearer \u003capi_key>`). See [Authentication](/guides/authentication).","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"36fd6a82-e255-4588-926f-e500bc9d18a8":{"url":"https://api.vmeg.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Send your API Key in the **`Authorization`** header (`Bearer \u003capi_key>`). See [Authentication](/guides/authentication).","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your API Key in the **`Authorization`** header (`Bearer \u003capi_key>`). See [Authentication](/guides/authentication).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKeyAuth","name":"Authorization"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"vmeg","siteName":"VMEG Open API","title":"Synthesize speech (async) - VMEG Open API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/tts/synthesize-speech-async","matchLevel":0},"zh":{"href":"/zh/api-reference/tts/synthesize-speech-async","matchLevel":1}}},"lastModified":"2026-11-16T03:48:16.437Z","originalFileLocation":"api-reference/tts/synthesize-speech-async.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Submit a long or batch TTS job. The HTTP response only confirms acceptance (taskId). Finished audio arrives in your Webhook callback (event: openapi-tts).\">\u003cmeta data-mint-head name=\"application-name\" content=\"VMEG Open API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Synthesize speech (async) - VMEG Open API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit a long or batch TTS job. The HTTP response only confirms acceptance (taskId). Finished audio arrives in your Webhook callback (event: openapi-tts).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VMEG Open API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vmeg.mintlify.site/_mintlify/api/og/v2?division=Text+to+speech+%28TTS%29\u0026amp;title=Synthesize+speech+%28async%29\u0026amp;description=Submit+a+long+or+batch+TTS+job.+The+HTTP+response+only+confirms+acceptance+%28%60taskId%60%29.+Finished+audio+arrives+in+your+%5BWebhook%5D%28%2Fguides%2Fwebhooks%29+callback+%28%60eve\u0026amp;theme=afd10e04e52dca5aca6badd6\u0026amp;signature=0903f0f3a7fe44ad4fab4d3bee8654b2ff5c0b72976dd3b626d4ce898c1566eb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Synthesize speech (async) - VMEG Open API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit a long or batch TTS job. The HTTP response only confirms acceptance (taskId). Finished audio arrives in your Webhook callback (event: openapi-tts).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vmeg.mintlify.site/_mintlify/api/og/v2?division=Text+to+speech+%28TTS%29\u0026amp;title=Synthesize+speech+%28async%29\u0026amp;description=Submit+a+long+or+batch+TTS+job.+The+HTTP+response+only+confirms+acceptance+%28%60taskId%60%29.+Finished+audio+arrives+in+your+%5BWebhook%5D%28%2Fguides%2Fwebhooks%29+callback+%28%60eve\u0026amp;theme=afd10e04e52dca5aca6badd6\u0026amp;signature=0903f0f3a7fe44ad4fab4d3bee8654b2ff5c0b72976dd3b626d4ce898c1566eb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vmeg/quSuAa9_FfRDKCh5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VMEG Open API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7B4DFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tts/synthesize-speech-async.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.vmeg.ai/zh/api-reference/tts/synthesize-speech-async\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vmeg.ai/#organization\",\"name\":\"VMEG Open API\",\"url\":\"https://docs.vmeg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vmeg/U2wNSwGchYeILU0c/logo/light.png?fit=max\u0026auto=format\u0026n=U2wNSwGchYeILU0c\u0026q=85\u0026s=bfdcef2e7f25aa4a8e118c42580b7902\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vmeg.ai#website\",\"name\":\"VMEG Open API\",\"url\":\"https://docs.vmeg.ai\",\"publisher\":{\"@id\":\"https://docs.vmeg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async#webpage\",\"url\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\",\"name\":\"Synthesize speech (async)\",\"description\":\"Submit a long or batch TTS job. The HTTP response only confirms acceptance (taskId). Finished audio arrives in your Webhook callback (event: openapi-tts).\",\"dateModified\":\"2026-11-16T03:48:16.437Z\",\"isPartOf\":{\"@id\":\"https://docs.vmeg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-sync\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text to speech (TTS)\",\"item\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-sync\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Synthesize speech (async)\",\"item\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async#apireference\",\"headline\":\"Synthesize speech (async)\",\"name\":\"Synthesize speech (async)\",\"description\":\"Submit a long or batch TTS job. The HTTP response only confirms acceptance (taskId). Finished audio arrives in your Webhook callback (event: openapi-tts).\",\"url\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vmeg.ai/api-reference/tts/synthesize-speech-async#webpage\"},\"dateModified\":\"2026-11-16T03:48:16.437Z\",\"publisher\":{\"@id\":\"https://docs.vmeg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vmeg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VMEG Open API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"VMEG Open API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tts/synthesize-speech-async.md","siteName":"VMEG Open API","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/introduction"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/quickstart"}]},{"tab":"Standalone API","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Text to speech (TTS)","pages":[{"title":"Synthesize speech (sync)","description":"Convert text to speech in one request. Audio URLs are returned immediately in the HTTP `data` payload — no webhook required.","deprecated":null,"version":null,"sidebarTitle":"Synthesize speech (sync)","openapi":"/api-reference/openapi.json post /openapi/v1/task/tts/create","href":"/api-reference/tts/synthesize-speech-sync"},{"title":"Synthesize speech (async)","deprecated":null,"version":null,"sidebarTitle":"Synthesize speech (async)","openapi":"/api-reference/openapi.json post /openapi/v1/task/tts/create-async","href":"/api-reference/tts/synthesize-speech-async"}]},{"group":"Text translation (text only)","pages":[{"title":"Translate text segments (sync)","description":"Translate plain text segments in one request. Translated strings are returned immediately in the HTTP `data` payload. Does **not** process video or audio — use **Create translate and dub job** for media.","deprecated":null,"version":null,"sidebarTitle":"Translate text (sync)","openapi":"/api-reference/openapi.json post /openapi/v1/task/translate/create","href":"/api-reference/text-translation/create-text-translation-sync"},{"title":"Translate text segments (async)","deprecated":null,"version":null,"sidebarTitle":"Translate text (async)","openapi":"/api-reference/openapi.json post /openapi/v1/task/translate/create-async","href":"/api-reference/text-translation/create-text-translation-async"}]},{"group":"Voice cloning","pages":[{"title":"Clone voice from sample audio (sync)","deprecated":null,"version":null,"sidebarTitle":"Clone voice (sync)","openapi":"/api-reference/openapi.json post /openapi/v1/task/clone-voice/create","href":"/api-reference/voice-clone/clone-voice-from-sample-audio-sync"},{"title":"Clone voice from sample audio (async)","deprecated":null,"version":null,"sidebarTitle":"Clone voice (async)","openapi":"/api-reference/openapi.json post /openapi/v1/task/clone-voice/create-async","href":"/api-reference/voice-clone/clone-voice-from-sample-audio-async"}]},{"group":"Video \u0026 audio translate and dub","pages":[{"title":"Create translate and dub job","deprecated":null,"version":null,"sidebarTitle":"Create translate and dub job","openapi":"/api-reference/openapi.json post /openapi/v1/task/media-translation/create-async","href":"/api-reference/media-translation/create-media-translation-async"}]},{"group":"Task status and history","pages":[{"title":"List API jobs","deprecated":null,"version":null,"sidebarTitle":"List API jobs","openapi":"/api-reference/openapi.json get /openapi/v1/tasks/list","href":"/api-reference/tasks/list-tasks"},{"title":"Query job status and results","deprecated":null,"version":null,"sidebarTitle":"Query job status","openapi":"/api-reference/openapi.json get /openapi/v1/tasks/detail","href":"/api-reference/tasks/get-task-detail"},{"title":"Delete an API job","deprecated":null,"version":null,"sidebarTitle":"Delete API job","openapi":"/api-reference/openapi.json post /openapi/v1/tasks/delete","href":"/api-reference/tasks/delete-task"}]},{"group":"Upload files (materials)","pages":[{"title":"Generate presigned upload URL","deprecated":null,"version":null,"sidebarTitle":"Generate presigned upload URL","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/upload/gen-upload-url","href":"/api-reference/assets/materials/gen-upload-url"},{"title":"Complete single-file upload","deprecated":null,"version":null,"sidebarTitle":"Complete single-file upload","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/upload/complete","href":"/api-reference/assets/materials/complete-upload"},{"title":"Initiate multipart upload","deprecated":null,"version":null,"sidebarTitle":"Initiate multipart upload","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/upload/multipart/initiate","href":"/api-reference/assets/materials/multipart-initiate"},{"title":"Presign multipart parts","deprecated":null,"version":null,"sidebarTitle":"Presign multipart parts","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/upload/multipart/presign-parts","href":"/api-reference/assets/materials/multipart-presign-parts"},{"title":"Complete multipart upload","deprecated":null,"version":null,"sidebarTitle":"Complete multipart upload","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/upload/multipart/complete","href":"/api-reference/assets/materials/multipart-complete"},{"title":"Abort multipart upload","deprecated":null,"version":null,"sidebarTitle":"Abort multipart upload","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/upload/multipart/abort","href":"/api-reference/assets/materials/multipart-abort"},{"title":"List materials","deprecated":null,"version":null,"sidebarTitle":"List materials","openapi":"/api-reference/openapi.json get /openapi/v1/assets/material/list","href":"/api-reference/assets/materials/list-materials"},{"title":"Delete material","deprecated":null,"version":null,"sidebarTitle":"Delete material","openapi":"/api-reference/openapi.json post /openapi/v1/assets/material/delete","href":"/api-reference/assets/materials/delete-material"}]},{"group":"Voices (presets and clones)","pages":[{"title":"List system voices","deprecated":null,"version":null,"sidebarTitle":"List system voices","openapi":"/api-reference/openapi.json post /openapi/v1/assets/voice/basic/list","href":"/api-reference/assets/voices/list-system-voices"},{"title":"List cloned voices","deprecated":null,"version":null,"sidebarTitle":"List cloned voices","openapi":"/api-reference/openapi.json post /openapi/v1/assets/voice/clone/list","href":"/api-reference/assets/voices/list-cloned-voices"},{"title":"Rename cloned voice","deprecated":null,"version":null,"sidebarTitle":"Rename cloned voice","openapi":"/api-reference/openapi.json post /openapi/v1/assets/voice/clone/update","href":"/api-reference/assets/voices/rename-cloned-voice"},{"title":"Delete cloned voice","deprecated":null,"version":null,"sidebarTitle":"Delete cloned voice","openapi":"/api-reference/openapi.json post /openapi/v1/assets/voice/clone/delete","href":"/api-reference/assets/voices/delete-cloned-voice"}]}]}]},{"tab":"App-Synced API","pages":[{"title":"App-Synced API","href":"/guides/app-synced/overview"}]}]},{"language":"zh","navbar":{"links":[{"href":"https://www.vmeg.ai/home","label":"VMEG 网站"},{"href":"https://www.vmeg.ai/help-center/","label":"帮助中心"}],"primary":{"type":"button","label":"获取 API Key","href":"https://www.vmeg.ai/signIn?redirect=%2Fopen-api-setting"}},"pages":[{"title":"zh","href":"/zh/api-reference/tts/synthesize-speech-async"}]}]},"basePath":"","title":"Synthesize speech (async) - VMEG Open API","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js","Markdown-BwQ4RMdp.js","dist-CiVXVcSh.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-Dic2Jtb2.js"]}