Skip to content

Gandr TTS with the AI SDK.

The published AI SDK integration for JS. One install, one factory, and the framework's own speech call.

Ask Claude CodeAsk ChatGPT

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 packagesnpm install gandr-ai-sdk ai
A keyGANDR_API_KEY in the environment
Node18 or newer
AI SDKAny recent version

A key and one stream, and your AI SDK app speaks.

Get a key

Full API reference , gandr.ai/docs