Gandr TTS with the AI SDK.
The published AI SDK integration for JS. One install, one factory, and the framework's own speech call.
The whole integration
Install both packages, create, generate.
Integration
npm install gandr-ai-sdk ai
import { createGandr } from 'gandr-ai-sdk';
const gandr = createGandr(); // key from GANDR_API_KEY
const audio = await gandr.generateSpeech('Hello from Gandr.');
The integration returns audio in the AI SDK shape, so it drops into existing AI SDK apps. Node 18 or newer.
What it needs
What it takes
| Two packages | npm install gandr-ai-sdk ai |
| A key | GANDR_API_KEY in the environment |
| Node | 18 or newer |
| AI SDK | Any recent version |