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>"
}
'{
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"future_links": [
"<string>"
],
"meta": {},
"eta": 123,
"message": "<string>",
"tip": "<string>",
"fetch_result": "<string>"
} Video API
Fetch Video
Retrieve queued videos using the Fetch Queued Video API.
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>"
}
'{
"generationTime": 123,
"id": 123,
"output": [
"<string>"
],
"proxy_links": [
"<string>"
],
"future_links": [
"<string>"
],
"meta": {},
"eta": 123,
"message": "<string>",
"tip": "<string>",
"fetch_result": "<string>"
}Request
Send aPOST 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": "your_api_key"
}
Path Parameters
ID of the video to fetch
Body
application/json
Your API Key used for request authorization
Response
Fetched video response
Status of the video generation
Available options:
success, processing, error Time taken to generate the video in seconds
Unique identifier for the video generation
Array of generated video URLs
Array of proxy video URLs
Array of future video URLs for queued requests
Metadata about the video generation including all parameters used
Estimated time for completion in seconds (processing status)
Status message or additional information
Additional information or tips for the user
URL to fetch the result when processing
Was this page helpful?
⌘I

