Fashion AI

免费增值
通过 AnkaTech | 已更新 2 mesi fa | Artificial Intelligence/Machine Learning
人气

6 / 10

延迟

11,382ms

服务等级

100%

Health Check

N/A

返回全部教程 (2)

Generate Image Syncronously

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” }
headers = {
“content-type”: “application/json”,
“X-RapidAPI-Processor”: “sync”,
“X-RapidAPI-Key”: “0bd13d9e5dmshacde2895fef92cap1313f4jsn42ed0909bed9”,
“X-RapidAPI-Host”: “fashion-ai.p.rapidapi.com
}

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

print(response.json())