POST
/
fetch
Fetch queued images
curl --request POST \
  --url https://modelslab.com/api/v6/images/fetch \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "request_id": "<string>"
}'
{
  "status": "success",
  "generationTime": 123,
  "id": 123,
  "output": [
    "<string>"
  ],
  "proxy_links": [
    "<string>"
  ],
  "meta": {},
  "nsfw_content_detected": true,
  "webhook_status": "<string>",
  "tip": "<string>"
}
This endpoint does not generate new images, it returns already generated/queued images.

Request

Send a POST request to below endpoint to return the corresponding queued images,specified by the request_id parameter in the request body.
curl
--request POST 'https://modelslab.com/api/v6/images/fetch' \

Body

json
{ 
    "key": "your_api_key", 
    "request_id": "your_request_id"
}

Body

application/json

Response

Fetched image response

The response is of type object.