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>"
]
}Image Editing API
Fetch Image
Retrieve queued images using the Fetch Queued Images API.
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 aPOST 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
The ID of the queued image request
Body
application/json
Your API Key used for request authorization
Was this page helpful?
⌘I

