You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0f450a3
Browse filesBrowse the repository at this point in the historyBrowse files
description: 'Text to synthesize, or a list of turns for multi-speaker input. Each turn has its own text, voice, and instructions. Multi-speaker input is currently supported by Gemini TTS models only.'
28824
+
example: 'Hello world'
28816
28825
SpeechInputReference:
28817
28826
description: 'Reference content part for stateless voice cloning or voice design'
28818
28827
discriminator:
@@ -28920,9 +28929,7 @@ components:
28920
28929
voice: 'en_paul_neutral'
28921
28930
properties:
28922
28931
input:
28923
-
description: 'Text to synthesize'
28924
-
example: 'Hello world'
28925
-
type: 'string'
28932
+
$ref: '#/components/schemas/SpeechInput'
28926
28933
input_references:
28927
28934
description: 'Reference content for stateless voice cloning or voice design. Audio mode: one to three `input_audio` parts, each optionally paired with a `text` part carrying its transcript (a single clip accepts its transcript before or after it; with multiple clips each transcript immediately follows its clip); only routed to endpoints that support voice cloning (and multiple references when more than one part is sent). Image mode: exactly one `image_url` part; only routed to endpoints that support image references. The two modes cannot be mixed. An empty array is treated as no reference.'
28928
28935
example:
@@ -28934,6 +28941,10 @@ components:
28934
28941
items:
28935
28942
$ref: '#/components/schemas/SpeechInputReference'
28936
28943
type: 'array'
28944
+
instructions:
28945
+
description: 'Delivery instructions for the whole request, such as tone, pacing, or emotion. Supported by OpenAI gpt-4o-mini-tts and Gemini TTS models. Ignored by other providers.'
28946
+
example: 'Speak in a warm and friendly tone.'
28947
+
type: 'string'
28937
28948
model:
28938
28949
description: 'TTS model identifier'
28939
28950
example: 'mistralai/voxtral-mini-tts-2603'
@@ -28997,6 +29008,24 @@ components:
28997
29008
- 'model'
28998
29009
- 'input'
28999
29010
type: 'object'
29011
+
SpeechTurn:
29012
+
properties:
29013
+
instructions:
29014
+
description: 'Delivery instructions for this turn, such as tone, pacing, or emotion. Overrides the top-level `instructions`.'
29015
+
example: 'whispering'
29016
+
type: 'string'
29017
+
text:
29018
+
description: 'Text to synthesize'
29019
+
example: 'Hi Jane.'
29020
+
type: 'string'
29021
+
voice:
29022
+
description: 'Voice for this turn. Defaults to the top-level `voice`.'
29023
+
example: 'Kore'
29024
+
minLength: 1
29025
+
type: 'string'
29026
+
required:
29027
+
- 'text'
29028
+
type: 'object'
29000
29029
StopServerToolsWhen:
29001
29030
description: 'Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. When a condition fires while the model is still emitting tool calls, the pending tool calls are executed and one final turn is made with tool calls disabled so the response ends with a natural-language answer instead of an unfinished tool call.'
0 commit comments