
Image Analyzer API
Free AI image analyzer. Get detailed analysis, descriptions, and insights from any image.
All API requests require a valid API key passed in the Authorization header as a Bearer token.
10 requests per minute
2 endpoints available
Overview
Describes an image in detail with an AI vision model. You can add context or instructions to steer the description, and ask for a short, informal opinion on top. A second endpoint lets you ask follow-up questions about the image based on that description.
Analyze an image
Send multipart/form-data with one image in the file field, up to 20 MB. JPEG, PNG, WebP, GIF, AVIF and TIFF are read; other formats return 400. The image is sent to the model inline and is not stored.
contextis shown to the model as instructions or background, up to 4,000 characters.directorNotesteers the focus or tone without being quoted back, up to 500 characters.addOpinion=trueadds a second pass that gives a playful opinion based on the description. It is returned separately inopinion, which isnullotherwise.
Follow-up chat
POST /v1/tools/image-analyzer/chat answers one question about an image you already analyzed. It is stateless: send the analysis (and opinion, if you have one) each time, plus the prior turns in history. The chat model never sees the image, only that text, so it says so when the description does not cover a question.
- Only the last 30 history turns are used, each cut to 2,000 characters. The analysis, opinion and context are each cut to 8,000 characters.
- Each chat call counts as one request against the limits below.
Limits
10 requests per minute and 200 requests per day per API key. AI tools share these limits.
The site's 18+ description mode is not available through the API.
Endpoints
https://opentools.ca/api/v1/tools/image-analyzerRequest Body
Content-Type: multipart/form-data
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | file | Required | The image to analyze, 20 MB max. |
| context | string | Optional | Background or instructions for the analysis, up to 4,000 characters. |
| directorNote | string | Optional | A short steer for focus or tone, up to 500 characters. Not quoted in the output. |
| addOpinion | string Enum: true, false | Optional | Add a playful opinion based on the description.Default: false |
Response Example
{
"success": true,
"analysis": "The image shows a small wooden cabin beside a lake at sunset. The sky is orange fading to purple, and the water reflects the cabin and a line of pine trees...",
"opinion": "Honestly, this looks like the place you go to turn your phone off for a week. The colours are doing a lot of work, in a good way."
}Error Codes
https://opentools.ca/api/v1/tools/image-analyzer/chatRequest Body
Content-Type: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| message | string | Required | The new question or message, 1 to 2,000 characters. |
| context.analysis | string | Required | The "analysis" returned by POST /v1/tools/image-analyzer, up to 20,000 characters. |
| context.opinion | string | Optional | The "opinion" returned with the analysis, if any. The chat keeps its tone. |
| context.userContext | string | Optional | The context you sent with the analysis, if any. |
| history | array | Optional | Prior turns, oldest first: [{ "role": "user" | "assistant", "content": string }]. Up to 200 items; the last 30 are used.Default: [] |
| directorNote | string | Optional | A steer for this one reply, up to 500 characters. |
Response Example
{
"success": true,
"reply": "The description mentions pine trees along the far shore, but nothing about boats or a dock, so I cannot tell you that from here."
}Error Codes
Code Examples
# Analyze an image
curl -X POST https://opentools.ca/api/v1/tools/image-analyzer \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.jpg" \
-F "context=Focus on the architecture" \
-F "addOpinion=true"
# Ask a follow-up question
curl -X POST https://opentools.ca/api/v1/tools/image-analyzer/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message": "What style is the roof?",
"context": { "analysis": "The image shows a small wooden cabin..." },
"history": []
}'Rather use it in your browser? Open the Image Analyzer