LegacyChatContentVideo - TypeScript SDK

LegacyChatContentVideo type definition

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

Video input content part (legacy format - deprecated)

⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.

Example Usage

1import { LegacyChatContentVideo } from "@openrouter/sdk/models";
2
3let value: LegacyChatContentVideo = {
4 type: "input_video",
5 videoUrl: {
6 url: "https://example.com/video.mp4",
7 },
8};

Fields

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