Generate speech from text.

Synopsis


Description

Converts text to speech using a TTS model. The OSS server emits WAV audio for the CLI path, with voice selection and real-time streaming.

Kokoro-82M Prerequisite (espeak-ng)

Kokoro-82M requires espeak-ng to be installed on the host system (used for phonemization).

Arguments


Options


Examples

Basic usage

Kokoro-82M

Request playback

The current CLI still saves the generated audio, then reports that playback is not implemented in this version.

WAV output

Adjust speed

Read from stdin

CustomVoice speaker presets

Reference-audio voice cloning

Base and VibeVoice models can clone from a reference audio sample. Provide the audio and matching transcript together:
For longer transcripts, read the reference text from a file:

Saved voice reuse

Saved voices created through Voice Studio or /v1/voices can be reused without resending reference audio:
Do not combine --saved-voice-id with --reference-audio or --reference-text; choose one voice source per request.

Prompt-based voice design

VoiceDesign models accept a natural-language direction prompt:

Streaming with playback request


Audio Formats


Models


See Also