ContentPartImage - TypeScript SDK
ContentPartImage - TypeScript SDK
ContentPartImage type definition
ContentPartImage - TypeScript SDK
1 import { ContentPartImage } from "@openrouter/sdk/models"; 2 3 let value: ContentPartImage = { 4 imageUrl: { 5 url: "https://example.com/image.png", 6 }, 7 type: "image_url", 8 };
| Field | Type | Required | Description |
|---|---|---|---|
imageUrl | models.ContentPartImageImageUrl | ✔️ | N/A |
type | models.ContentPartImageType | ✔️ | N/A |