You're looking at a specific version of this model. Jump to the model overview.
google /gemini-3.1-flash-tts:e165f56d
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| text |
string
|
The text to convert to speech. Supports markup tags like "
"[sigh], [laughing], [whispering], [shouting], [extremely fast] for "
"expressive delivery. Maximum 4,000 bytes.
|
|
| voice |
None
|
Kore
|
Voice to use for speech generation
|
| prompt |
string
|
Say the following.
|
Style instructions to control how the text is spoken. "
"Use natural language to describe the desired tone, pace, accent, "
'and emotion. For example: "Say this in a calm, professional tone" '
'or "Speak with excitement and energy". Maximum 4,000 bytes.
|
| language_code |
None
|
en-US
|
Language for the speech output
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}