"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations from .capabilitydescriptor import CapabilityDescriptor, CapabilityDescriptorTypedDict from .imagemodelarchitecture import ( ImageModelArchitecture, ImageModelArchitectureTypedDict, ) from openrouter.types import BaseModel from typing import Dict from typing_extensions import TypedDict class ImageModelListItemTypedDict(TypedDict): r"""A single image model in the discovery listing.""" architecture: ImageModelArchitectureTypedDict created: int r"""Unix timestamp (seconds) of when the model was created""" description: str endpoints: str r"""Relative URL to the full per-endpoint records for this model""" id: str r"""Model slug""" name: str r"""Display name""" supported_parameters: Dict[str, CapabilityDescriptorTypedDict] r"""Union of supported parameters across every endpoint of this model. Coarse discovery aid; the definitive per-endpoint set is behind the endpoints URL.""" supports_streaming: bool r"""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.""" class ImageModelListItem(BaseModel): r"""A single image model in the discovery listing.""" architecture: ImageModelArchitecture created: int r"""Unix timestamp (seconds) of when the model was created""" description: str endpoints: str r"""Relative URL to the full per-endpoint records for this model""" id: str r"""Model slug""" name: str r"""Display name""" supported_parameters: Dict[str, CapabilityDescriptor] r"""Union of supported parameters across every endpoint of this model. Coarse discovery aid; the definitive per-endpoint set is behind the endpoints URL.""" supports_streaming: bool r"""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."""