Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { VideoGenerationResponse } from "@openrouter/sdk/models";

let value: VideoGenerationResponse = {
  id: "job-abc123",
  pollingUrl: "/api/v1/videos/job-abc123",
  status: "pending",
};

Fields

FieldTypeRequiredDescriptionExample
errorstring:heavy_minus_sign:N/A
generationIdstring:heavy_minus_sign:The generation ID associated with this video generation job. Available once the job has been processed.
idstring:heavy_check_mark:N/A
pollingUrlstring:heavy_check_mark:N/A
statusmodels.VideoGenerationResponseStatus:heavy_check_mark:N/A
unsignedUrlsstring[]:heavy_minus_sign:N/A
usagemodels.VideoGenerationUsage:heavy_minus_sign:Usage and cost information for the video generation. Available once the job has completed.{"cost": 0.5,"is_byok": false}