Generate speech
img-cli speech -m vibetoken:minimax/speech-2.8-hd "Welcome back." --voice English_Graceful_Lady -o hello.mp3
Speech results are always saved: to -o, or the current directory.
Pick a voice
models show lists the voices when the plugin declares them:
img-cli models show vibetoken:minimax/speech-2.8-hd
Pass the voice id with --voice. Ids with spaces need quotes:
img-cli speech -m vibetoken:minimax/speech-2.8-hd "你好" --voice "Chinese (Mandarin)_News_Anchor" -o hello.mp3
Speed and format
img-cli speech -m vibetoken:minimax/speech-2.8-hd "Take a deep breath." --speed 0.9 --format wav -o calm.wav
Long text
Read the text from a file with -:
cat script.txt | img-cli speech -m vibetoken:minimax/speech-2.8-hd - --voice English_Graceful_Lady -o narration.mp3
Flags
| Flag | Format |
|---|---|
--voice |
Voice id |
--speed |
Number, such as 1.2 |
--format |
mp3, wav, … |
The full list is in the command reference.