POST
/
v1
/
images
/
generations
curl --request POST \
  --url https://api.bieapi.com/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "dall-e-3",
  "prompt": "A painting of a cat."
}'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "image": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

Successful response

The response is of type object.