Skip to main content

Generate Image

Request

curl -X POST \
https://api.gpuless.io/v1/images/generate \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {YOUR_API_KEY}' \
-d '{ \
"model":"anything-v4", \
"prompt": "(masterpiece) 1girl maid cat ear", \
"negative_prompt":"nsfw" \
}'
KeyTypeRequiredComment
modelstringAI model name. Currently only Anything-V4 is supported

Response

{
"image_id": "092cb6da-e1cd-4324-89d4-b7799a9f3166"
}
KeyTypeRequiredComment
image_id092cb6da-e1cd-4324-89d4-b7799a9f3166A unique identifier of the image by UUIDv4