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" \
}'
| Key | Type | Required | Comment |
|---|---|---|---|
| model | string | ○ | AI model name. Currently only Anything-V4 is supported |
Response
{
"image_id": "092cb6da-e1cd-4324-89d4-b7799a9f3166"
}
| Key | Type | Required | Comment |
|---|---|---|---|
| image_id | 092cb6da-e1cd-4324-89d4-b7799a9f3166 | ○ | A unique identifier of the image by UUIDv4 |