Fashion AI

फ्रीमियम
द्वारा AnkaTech | अपडेट किया गया vor 2 Monaten | Artificial Intelligence/Machine Learning
लोकप्रियता

5.7 / 10

लेटेंसी

11,382ms

सेवा का स्तर

100%

Health Check

N/A

सभी ट्यूटोरियल पर वापस जाएं (2)

Generate Image Asyncronously

Python code example

import requests

url = “https://fashion-ai.p.rapidapi.com/images

payload = {
“prompt”: “a close up of a cap weared by a man with stubble beard”,
“webhook_url”: “https://webhook.site/a8bcb2e2-ce90-4ba7-9a19-0e02ba9797a3
}
headers = {
“content-type”: “application/json”,
“X-RapidAPI-Processor”: “async”,
“X-RapidAPI-Key”: “0bd13d9e5dmshacde2895fef92cap1313f4jsn42ed0909bed9”,
“X-RapidAPI-Host”: “fashion-ai.p.rapidapi.com
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())