This Text-To-Speech API converts written text into natural-sounding speech across multiple languages. Utilizing advanced voice synthesis technology, it delivers clear and lifelike vocal output, suitable for a wide range of applications, including e-learning platforms, accessibility tools, virtual assistants, and multimedia presentations.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the speech generation results.
Control the data content of the mock event. When set to TASK_STATUS_SUCCEED, you’ll receive a normal response; when set to TASK_STATUS_FAILED, you’ll receive an error response.
Enum: TASK_STATUS_SUCCEED, TASK_STATUS_FAILED
curl --location 'https://api.novita.ai/v3/async/txt2speech' \--header 'Authorization: Bearer {{API Key}}' \--header 'Content-Type: application/json' \--data '{ "request": { "voice_id": "Emily", "language": "en-US", "texts": [ "To be or not to be, that is a question." ], "volume": 1.2, "speed": 1.0 }}'