Realm-Generation

ОПЛАЧЕНО
От Realm AI | Обновлено a month ago | Artificial Intelligence/Machine Learning
Популярность

6.8 / 10

Задержка

488ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

{'message': 'You are not subscribed to this API.'}

Rapid account: Lingfengxiao
lingfengxiao
4 months ago

Hello, when I use my api to get the requests, it shows “{‘message’: ‘You are not subscribed to this API.’}”

Here is my code:

url = “https://realm-generation.p.rapidapi.com/generation

payload = {
“promptPositive”: “@character model student high quality hd, a single yearbook photograph, dark-blue cloudy backdrop, full portrait style”,
“cfgScale”: 7.5,
“samlplingSteps”: 30,
“controlType”: “FACE_FEATURE”,
“controlSource”: “https://d28hgpri8am2if.cloudfront.net/book_images/onix/cvr9781982181284/elon-musk-9781982181284_lg.jpg
}
headers = {
“content-type”: “application/json”,
“X-RapidAPI-Key”: “key”,
“X-RapidAPI-Host”: “realm-generation.p.rapidapi.com
}

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

print(response.json())

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии