Skip to content

Identify Clothing

Analyze an outfit image to identify individual clothing items with descriptions, colors, style tags, and purchase links.

POST /identify_clothing
FieldTypeRequiredDescription
image_urlstringYesURL of the outfit image to analyze
Terminal window
curl -X POST https://mcll3bnfubyazfg6wekv3xc6fi0dgpyk.lambda-url.us-east-1.on.aws/identify_clothing \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/outfit.jpg"}'
FieldTypeDescription
itemsarrayList of identified clothing items
FieldTypeDescription
itemstringItem name (e.g. “oversized blazer”)
descriptionstringDetailed description
colorstringColor name (e.g. “charcoal grey”)
style_tagsstring[]Style categories (e.g. [“minimalist”, “streetwear”])
categorystringClothing category (e.g. “top”, “bottom”, “shoes”)
price_rangestringEstimated range: “budget”, “mid-range”, “premium”, or “luxury”
productsarrayPurchase links found online
FieldTypeDescription
titlestringProduct listing title
urlstringPurchase URL
thumbnailstringProduct image URL
pricestringListed price
storestringRetailer name
snippetstringProduct description snippet
{
"items": [
{
"item": "oversized blazer",
"description": "Relaxed-fit single-breasted blazer in charcoal wool blend",
"color": "charcoal grey",
"style_tags": ["minimalist", "smart casual"],
"category": "top",
"price_range": "mid-range",
"products": [
{
"title": "Oversized Wool Blazer - Grey",
"url": "https://example.com/product/123",
"thumbnail": "https://example.com/thumb.jpg",
"price": "$89.99",
"store": "ZARA",
"snippet": "Relaxed-fit blazer in wool blend..."
}
]
},
{
"item": "straight-leg jeans",
"description": "Mid-rise straight-leg jeans in medium wash denim",
"color": "medium blue",
"style_tags": ["casual", "classic"],
"category": "bottom",
"price_range": "budget",
"products": []
}
]
}
  • The image URL must be publicly accessible
  • Processing time: 5-15 seconds
  • Typically identifies 2-6 items per outfit
  • Product links are found via web search and may not always be available