The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ChatContentImage } from "@openrouter/sdk/models";
let value: ChatContentImage = {
imageUrl: {
url: "https://vague-assist.org/",
},
type: "image_url",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
imageUrl | models.ChatContentImageImageUrl | :heavy_check_mark: | N/A |
type | ”image_url” | :heavy_check_mark: | N/A |