Single request
Batching multiple lines
For dialogue, send one request per line and concatenate the audio. This keeps responses small, allows parallel calls, and limits retries to failed segments.Tuning expressive controls
Combineinstructions with voice_settings to control delivery per call. guidance_scale adjusts how strongly generation follows those instructions and the reference voice. The accepted range is 1.0 to 10.0.
Async jobs
Keep sync and streaming calls for short previews. Use async jobs for long text, reference-heavy voices, or batch production so the caller can poll status and download the audio after generation completes.Inspecting the result
The logs page shows inline playback, a download link, and Copy as cURL.Continue building
Streaming
Use the streaming endpoint when playback should begin before the full response is ready.
Output formats
Pick an encoding for browser playback, post-processing, or low-latency audio pipelines.
Managing history
List previous generations, download audio, and delete test runs.
API reference
Inspect request fields, SDK examples, response bodies, and generated errors.

