Virtual Try on Clothes API

Unleash AI directly in your website/app

Scroll to Doc & endpoints

1. What is our fashion - Virtual Try on Clothes API API ?

Discover the future of fashion with our AI Virtual Try-On API. Your ultimate solution for reimagining style experiences. Seamlessly integrate virtual outfit try-on and clothing try-on options into your platform, empowering users to upload their photos, select favorite styles, and see how outfits look on them in real-time. Whether you're aiming to enhance an online store or build an innovative styling app, our API delivers precision and personalization at every turn.
Elevate wardrobe decisions by offering a convenient, interactive, and immersive way to try on clothes online. From quick outfit previews to detailed fittings, our Virtual Try-On API redefines how users connect with their personal style. Step into the future of fashion and transform your platform today with a seamless, AI-driven try-on experience.

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/vto

AI Virtual Try on Clothes API

1 credit
AI Virtual try on clothes API
1. REQUEST BODY (get the id)
Important: You will first receive an id number with this call. Then you will have to retrieve the image after 30/40 seconds during the second call using this id number (asynchronous generation).
model_photo
required
string ($string)
Model image URL
clothing_photo
required
string ($string)
Clothing image URL
clothing_type
required
string ($string)
Clothing type. Value can be 'tops', 'bottoms' or 'one-pieces'.
Example request (form-data)
curl --location 'https://thenewblack.ai/api/1.1/wf/clothing' \ --form 'email="your@email.com"' \
--form 'password="yourpassword"' \
--form 'model_photo="https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2F40e507dd0272b7bb46d376a326e6cb3c.cdn.bubble.io%2Ff1738595804456x742054482670681200%2Ffashion-3497410_1280.jpg?w=768&h=768&auto=compress&dpr=2&fit=max"' \
--form 'clothing_photo="https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2F40e507dd0272b7bb46d376a326e6cb3c.cdn.bubble.io%2Ff1736513979343x866697206047046400%2FE1080448_1.jpg?w=768&h=768&auto=compress&dpr=2&fit=max"' \
--form 'clothing_type="tops"'
Response
1738603078875x118671613183389150
2. REQUEST BODY (to retrieve the image, usually generation takes 30-40 seconds, before you can retrieve the image)
POST
Example request (form-data)
curl --location 'https://thenewblack.ai/api/1.1/wf/results' \ --form 'email="your@email.com"' \
--form 'password="yourpassword"' \
--form 'id="1738603078875x118671613183389150"'
Response
https://40e507dd0272b7bb46d376a326e6cb3c.cdn.bubble.io/f1738603111646x999574393024104600/output_0.png
Need custom AI feature/endpoint ? We can develop it / add it to our API
Contact us
The New Black logo