Share via


InputContentInputImageContent interface

An image input to the model. Learn about image inputs.

Extends

Properties

detail

The detail level of the image to be sent to the model. One of high, low, or auto. Defaults to auto.

file_id

The ID of the image file to be sent to the model.

image_url

The URL of the image to be sent to the model.

type

The type of the input item. Always input_image.

Property Details

detail

The detail level of the image to be sent to the model. One of high, low, or auto. Defaults to auto.

detail: ImageDetail

Property Value

file_id

The ID of the image file to be sent to the model.

file_id?: string

Property Value

string

image_url

The URL of the image to be sent to the model.

image_url?: string

Property Value

string

type

The type of the input item. Always input_image.

type: "input_image"

Property Value

"input_image"