Bailian CLI command reference for speech synthesis (TTS), speech recognition (ASR), and hot-word vocabulary management.
A single command invokes Bailian's speech synthesis and recognition capabilities from the terminal, with hot-word vocabulary management for improved accuracy.
Manage reusable pre-built hot-word vocabularies to improve ASR accuracy on proper nouns.
Speech synthesis
| Capability | Command | Typical model | Notes | Common options |
|---|---|---|---|---|
| Speech synthesis | bl speech synthesize | cosyvoice-v3-flash | Multi-voice streaming TTS; clone from 5–20s samples | --list-voices, --voice, --instruction natural-language style control, --enable-ssml, --stream, --concurrent, --seed reproducible synthesis |
Speech recognition
| Capability | Command | Typical model | Notes | Common options |
|---|---|---|---|---|
| Speech recognition | bl speech recognize | fun-asr | 30 languages, including Chinese dialects and accents | --diarization speaker separation, --speaker-count, --vocabulary-id hotword list, --vocabulary instant hot words, --context contextual enhancement, --language, --async, --out save result, batch up to 100 files |
Hot-word vocabulary management
Manage reusable pre-built hot-word vocabularies to improve ASR accuracy on proper nouns.
| Capability | Command | Notes |
|---|---|---|
| Create vocabulary | bl speech vocabulary create | Create a reusable hot-word vocabulary |
| List vocabularies | bl speech vocabulary list | List all hot-word vocabularies |
| Vocabulary details | bl speech vocabulary get | Show details of a specific vocabulary |
| Update vocabulary | bl speech vocabulary update | Update hot-word vocabulary content |
| Delete vocabulary | bl speech vocabulary delete | Delete a hot-word vocabulary |