🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
Fashion 1.0 thumbnail

ModelsLab/Fashion 1.0

API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v6/image_editing/fashion

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"init_image": "https://assets.modelslab.com/generations/1f68ebc4-8306-4c3d-9e3c-ff69f41906d4",
"cloth_image": "https://assets.modelslab.com/generations/47f52677-2761-46c3-9d5b-d039b8dfc1a1",
"cloth_type": "upper_body",
"prompt": "A realistic photo of a model wearing a beautiful t-shirt",
"negative_prompt": "Low quality, unrealistic, bad cloth, warped cloth",
"base64": "false",
"guidance_scale": "7.5",
"num_inference_steps": "21",
"track_id": null,
"webhook": null,
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
Reference Imageinit_imageImage to upscale/enhance
Cloth Imagecloth_imageClothing item image
Cloth typecloth_typeType of clothing
PromptpromptText description of the image you want to generate
Negative Promptnegative_promptThings you do not want in the generated image
base64base64Specifies whether the response should be returned as a base64 string. Defaults to false.
guidance_scaleguidance_scaleThe scale for classifier-free guidance
num_inference_stepsnum_inference_stepsThe number of denoising steps
track_idtrack_idID for webhook identification
webhookwebhookURL to receive POST API call when complete