Skip to main content
Add up to 100 images under assets.images to decide on what something looks like: a product photo against a spec, a thumbnail against brand rules, or a screenshot against an expected state. Images are keyed by names you choose. The model does not see the names, so use state to say what each image is.

Compare two images

The response has the same data.answers and data.usage fields as a text request.

Image inputs

For larger files, upload with the asset upload API and pass the asset_id. Images can share a request with up to 10 videos and up to 10 audio clips. Each image adds to usage.input_tokens. If a request does not fit the context window, the API returns 400 with context_length_exceeded. See Context window.