Fashion Diffusion

Create faster in the app

Download App
Fashion Diffusion - AI Virtual Try-On and Fashion Design Tool

API

Public API documentation

Use the Fashion Diffusion Public API to submit Virtual Try-On, AI Inpainting, Recolor, and Apply Fabric tasks and query their results.

Recolor

Change the color of a product image while preserving its texture and construction.

curl -X POST \
  "https://www.fashiondiffusion.ai/api/public/v1/recolor/tasks" \
  -H "Authorization: Bearer fd_live_xxx" \
  -H "Content-Type: application/json" \
  --data-raw '{
    "imageUrl": "https://cdn.example.com/product.jpg",
    "color": "#1A2B3C",
    "area": "Entire Product",
    "ratio": "auto",
    "resolution": "2K",
    "model": "standard"
  }'
// Base64 input (use imageBase64 instead of imageUrl)
{
  "imageBase64": "data:image/png;base64,iVBORw0KGgo...",
  "color": "#1A2B3C",
  "area": "Sleeves",
  "ratio": "auto",
  "resolution": "2K"
}
ParameterSupported valuesDefault
color6-digit hex, e.g. #1A2B3Crequired
areaEntire Product, Tops, Bottoms, Sleeves, custom textEntire Product
modelstandard, prostandard
ratioauto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9auto
resolution2K, 4K2K

Provide imageUrl (or imageBase64), a 6-digit hex color, and an area such as Entire Product, Tops, Bottoms, Sleeves, or custom text. model: standard/pro.