PRODUCTION SCENARIO
A kiosk records a short WAV question and sends it straight to a deployed audio-enabled chat model, with no separate transcription step.
How should the audio be included in the request?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: As an input_audio content part with base64 data and format
The audio quickstart base64-encodes the WAV file and adds a message content part of type input_audio whose object carries the encoded data and the format, alongside the modalities list. Image parts and file paths are not audio inputs.