mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
26 lines
831 B
Python
26 lines
831 B
Python
"""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."""
|