inworld/tts-1
This model is designed for realtime text-to-speech generation.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
post
Authorizations
AuthorizationstringRequired
Bearer key
Body
modelundefined · enumRequiredPossible values:
textstring · min: 1 · max: 500000Required
The text content to be converted to speech.
voicestring · enumOptionalDefault:
Name of the voice to be used.
AlexPossible values: formatstring · enumOptionalDefault:
Audio output format. WAV delivers uncompressed audio in a widely supported container format, while MP3 provides good compression and compatibility.
mp3Possible values: Responses
201Success
application/json
post
/v1/tts201Success
Code Example
Listen to the audio sample we generated (~ 3 s):
Last updated
Was this helpful?