ImageModelListItem - Go SDK
ImageModelListItem - Go SDK
ImageModelListItem type definition
The Go SDK and docs are currently in beta. Report issues on GitHub.
A single image model in the discovery listing.
ImageModelListItem - Go SDK
The Go SDK and docs are currently in beta. Report issues on GitHub.
A single image model in the discovery listing.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Architecture | components.ImageModelArchitecture | ✔️ | N/A | {"input_modalities": ["text","image"],"output_modalities": ["image"]} |
Created | int64 | ✔️ | Unix timestamp (seconds) of when the model was created | 1692901234 |
Description | string | ✔️ | N/A | A text-to-image model. |
Endpoints | string | ✔️ | Relative URL to the full per-endpoint records for this model | /api/v1/images/models/bytedance-seed/seedream-4.5/endpoints |
ID | string | ✔️ | Model slug | bytedance-seed/seedream-4.5 |
Name | string | ✔️ | Display name | Seedream 4.5 |
SupportedParameters | map[string]components.CapabilityDescriptor | ✔️ | Union of supported parameters across every endpoint of this model. Coarse discovery aid; the definitive per-endpoint set is behind the endpoints URL. | {"output_compression": {"max": 100,"min": 0,"type": "range"},“resolution”: {"type": "enum","values": ["1K","2K","4K"]},“seed”: {"type": "boolean"}} |
SupportsStreaming | bool | ✔️ | Whether any endpoint of this model supports native SSE streaming on the dedicated Image API (i.e. stream: true in the request). OR across endpoints. | false |