Skip to content

Style Me

Get AI-generated outfit recommendations based on a selfie, style preferences, and occasion. Each suggestion includes a virtual try-on image.

POST /style_me
FieldTypeRequiredDescription
selfie_base64stringYesBase64-encoded selfie image
style_preferencesstringNoStyle keywords (e.g. “minimalist”, “streetwear”)
occasionstringNoEvent or context (e.g. “casual work”, “date night”)
num_outfitsnumberNoNumber of suggestions (1-4, default 3)
Terminal window
curl -X POST https://mcll3bnfubyazfg6wekv3xc6fi0dgpyk.lambda-url.us-east-1.on.aws/style_me \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"selfie_base64": "BASE64_ENCODED_IMAGE",
"style_preferences": "minimalist, clean lines",
"occasion": "casual work",
"num_outfits": 3
}'
FieldTypeDescription
outfitsarrayList of outfit suggestions
FieldTypeDescription
descriptionstringOverall outfit description
itemsstring[]List of clothing pieces
stylestringStyle category
image_base64stringVirtual try-on image (base64)
mime_typestringImage MIME type
{
"outfits": [
{
"description": "Clean minimalist office look with neutral tones",
"items": [
"Cream linen button-down shirt",
"Charcoal tailored trousers",
"White leather sneakers",
"Silver minimalist watch"
],
"style": "minimalist",
"image_base64": "/9j/4AAQSkZJRg...",
"mime_type": "image/jpeg"
},
{
"description": "Relaxed smart-casual ensemble",
"items": [
"Navy cotton crew-neck sweater",
"Khaki chinos",
"Suede desert boots"
],
"style": "smart casual",
"image_base64": "/9j/4AAQSkZJRg...",
"mime_type": "image/jpeg"
}
]
}
  • This is the most compute-intensive endpoint — expect 30-90 seconds per request
  • Each outfit suggestion includes a generated try-on image
  • If image generation fails for an outfit, the image_base64 field will be empty
  • The AI analyzes body type, skin tone, and hair from the selfie to make appropriate suggestions