voice | enum | no | "Tina" | Speaking voice for the session. Set it with session.update before the model produces any audio. These voices are specific to this model. · Allowed: Tina, Cindy, Liora Mira, Raymond, Zane, Katerina, Ryan, Mia, Cici, Theo Calm, Serena, Maia, Evan, Qiao, Momo, Wil, Angel, Li Cassian, Joyner, Gold, Jennifer, Aiden, Mione, Sunny, Dylan, Eric, Peter, Joseph Chen, Marcus, Li, Rocky, Kiki, Sohee, Eliška, Alek, Arda, Dolce, Lenn, Ono Anna, Sonrisa, Bodega, Andre, Radio Gol, Rizky, Roya, Hana, Jakub, Griet, Marina, Siiri, Ingrid, Sigga, Bea, Chloe, Emilien, longanlingxin |
instructions | string | no | - | System guidance for how the model should behave and speak during the conversation. |
modalities | string | no | ["text", "audio"] | Which output types the model returns for a turn. Drop audio for a text-only reply. |
input_audio_format | enum | no | "pcm16" | Encoding of the audio you append to the input buffer: base64 16-bit PCM at 16 kHz. · Allowed: pcm16 |
output_audio_format | enum | no | "pcm24" | Encoding of the audio the model streams back: 16-bit PCM at 24 kHz. · Allowed: pcm24 |
turn_detection | string | no | {"type": "server_vad"} | Voice activity detection: decides when you have finished speaking and the model should reply. It is on by default as server_vad, which ends your turn after a pause. semantic_vad also judges whether you have finished speaking, so filler sounds and background noise do not end your turn, and semantic_vad_ec does the same and lets you interrupt a reply more readily. threshold is a number from -1 to 1, 0.5 by default; a higher value needs clearer, louder speech to count. silence_duration_ms, from 200 to 6000 and 800 by default, is how long a pause must last to end your turn. idle_timeout_ms, from 5000 to 30000 with server_vad, makes the model speak again when you stay silent that long after its reply. Set turn_detection to null to end each turn yourself with input_audio_buffer.commit and response.create. |
max_response_output_tokens | number | no | - | Largest number of output tokens one reply may use: from 1 to 65536, where a larger number runs at 65536, or “inf” for the model’s own limit. Also accepted as max_output_tokens. When omitted, the model’s own default applies. · Range: 1 – 65536 |
temperature | number | no | - | Sampling temperature. 0 is deterministic and 1.99 is maximum randomness. When omitted, the model’s own default applies. · Range: 0 – 1.99 |
top_p | number | no | - | Nucleus sampling probability mass. Lower values make outputs more focused. When omitted, the model’s own default applies. · Range: 0.01 – 1 |
top_k | integer | no | - | Sample only from the K most likely tokens. When omitted, the model’s own default applies. · Range: 1 – 100 |
repetition_penalty | number | no | - | Higher values discourage repeated phrasing, and 1 applies no penalty. When omitted, the model’s own default applies. · Range: 0.1 – 2 |
presence_penalty | number | no | - | Penalty for tokens that already appeared in the generated text. Positive values encourage new topics. When omitted, the model’s own default applies. · Range: -2 – 2 |
seed | integer | no | - | Random seed for more reproducible sampling. Reusing a seed with the same request returns similar, not always identical, output. · Range: 0 – 2147483647 |
video_representation_compact | enum | no | - | How the model reads the video frames you send: none keeps full detail, and normal reads the same frames for a quarter of the input tokens when fine detail is not needed. When omitted, frames keep full detail. Set it before the first audio; it cannot change after that. · Allowed: none, normal |