POST
/
api
/
ai
/
images
/
generate
/
v3
curl --request POST \
  --url https://api.worqhat.com/api/ai/images/generate/v3 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": [
    "A cat floating on the clouds"
  ],
  "image_style": "Anime",
  "orientation": "square",
  "output_type": "url"
}'
{
  "image": "https://storage.googleapis.com/example-image-url",
  "processing_time": 15938,
  "processing_id": "1e01b632-2d8f-4f71-8a27-36e219d67be5"
}

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
Image generated successfully

The response is of type object.