text_to_speech
Generate natural-sounding speech from text using Gemini TTS on RunAPI. Specify speakers and dialogue turns to receive task status and audio URLs.
Instructions
Create a Gemini TTS task on RunAPI (text to speech). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| scene | No | Scene and recording environment. | |
| speakers | Yes | Non-empty speaker configurations with unique Speaker N identifiers. | |
| timeout_ms | No | ||
| temperature | No | Sampling temperature. | |
| callback_url | No | Webhook URL for async notifications. | |
| dialogue_turns | Yes | Non-empty ordered dialogue turns whose speaker ids reference configured speakers. | |
| sample_context | No | Overall delivery context and tone. | |
| poll_interval_ms | No |