New Tool Radar

AI Concepts

How to Check That a Model Accepts Image Input Before Sending a Photo

Check that a model accepts image input before sending a photo, because a text-only model will reject it.

Schematic illustration of check that a model accepts image input before sending a photo: step one read the model page, step two send a small test image, step three check the reply.

Vision-enabled models can answer questions about images you upload, but a text-only model cannot: sending an image to it fails or is ignored. Before you build a task on image input, check the model’s page for vision support, then send a small test image and confirm the reply describes it. The check costs one call and saves a broken workflow.

Prerequisites

  • The model you plan to use.
  • The provider’s documentation for vision support.
  • A small test image with a known, checkable subject.

Steps

Step 1: Read the model page

Read the model’s page: does it list vision or image input as a capability? Note the answer, and the image formats it accepts, such as JPEG, PNG, WEBP and GIF.

Step 2: Send a small test image

Send a small test image with a simple question, such as ‘What is in this image?’ Use the image_url form for a hosted image, or a base64 data URL for a local file.

Step 3: Check the reply

Read the reply and compare it with the image. If it describes the image’s subject, vision input works; if it errors or ignores the image, the model does not accept image input.

Worked example: Northgate Clinic notice photo

The fictional Northgate Clinic tests 2 models with a photo of its notice board, which lists 3 notices.

Model Vision listed Test reply Use it
Model A Yes Lists the 3 notices Yes
Model B No Error: image input not supported No

Model A lists the 3 notices from the photo, and model B errors, so the clinic uses model A for image tasks.

Expected result. Vision support is confirmed by a test image, and the reply describes the image’s subject. UNTESTED: this guide was not run against a live model or API. The worked example below is fictional practice material, and its result is the expected result, not a measured one.

Limits

  • Vision support can differ between the provider’s APIs; check the API you use.
  • Images are limited in number per request: Azure OpenAI allows 10 images per chat request.
  • This guide does not cover image size limits, which are a separate check.

Sources

See all