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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Image generated successfully
The response is of type object.
object
Was this page helpful?