Generate natural, human-like speech from text using state-of-the-art TTS models.

Overview

Izwi’s text-to-speech converts written text into spoken audio. Features include:
  • Natural voices — High-quality, expressive speech
  • Local audio output — WAV for files and raw PCM for low-level API clients
  • Speed control — Adjust playback speed
  • Streaming — Real-time audio generation
  • Local processing — No cloud, complete privacy

Getting Started

Download a TTS Model

Kokoro-82M Prerequisite (espeak-ng)

If you plan to use Kokoro-82M, install espeak-ng on your system first. Izwi uses it for Kokoro phonemization and will return an error if it is missing.

Generate Speech

Command line:
Request playback:
The current CLI saves the audio and reports playback as not implemented. Use your system audio player to open the generated file.

Using the CLI

Basic Usage

Options

Examples

WAV output:
Adjust speed:
Read from stdin:
Streaming output:
Clone from reference audio:
Reuse a saved voice:
Design a prompted voice:

Using the Web UI

  1. Navigate to Text to Speech in the sidebar
  2. Enter your text in the input field
  3. Select a voice (if available)
  4. Click Generate
  5. Play or download the audio

Features

  • Live preview — Hear audio as it generates
  • Download — Save audio files locally
  • History — Access recent generations

Using the API

Endpoint

Request

Response

Binary audio data with appropriate Content-Type header. Set stream to true or stream_format to sse to receive server-sent audio events instead of one binary response. See the API Reference for streaming event shapes, voice-cloning fields, saved voices, and model-specific controls.

Example (curl)


Available Models

For reference-audio cloning, use Base variants or VibeVoice-1.5B.
For built-in voice presets, use CustomVoice variants.
For prompt-based voice design, use VoiceDesign variants. Kokoro-82M requires espeak-ng to be installed separately. Voxtral-4B-TTS-2603 supports 20 preset voices and emits 24 kHz audio. Its model and bundled voice assets inherit a CC BY-NC 4.0 license. For built-in speaker IDs, see Voice Presets.

Audio Formats


Tips

  1. Punctuation matters — Use proper punctuation for natural pauses
  2. Break long text — Split very long text into paragraphs
  3. Test different speeds — Find the right pace for your use case
  4. Use appropriate models — Larger models = better quality but slower

See Also