Skip to main content
GET
/
v2
/
videos
/
generations
/
{id}
Node.js
import GetimgAI from "getimg-ai";

const client = new GetimgAI();

const result = await client.videos.generations.retrieve("req-01HXYZVIDEO1234");
{
  "id": "req-01HXYZVIDEO1234",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

Send your API key as a bearer token: Authorization: Bearer sk_<secret>.

Path Parameters

id
string
required

Generation request ID.

Minimum string length: 1

Response

Current video generation status.

id
string
required

The ID of the generation request.

status
string
required

The status of the generation request.

Allowed value: "pending"