Skip to main content

Image input

Send an image for the model to describe, analyze, or answer questions about. Provide the image as a URL, a base64 data URI, or a previously uploaded file_id.

Image via URL

Image via base64

Encode the image as a data URI with the appropriate MIME type.

Image via file_id

Upload an image with the Files API first, then reference it by ID.

Combine input types

See Multimodal input for a request containing several input types.