⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
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>"
}Fetch Queued Images API fetches 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>"
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
POST request to below endpoint to return the corresponding queued images,specified by the request_id parameter in the request body.
--request POST 'https://modelslab.com/api/v6/images/fetch' \
{
"key": "your_api_key",
"request_id": "your_request_id"
}
Fetched image response
Status of the image generation.
success Time taken to generate the image in seconds.
Unique identifier for the image generation request.
Array of generated image URLs.
Array of proxy image URLs.
Metadata about the image generation including all parameters used.
Indicates if NSFW content was detected in the generated image.
Status of the webhook notification.
Additional information or tips for the user.
Was this page helpful?