Files
openrouter-python-sdk-retry…/src/openrouter/components/imagemodellistitem.py
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
5e0b1a2b69 chore: 🐝 Update SDK - Generate 0.10.1 (#366)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-06-25 22:01:36 +00:00

57 lines
2.0 KiB
Python

"""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."""