The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { FrameImage } from "@openrouter/sdk/models";
let value: FrameImage = {
imageUrl: {
url: "https://example.com/image.png",
},
type: "image_url",
frameType: "first_frame",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
imageUrl | models.FrameImageImageUrl | :heavy_check_mark: | N/A | |
type | models.FrameImageType | :heavy_check_mark: | N/A | |
frameType | models.FrameType | :heavy_check_mark: | Whether this image represents the first or last frame of the video | first_frame |