RealtimeConversationItemMessageUserContent interface

model interface RealtimeConversationItemMessageUserContent

Properties

audio

Base64-encoded user audio in the session's configured input audio format.

detail

The level of image detail to use when processing an input_image content part.

image_url

The image for an input_image content part, supplied as a base64 data URL.

text

The user's text for an input_text content part.

transcript

A transcript associated with the user's input audio for reference on the message item.

type

Whether this user content part contains input text, audio, or an image.

Property Details

audio

Base64-encoded user audio in the session's configured input audio format.

audio?: string

Property Value

string

detail

The level of image detail to use when processing an input_image content part.

detail?: "auto" | "low" | "high"

Property Value

"auto" | "low" | "high"

image_url

The image for an input_image content part, supplied as a base64 data URL.

image_url?: string

Property Value

string

text

The user's text for an input_text content part.

text?: string

Property Value

string

transcript

A transcript associated with the user's input audio for reference on the message item.

transcript?: string

Property Value

string

type

Whether this user content part contains input text, audio, or an image.

type?: "input_text" | "input_audio" | "input_image"

Property Value

"input_text" | "input_audio" | "input_image"