ImageModelsListResponse - TypeScript SDK

ImageModelsListResponse type definition

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

List of image generation models.

Example Usage

1import { ImageModelsListResponse } from "@openrouter/sdk/models";
2
3let value: ImageModelsListResponse = {
4 data: [
5 {
6 architecture: {
7 inputModalities: [
8 "text",
9 ],
10 outputModalities: [
11 "image",
12 ],
13 },
14 created: 1692901234,
15 description: "A text-to-image model.",
16 endpoints: "/api/v1/images/models/bytedance-seed/seedream-4.5/endpoints",
17 id: "bytedance-seed/seedream-4.5",
18 name: "Seedream 4.5",
19 supportedParameters: {
20 "resolution": {
21 type: "enum",
22 values: [
23 "1K",
24 "2K",
25 "4K",
26 ],
27 },
28 },
29 supportsStreaming: false,
30 },
31 ],
32};

Fields

FieldTypeRequiredDescription
datamodels.ImageModelListItem[]✔️N/A