ImageModelEndpointsResponse - TypeScript SDK
ImageModelEndpointsResponse - TypeScript SDK
ImageModelEndpointsResponse type definition
The full per-endpoint records for an image model.
ImageModelEndpointsResponse - TypeScript SDK
The full per-endpoint records for an image model.
1 import { ImageModelEndpointsResponse } from "@openrouter/sdk/models"; 2 3 let value: ImageModelEndpointsResponse = { 4 endpoints: [ 5 { 6 allowedPassthroughParameters: [], 7 pricing: [ 8 { 9 billable: "output_image", 10 costUsd: 0.05, 11 unit: "image", 12 }, 13 ], 14 providerName: "Bytedance", 15 providerSlug: "bytedance", 16 providerTag: "bytedance", 17 supportedParameters: { 18 "resolution": { 19 type: "enum", 20 values: [ 21 "1K", 22 "2K", 23 "4K", 24 ], 25 }, 26 }, 27 supportsStreaming: false, 28 }, 29 ], 30 id: "bytedance-seed/seedream-4.5", 31 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
endpoints | models.ImageEndpoint[] | ✔️ | N/A | |
id | string | ✔️ | Model slug | bytedance-seed/seedream-4.5 |