Skip to main content
POST
/
video
/
fetch
/
{id}
Fetch queued video by ID
curl --request POST \
  --url https://modelslab.com/api/v6/video/fetch/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>"
}'
{
  "status": "success",
  "generationTime": 123,
  "id": 123,
  "output": [
    "<string>"
  ],
  "proxy_links": [
    "<string>"
  ],
  "future_links": [
    "<string>"
  ],
  "meta": {},
  "eta": 123,
  "message": "<string>",
  "tip": "<string>",
  "fetch_result": "<string>"
}

Request

Send a POST request to below endpoint to return the corresponding queued videos. Where {id} is the ID returned together with the URL in the response upon its generation. This endpoint does not generate new video, it returns already generated/queued videos.
curl
--request POST 'https://modelslab.com/api/v6/video/fetch/{id}' \

Body

json
{ 
    "key": ""
}

Path Parameters

id
integer
required

ID of the video to fetch

Body

application/json
key
string
required

Your API Key used for request authorization

Response

Fetched video response

status
enum<string>

Status of the video generation

Available options:
success,
processing,
error
generationTime
number

Time taken to generate the video in seconds

id
integer

Unique identifier for the video generation

output
string<uri>[]

Array of generated video URLs

Array of proxy video URLs

Array of future video URLs for queued requests

meta
object

Metadata about the video generation including all parameters used

eta
integer

Estimated time for completion in seconds (processing status)

message
string

Status message or additional information

tip
string

Additional information or tips for the user

fetch_result
string<uri>

URL to fetch the result when processing

I