Python
Install and initialize the official OrbitalsAI Python client.
The orbitalsai package provides synchronous and asynchronous clients for recorded transcription, text operations, text-to-speech, voice cloning, and chat, plus dedicated realtime streaming clients.
Install
To convert audio files or capture microphone input before streaming:
The package supports Python 3.8 and newer.
Configure your API key
Store the key in the environment rather than in source code:
Create a synchronous client:
The default REST base URL is https://api.orbitalsai.com/api/v1.
For an asynchronous application, use the context-managed client so its HTTP session is closed correctly:
Choose a guide
Recorded transcription
Upload audio and let the client wait for the transcript.
Realtime streaming
Send PCM audio and handle partial, final, and translation events.
Translation
Translate between 19 languages.
Summarization
Create short, detailed, or structured summaries.
PII redaction
Replace supported sensitive values with placeholders.
Chat
Generate stateless multilingual assistant responses.
Text-to-speech
Generate and stream WAV speech.
Voice cloning
Generate speech from caller-provided reference audio.
Errors and retries
Handle typed client and service failures.
See Pricing and usage for current rate discovery through client.get_pricing().