sdk_expose is in them — care,
voices, generations, organization usage and the speech surfaces.
The packages are not published to PyPI/npm yet. Until they are, install them
from a checkout of the repository —
pip install -e sdk/python or
npm install ./sdk/typescript.Client
model_dump() on whatever you pass, so a plain dict raises before the request
is sent.
What the generated clients cover
Multipart uploads and audio responses are handled:
create_speech returns the
audio bytes, and create_voice and create_transcription take a file. The gaps
are the streaming paths — SSE transcription, streamed chat completions, and
/v1/realtime itself, which is a WebSocket and not an OpenAPI operation. For
those, use an OpenAI client against the base URL or the raw socket; see
Speech API and Realtime.
Errors
Everything the SDK raises subclassesEESISdkError, so you can catch the
categories separately or together. ApiError is any non-2xx response and
carries status_code plus the parsed body; RequestTimeoutError names which
phase timed out.
Regenerating
After changing routes or ansdk_expose decorator:
Going further
Authentication
Keys, sessions, and browser clients.
Speech API
The OpenAI-compatible surface the SDKs sit beside.