ContentPartInputVideo - TypeScript SDK

ContentPartInputVideo type definition

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

Example Usage

1import { ContentPartInputVideo } from "@openrouter/sdk/models";
2
3let value: ContentPartInputVideo = {
4 inputVideo: {
5 data: "data:video/mp4;base64,AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQy...",
6 },
7 type: "input_video",
8};

Fields

FieldTypeRequiredDescriptionExample
inputVideomodels.MultimodalMedia✔️N/A{"data": "data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...","format": "wav"}
type”input_video”✔️N/A