The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ChatContentVideo } from "@openrouter/sdk/models";
let value: ChatContentVideo = {
type: "video_url",
videoUrl: {
url: "https://example.com/video.mp4",
},
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type | ”video_url” | :heavy_check_mark: | N/A | |
videoUrl | models.ChatContentVideoInput | :heavy_check_mark: | Video input object | {"url": "https://example.com/video.mp4"} |