Skip to main content
Send images alongside text. Use the native content-block shape for whichever surface you’re calling.

Limits

LimitValue
Max raw file size12 MB
Accepted MIME typesimage/png, image/jpeg, image/webp, image/gif

OpenAI Chat Completions

Use an image_url content part with either a data: URL (base64-inlined) or a public HTTPS URL.

Anthropic Messages

Use an image content block with a base64 source (or a url source for HTTPS).
Last modified on May 3, 2026