Change clothes Image API

Unleash AI directly in your website/app

Scroll to Doc & endpoints

1. What is our fashion - Changes Clothes API ?

Change clothes in seconds with our AI clothes changer API. Our AI clothes API can change clothes according to your description in seconds with AI.

2. API Authentication

The New Black API uses login credentials for authentication :

email
required
string ($string)
Your account email on The New Black
password
required
string ($string)
Your password on The New Black
Note : If you created your account using Google Auth, click on your profile, then click on “create/change password”.

3. Pricing (credits)

When you make API calls from your website or app, credits will be debited from your account on The New Black. Therefore, you need to add credits to your account in order to make API calls. Credits for API calls and credits for The New Black generator are the same credits. You can use them for both. We offer many types of credit offers. Larger credit packs have a lower price/credit.

Add credits
To your account

4. Select a fashion feature (endpoint)

POST
https://thenewblack.ai/api/1.1/wf/edit
Modify an image given a prompt
1 credit
Fashion Clothing Photo Edition API
REQUEST BODY
image
required
string ($string)
URL of your original image
remove
required
string ($string)
Describe what to remove in the image
replace
required
string ($string)
Describe what you want instead
negative
string ($string)
Describe what you DON´T want in the design
Example request (form-data)
curl --location 'https://thenewblack.ai/api/1.1/wf/edit' \ --form 'email="your@email.com"' \
--form 'password="yourpassword"' \
--form 'image="https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2F40e507dd0272b7bb46d376a326e6cb3c.cdn.bubble.io%2Ff1707693715254x757119326229763700%2Ftext2image_sdxl"' \
--form 'remove="blue dress"' \
--form 'replace="green dress"' \
--form 'negative="poor details"'
Response
https://40e507dd0272b7bb46d376a326e6cb3c.cdn.bubble.io/f1707733445806x264975290619166000/text-inpainting
Need custom AI feature/endpoint ? We can develop it / add it to our API
Contact us
The New Black logo