JellyPod Speech SDK
Use Smallest AI as a TTS provider in the JellyPod Speech SDK — a universal, cross-platform TypeScript SDK that works in Node.js, edge runtimes, and the browser. Switch between providers without changing your application code.
Installation
Setup
Get your API key from app.smallest.ai and set it as an environment variable:
Generate Speech
Add this inside any TypeScript/JavaScript file in your project — an API route, a server action, a backend script, or a CLI tool:
The createSmallestAI() factory reads SMALLEST_API_KEY from the environment automatically if no apiKey is passed.
Provider Options
All parameters are optional. Pass them via providerOptions to override defaults:
Save to File (Node.js)
Available Voices
80+ voices across English, Hindi, Spanish, and Tamil. A few popular ones:
Fetch the full list:
Switching Providers
One of the main benefits of the Speech SDK is swapping providers without changing application logic. To switch away from Smallest AI, replace the factory import:
Everything else — generateSpeech, result shape, metadata — stays identical.

