ModelsLab/Fashion 1.0
fashion-1API 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 Name | Parameter | Technical Description |
|---|---|---|
| Reference Image | init_image | Image to upscale/enhance |
| Cloth Image | cloth_image | Clothing item image |
| Cloth type | cloth_type | Type of clothing |
| Prompt | prompt | Text description of the image you want to generate |
| Negative Prompt | negative_prompt | Things you do not want in the generated image |
| base64 | base64 | Specifies whether the response should be returned as a base64 string. Defaults to false. |
| guidance_scale | guidance_scale | The scale for classifier-free guidance |
| num_inference_steps | num_inference_steps | The number of denoising steps |
| track_id | track_id | ID for webhook identification |
| webhook | webhook | URL to receive POST API call when complete |