An audio input to the model.

interface ResponseInputAudio {
    data: string;
    format: "wav" | "mp3";
    type: "input_audio";
}

Properties

data: string

Base64-encoded audio data.

format: "wav" | "mp3"

The format of the audio data. Currently supported formats are mp3 and wav.

type: "input_audio"

The type of the input item. Always input_audio.

""