Realtime TTS-2 is live. Built for realtime conversation that feels human. Read the Realtime TTS-2 announcement

TTS overview

Turn text into natural, expressive speech with Inworld TTS, and make your first request.

Inworld TTS turns text into natural, expressive speech. Give your app, agent, or character a voice, narrate long content, or clone and design voices. The Realtime TTS-2 models speak 200+ languages, stream the first audio in tens of milliseconds, and let you steer emotion and delivery in natural language.

Using AI to code? Give your assistant the docs index at https://docs.inworld.ai/llms.txt. For live search, add the MCP server.

Prefer the terminal? Install the Inworld CLI with npm install -g @inworld/cli. Use it to generate speech and audiobooks, or clone and design voices. AI agents can use it too.

Your first request

Install the SDK with npm install @inworld/tts or pip install inworld-tts. Set INWORLD_API_KEY to the Base64 credential from the Portal, then generate an audio file:

JavaScript
import { InworldTTS } from '@inworld/tts';
import fs from 'fs';

const tts = InworldTTS();

const audio = await tts.generate({
    text: 'What a wonderful day to be a text-to-speech model!',
    voice: 'Ashley',
});

fs.writeFileSync('output.mp3', audio);

The quickstart explains this request step by step. It also covers streaming, which we recommend for realtime applications.

Explore

To generate text with an LLM and speak it in one API call, use Voice responses. For a live two-way conversation, use the Realtime API.