Skip to main content

Minimal request

cURL example

Python example

Node.js example

Best practices

  • Put the image block before the instruction in most vision prompts
  • Use Files API for large or repeated inputs
  • Claude works especially well for OCR, UI understanding, and moderation-style vision tasks