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

Example Usage

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

let value: ResponseInputVideo = {
  type: "input_video",
  videoUrl: "https://example.com/video.mp4",
};

Fields

FieldTypeRequiredDescription
type”input_video”:heavy_check_mark:N/A
videoUrlstring:heavy_check_mark:A base64 data URL or remote URL that resolves to a video file