Skip to main content

Runnable examples

The KittenML API examples repository contains small programs and sample audio for every primary inference route.

Clone them. Run them. Change them. Break them. These are deliberately small enough to understand before you carry them into a real application.

TaskcURLPythonNode.js
Upload STTYesOpenAI SDKOpenAI SDK
Upload STT with SSEYes
Realtime STTwebsocketsws
Multi-turn realtime STTwebsockets
Browser WebRTC STTBrowser + Node.js token server
Streaming TTSYesOpenAI SDKOpenAI SDK

Clone and configure

git clone https://github.com/haaziq-sl/kittenml-api-examples.git
cd kittenml-api-examples
export KITTENML_API_KEY="sk_kitten_live_..."

The repository includes a small audio sample, dependency versions, expected terminal output, and a README beside each example.

Pick your path

Happy building, kittens. If an example behaves differently on your audio or in your environment, keep the request_id and tell us what happened.