Realtime TTS-2 is live. Built for realtime conversation that feels human. Learn more

TextToSpeech

Synthesize speech (async)

Submit a synthesis job that runs in the background and immediately receive a [long-running operation](https://google.aip.dev/151). Poll the operation via the Get operation endpoint until `done` is `true`, then download the results from the time-limited signed URLs in its `response`. The request body is identical to synchronous synthesis. Unlike the synchronous endpoints, a job never returns audio with requested timestamps silently missing: `timestampType` in a language without alignment support is rejected at submit, and an alignment failure during synthesis fails the operation.

POST/tts/v1/voice:synthesizeAsync

Authorizations

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.

Body

application/json

textstringrequired

The text to be synthesized into speech. Maximum input of 100,000 characters. On-Demand accounts are capped at 10,000 characters per job.