curl --request POST \ --url https://api.inworld.ai/tts/v1/voice \ --header 'Authorization: Basic <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Hello, world! What a wonderful day to be a text-to-speech model!", "voiceId": "Hades", "modelId": "inworld-tts-1"}'
Receive results after all text input has been processed.
POST
/
tts
/
v1
/
voice
cURL
Copy
Ask AI
curl --request POST \ --url https://api.inworld.ai/tts/v1/voice \ --header 'Authorization: Basic <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Hello, world! What a wonderful day to be a text-to-speech model!", "voiceId": "Hades", "modelId": "inworld-tts-1"}'