POST /images/preview to upload a clothing photo and run it through the Drssed image pipeline. The API removes the background from the image and uses AI to detect the item’s dominant color, category, relevant seasons, and style tags. The returned image_id links the processed image to a clothing item when you call POST /users/me/clothing.
Endpoint
Request parameters
The clothing image to process. Send as a
multipart/form-data field.Response fields
Status: 201 CreatedURL of the processed image with the background removed.
Unique identifier for this processed image. Pass this as
image_id when creating a clothing item via POST /users/me/clothing.Detected dominant color of the clothing item.
Detected category of the clothing item. One of:
JACKET, TOP, BOTTOM, FOOTWEAR.Detected seasons the item is suited for. Possible values:
Spring, Summer, Autumn, Winter.Detected style tags for the item. Possible values:
Casual, Formal, Sports, Vintage.Error codes
Example
cURL
Response