TextToSpeech
Get voice preview
Returns a short audio preview for an existing voice. The preview text is determined server-side and cannot be customized. This endpoint is **not metered or billed**, making it ideal for voice browsing and selection experiences. Audio is always returned in MP3 format.
/tts/v1/voice:previewAuthorizations
Authorizationstringrequired
Your authentication credentials. For Basic authentication, please populate Basic $INWORLD_API_KEY. You can create a key in one command with the Inworld CLI: inworld workspace add-key.
Query Parameters
voice_idstringrequired
The identifier of the voice to preview. Use the List Voices endpoint to discover available voice IDs.
model_idstringrequired
The identifier of the TTS model to use for generating the preview. See Models for available models.