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

from __future__ import annotations
from openrouter.types import BaseModel
import pydantic
from typing_extensions import Annotated, TypedDict


class STTInputAudioTypedDict(TypedDict):
    r"""Base64-encoded audio to transcribe"""

    data: str
    r"""Base64-encoded audio data (raw bytes, not a data URI)"""
    format_: str
    r"""Audio format (e.g., wav, mp3, flac, m4a, ogg, webm, aac). Supported formats vary by provider."""


class STTInputAudio(BaseModel):
    r"""Base64-encoded audio to transcribe"""

    data: str
    r"""Base64-encoded audio data (raw bytes, not a data URI)"""

    format_: Annotated[str, pydantic.Field(alias="format")]
    r"""Audio format (e.g., wav, mp3, flac, m4a, ogg, webm, aac). Supported formats vary by provider."""
