ChatContentVideo - TypeScript SDK

ChatContentVideo type definition

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

Video input content part

Example Usage

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

Fields

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