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).
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"'
2. REQUEST BODY (to retrieve the image, usually generation takes 30-40 seconds, before you can retrieve the image)
curl --location 'https://thenewblack.ai/api/1.1/wf/results' \
--form 'email="your@email.com"' \
--form 'password="yourpassword"' \
--form 'id="1738603078875x118671613183389150"'