Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Video input content part (legacy format - deprecated)
:warning: DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.

Example Usage

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

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

Fields

FieldTypeRequiredDescriptionExample
type”input_video”:heavy_check_mark:N/A
videoUrlmodels.ChatContentVideoInput:heavy_check_mark:Video input object{"url": "https://example.com/video.mp4"}