Skip to main content
POST
/
interior
/
fetch
/
{id}
Fetch queued request
curl --request POST \
  --url https://modelslab.com/api/v6/interior/fetch/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>"
}'
{
  "status": "success",
  "generationTime": 123,
  "id": 123,
  "output": [
    "<string>"
  ],
  "proxy_links": [
    "<string>"
  ],
  "meta": {}
}
Note: This endpoint does not generate new images; it only returns already generated or 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 URL in the response upon its generation. This endpoint does not generate new image, it returns already generated/queued image.
curl
--request POST 'https://modelslab.com/api/v6/interior/fetch/{id}' \

Body

json
{ 
    "key": ""
}

Path Parameters

id
integer
required

The ID of the generation to fetch

Body

application/json
key
string
required

Your API Key used for request authorization

Response

Fetch response

  • Option 1
  • Option 2
status
enum<string>
Available options:
success
generationTime
number

Time taken to generate the result in seconds

id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of URLs to the generated images

Array of proxy URLs for the generated images

meta
object

Metadata about the generation process and parameters used