VideoGenerationResponse - TypeScript SDK

VideoGenerationResponse type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { VideoGenerationResponse } from "@openrouter/sdk/models";
2
3let value: VideoGenerationResponse = {
4 id: "job-abc123",
5 pollingUrl: "/api/v1/videos/job-abc123",
6 status: "pending",
7};

Fields

FieldTypeRequiredDescriptionExample
errorstringN/A
generationIdstringThe generation ID associated with this video generation job. Available once the job has been processed.
idstring✔️N/A
pollingUrlstring✔️N/A
statusmodels.VideoGenerationResponseStatus✔️N/A
unsignedUrlsstring[]N/A
usagemodels.VideoGenerationUsageUsage and cost information for the video generation. Available once the job has completed.{"cost": 0.5,"is_byok": false}