Enterprise: Fetch Queued Request Endpoint
curl --request POST \
--url https://modelslab.com/api/v1/enterprise/fetch \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"request_id": "<string>"
}
'{
"status": "success",
"message": "Operation completed successfully"
}Text to Image API
Fetch Image
This endpoint is used to fetch images from the processing queue.
POST
/
enterprise
/
fetch
Enterprise: Fetch Queued Request Endpoint
curl --request POST \
--url https://modelslab.com/api/v1/enterprise/fetch \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"request_id": "<string>"
}
'{
"status": "success",
"message": "Operation completed successfully"
}Complex image generation requests are queued, and results can be retrieved later with an estimated processing time provided by the eta parameter.
Request
Send aPOST 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/v1/enterprise/fetch' \
Body
json
{
"key": "enterprise_api_key",
"request_id": "your_request_id"
}
Was this page helpful?
⌘I

