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

interface ResponseInputImage {
    detail: "low" | "high" | "auto";
    file_id?: null | string;
    image_url?: null | string;
    type: "input_image";
}

Properties

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

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

file_id?: null | string

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

image_url?: null | string

The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.

type: "input_image"

The type of the input item. Always input_image.