We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.
inworld/inworld-tts-2Expressive speech you can direct, 54.874 credits per 1,000 characters
Inworld's text-to-speech model. It turns text into natural speech in four preset voices, and you direct the delivery from inside the text: an instruction in square brackets before a line, such as [say warmly, slowly], sets the tone, and sounds such as [laugh] or [sigh] are spoken in place. Write the instruction in English, even for French text. French and English. Up to 2,000 characters per request, billed per character: 54.874 credits per 1,000.
Last updated Nov 26, 2026
Square-bracket instructions set tone and pace, written in English even for French text
Sounds such as [laugh], [sigh] and [breathe] are spoken where you place them
Ashley, Dennis, Alex and Darlene
The language follows your text
mp3, wav, flac or opus, with speed from 0.5x to 1.5x
Billed per character, up to 2,000 characters per request
Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.
Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.
import Tchavi from '@tchavi/sdk';
import fs from 'fs';
const client = new Tchavi({ apiKey: 'API_KEY' });
const response = await client.audio.speech.create({
"model": "inworld-tts-2",
"input": "Hello, world!",
"voice": "Ashley",
"response_format": "mp3"
});
const buffer = Buffer.from(await response.arrayBuffer());
fs.writeFileSync('speech.mp3', buffer);
console.log('X-Credits-Used:', response.headers.get('x-credits-used'));Every parameter this model accepts on the API. Check the SDK for full typings.
modelRequiredTTS model (e.g. `inworld-tts-2`).
inputRequiredThe text to synthesize.
voiceRequiredOne of this model's 4 preset voices, e.g. `Ashley`. Any other value is refused with a 400, free of charge.
response_format"mp3"Audio container format.