API Documentation
Integrate powerful AI-driven image analysis into your applications. Extract clothing, accessories, colors, and style attributes from any image.
Introduction
The ImgTags API provides AI-powered image analysis capabilities. Upload an image or provide a URL, and receive detailed structured data about the contents including clothing items, accessories, colors, materials, and styling information.
1. Get API Key
Create an account and generate your API key
2. Send Image
Upload a file or provide an image URL
3. Get Results
Receive structured JSON with detailed analysis
Authentication
Authenticate your API requests by including your API key in the X-API-Key header.
You can create and manage API keys from your dashboard.
Base URL
/analyze
Analyze an image and receive detailed structured data about clothing, accessories, colors, and more.
Request Parameters
| Parameter | Type | Description |
|---|---|---|
url |
string | URL of the image to analyze. Required if image is not provided. |
image |
file | Image file upload. Supports JPEG, PNG, GIF, WebP. Max 10MB. |
Example Request
Example Response
Code Examples
Here are complete examples for uploading files in different programming languages.
Rate Limits
API rate limits vary based on your plan. When limits are exceeded, you'll receive a 429 Too Many Requests response.
- 5 requests per day
- 1 request per minute
- IP-based limiting
- 10,000 requests per month
- 60 requests per minute
- Multiple API keys
Error Codes
The API uses standard HTTP response codes and returns detailed error information.
| Status | Code | Description |
|---|---|---|
| 422 | Validation Error | Missing or invalid request parameters |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. Check reset timestamp. |
| 500 | ANALYSIS_FAILED | Image analysis failed. Check error message. |
Ready to get started?
Sign up for free and start analyzing images with our powerful API.
Get Started Free