POST
/
image_editing
/
fetch
/
{id}
Fetch queued images
curl --request POST \
  --url https://modelslab.com/api/v6/image_editing/fetch/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>"
}'
{
  "status": "success",
  "id": 123,
  "output": [
    "<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. Where {id} is the ID returned together with the image URL in the response upon its generation..
curl
--request POST 'https://modelslab.com/api/v6/image_editing/fetch/{id}' \

Body

curl
{ 
    "key": ""
}

Path Parameters

id
string
required

The ID of the queued image request

Body

application/json
key
string
required

Your API Key used for request authorization

Response

200 - application/json

Fetch queued images response

status
enum<string>
Available options:
success
id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of generated image URLs