"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


class ContentPartImageImageURLTypedDict(TypedDict):
    url: str


class ContentPartImageImageURL(BaseModel):
    url: str


ContentPartImageType = Literal["image_url",]


class ContentPartImageTypedDict(TypedDict):
    image_url: ContentPartImageImageURLTypedDict
    type: ContentPartImageType


class ContentPartImage(BaseModel):
    image_url: ContentPartImageImageURL

    type: ContentPartImageType
