inferenceClient.videos.retrieve()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

inferenceClient.videos.retrieve(videoId: string, query?: Record<string, any>): Promise<any>

Description

Returns the current state of a video generation job. Poll until status reaches a terminal value such as completed or failed.

Parameters

video_id string required

Example: video_bGl0ZWxsbTpjdXN0b21fbGxtX3Byb3ZpZGVyOm9wZW5haTttb2RlbF9pZDo7dmlkZW9faWQ6ZGExYjFmYzMtYTM3NC00MmM0LTgxMWMtOWE5NmE3ZWY0OTIz

The video generation job identifier.

Request Sample

Show Request Sample
import { InferenceClient } from "@digitalocean/dots";

const inferenceClient = new InferenceClient({
    apiKey: process.env.MODEL_ACCESS_KEY!,
});

const response = await inferenceClient.videos.retrieve("your_video_id");

Response Example

Show Response Example
{
  "id": "video_bGl0ZWxsbTpjdXN0b21fbGxtX3Byb3ZpZGVyOm9wZW5haTttb2RlbF9pZDo7dmlkZW9faWQ6ZGExYjFmYzMtYTM3NC00MmM0LTgxMWMtOWE5NmE3ZWY0OTIz",
  "object": "video",
  "created_at": 1777003604,
  "model": "wan2.2-t2v-a14b",
  "status": "processing",
  "output": {
    "url": "https://example.com/output.mp4"
  },
  "x_request_id": "string"
}

More Information

See /v1/videos/{video_id} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.