import os
import requests
payload = {
"animation_prompts": [
{
"frame": 0,
"prompt": "a underwater world with muted corals, with a cinematic glowing lighting shining on them, with extremely detailed face, full body, 3d realism render, --no freckle,plant,god,goddess,black face,black clothes",
},
{
"frame": 40,
"prompt": "a soft non-binary gender fluid humanoid avatar with fish scale skin and many tentacles in the middle of an underwater world with muted corals, with a cinematic glowing lighting shining on them, with extremely detailed face, full body, manga style, --no freckle,plant,god,goddess,black face,black clothes",
},
{
"frame": 70,
"prompt": "a soft non-binary gender fluid humanoid avatar with fish scale skin and many tentacles in the middle of an underwater world with muted corals, with a cinematic glowing lighting shining on them, with extremely detailed face, full body, pixiv artwork, manga style, anime style --no freckle,plant,god,goddess,black face,black clothes",
},
{
"frame": 120,
"prompt": "a soft non-binary gender fluid humanoid avatar with fish scale skin and many tentacles in the middle of an underwater world with muted corals, with a cinematic glowing lighting shining on them, with extremely detailed face, full body, 3d realism render, --no freckle,plant,god,goddess,black face,black clothes",
},
]
}
response = requests.post(
"https://api.gooey.ai/v2/DeforumSD?example_id=cpcr130i",
headers={
"Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
},
json=payload,
)
assert response.ok, response.content
result = response.json()
print(response.status_code, result)