IzwiIzwi

CLI Reference

The izwi command-line interface provides complete control over Izwi's audio inference capabilities.

Installation

The CLI is installed automatically with Izwi. Verify installation:

izwi --version

Global Options

These options work with all commands:

OptionDescription
--server <URL>Server URL (default: http://localhost:8080)
--config <PATH>Configuration file path
--output-format <FORMAT>Output format: table, json, plain, yaml
--quietSuppress all output except results
--verboseEnable verbose output
--no-colorDisable colored output
--helpShow help information
--versionShow version

Commands

Server

CommandDescription
serveStart the inference server
statusShow server health and status

Models

CommandDescription
listList available models
pullDownload a model
rmRemove a downloaded model
modelsModel management subcommands

Inference

CommandDescription
ttsText-to-speech generation
transcribeSpeech-to-text transcription
diarizeSpeaker diarization
alignForced alignment
chatInteractive chat

Utilities

CommandDescription
benchRun benchmarks
configManage configuration
completionsGenerate shell completions
versionShow version information

Quick Examples

Start the server

izwi serve izwi serve --mode desktop izwi serve --port 9000

Download and use models

izwi list izwi pull qwen3-tts-0.6b-base izwi list --local

Generate speech

izwi tts "Hello world" --output hello.wav izwi tts "Hello world" --play

Transcribe audio

izwi transcribe audio.wav izwi transcribe audio.wav --format json

Speaker diarization

izwi diarize meeting.wav izwi diarize meeting.wav --transcribe --num-speakers 3

Forced alignment

izwi align audio.wav "Hello world, this is a test."

Interactive chat

izwi chat izwi chat --model gemma-3-1b-it --system "You are a helpful assistant"

Getting Help

Get help for any command:

izwi --help izwi serve --help izwi tts --help

Environment Variables

VariableDescription
IZWI_HOSTServer host
IZWI_PORTServer port
IZWI_MODELS_DIRModels directory
IZWI_USE_METALEnable Metal acceleration
IZWI_MAX_BATCH_SIZEMaximum batch size
IZWI_MAX_CONCURRENTMaximum concurrent requests
IZWI_TIMEOUTRequest timeout (seconds)
RUST_LOGLog level
NO_COLORDisable colored output

See Also