POST
/
v1
/
images
/
generations
curl --request POST \
  --url https://api.shuttleai.app/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "<string>",
  "prompt": "<string>"
}'
{
  "created": 123,
  "data": [
    {
      "url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required
prompt
string
required

Response

200 - application/json
created
number
data
object[]