POST
/
v1
/
images
/
generations
curl --request POST \
  --url http://localhost:8000/v1/images/generations \
  --header 'Content-Type: application/json' \
  --data '{
  "guidance_scale": 3.5,
  "num_inference_steps": 10,
  "prompt": "An orange Lamborghini driving down a hill road at night with a beautiful ocean view in the background."
}'
{
  "image": "<base64 encoded image>"
}

Body

application/json

Response

200
application/json
Successfully generated image.

The response is of type object.