🧿Images
Given a prompt and/or an input image, the model will generate a new image.
Create image
Creates an image given a prompt.
curl https://api.eye-ai.com/v1/images/generations \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"prompt": "A cute baby sea otter",
"n": 2,
"size": "1024x1024"
}'
{
"prompt": "A cute baby sea otter",
"n": 2,
"size": "1024x1024"
}
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}
Last updated