Skip to main content
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 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/v1/enterprise/fetch' \

Body

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

Body

application/json
key
string
required

Your API key

request_id
string
required

The request ID returned from the generation endpoint

Response

Success

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"