Fashion Diffusion

Create faster in the app

Download App

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",
    "model": "standard"
  }'
// Base64 input (use imageBase64 instead of imageUrl)
{
  "imageBase64": "data:image/png;base64,iVBORw0KGgo...",
  "color": "#1A2B3C",
  "area": "Sleeves"
}
ParameterSupported valuesDefault
color6-digit hex, e.g. #1A2B3Crequired
areaEntire Product, Tops, Bottoms, Sleeves, custom textEntire Product
modelstandard, prostandard

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.