Index of every page on this site: llms.txt
All skills
vois-so avatar

/vois-cli

@e0e7827
by vois.sovois-so/skills1 stars
Run it yourself

Operates Vois Studio from the command line with vois-cli to make voice audio files on the computer of the user. It finds the CLI and reads the plan from status. It selects an engine and a voice ID. It generates one file or a batch, makes a script with speakers, and exports for a platform. It also cancels a task and reads the exit codes. Use when the user says "generate a voiceover with Vois", "turn this text into a WAV", "batch these lines", "export this for Spotify", "use vois-cli", "automate Vois Studio" or "make audio with Vois". The CLI operates on the Pro plan, a Subscriber plan, AppSumo Lifetime Tier 2 or 3, or Free with export credits. On Free with no credits, only speak operates, and it speaks the text aloud with no file.

  • 6 files
  • 52.9 KB
  • MIT
  • Updated last week
  • GitHub
Use this Skill: https://skilld.dev/gh/vois-so/skills/vois-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescommands.md

≈2.9k tokens on demand. Your agent reads this file only when SKILL.md points to it.

vois-cli commands

This file gives the flags of the commands that the vois-cli skill uses. The flags come from vois-cli <group> <command> --help of Vois Studio 2.6.3. A flag that is only in 2.6.3 and after shows "2.6.3+". If a flag is not in this file, look at --help before you use it.

All commands accept --format human, --format json or --format quiet (or -f). The default is human. Use json when a script or an agent reads the result. Vois Studio uses the first value that it finds: the flag, the environment, cli.toml, and then the built-in default.

In cli.toml In the environment Values
format VOIS_FORMAT human, json, quiet
voice VOIS_VOICE a voice ID
engine VOIS_ENGINE fast, expressive, multilingual, omni, sonic, craft
quality VOIS_QUALITY the same six values
language VOIS_LANGUAGE a language name, for example English

A key that is not correct in cli.toml stops each command with exit code 3. Do not make or change cli.toml without approval.

status

vois-cli status --format json

No other flags. The fields are in the skill, Step 2.

service

Command Flags What it does
service start --wait <SECS> (default 60) Starts Vois Studio with no window. If Vois Studio is open, it does nothing.
service stop --wait <SECS> (default 30) Stops the service only. It cannot stop the desktop app.
service status none Shows the host: gui for the desktop app, or the service.

license and credits

Command Flags What it does
license status none Shows the license and the access.
license activate [KEY], --force The user types the key, or gives it on stdin. --force removes the key from a different device. In 2.6.3 and after, when the key is active on its maximum number of devices, the error tells you to use --force. The exit code does not change. Get approval before you use --force.
license deactivate --yes (-y) Removes the license from this computer. With --format json, --yes is necessary.
credits sync none Gets the export credit balance from the server.
credits reconcile --charge <ID> Use it only when support@vois.so tells the user to use it.

tts generate

vois-cli tts generate --engine <id> --voice <id> --language <name> \
  --text "<text>" --output "<absolute path>.wav" --format json
Flag Value Notes
-t, --text text, or - - reads stdin. Text on stdin also operates without --text.
-v, --voice a voice ID Default: VOIS_VOICE, then cli.toml. Sonic uses sonic_cedar if there is no Sonic voice.
-o, --output a path, or - This flag is necessary. - writes the WAV bytes to stdout.
-s, --speed 0.5 to 2.0 Default 1.0.
-q, --quality an engine ID A preference only. Default expressive.
--engine an engine ID The engine for this task. Use it each time.
-l, --language a name or auto Default auto. Give the language each time.
--seed a number The same seed can give the same audio on some engines.
-i, --instruct plain words Omni and Craft only. The other engines ignore it.
--diffusion-steps 4 to 64 Omni only. Default 10.
--guidance-scale 0.5 to 5.0 Omni only. Default 2.0.
--voice-design-instruct plain words Omni only. A description of the voice.

With --output -, stdout has only the audio. The result line goes to stderr.

tts batch-file

Flag Value Notes
-i, --input a text file, or - One line of text for each output file.
-o, --output-dir a folder This flag is necessary.
-p, --prefix text Default line. The files are <prefix>_0001.wav and the subsequent numbers.
--skip-existing none Does not generate a line again if its file is there.
-I, --instruct plain words Omni and Craft only. It applies to all lines. The short flag is a capital I.
--seed a number 2.6.3+. Sends the same seed with each line. Sonic does not use it. An item of results with "status": "success" shows its seed, but not on Sonic. A failed or interrupted item does not show a seed.

--voice, --speed, --language, --quality, --engine, --diffusion-steps, --guidance-scale and --voice-design-instruct are the same as in tts generate.

The JSON result has total, success, failed, skipped, failed_lines, interrupted and results.

Other tts commands

Command Flags What it does
tts preview --voice, --text, --language Makes an encrypted audition in Vois Studio. It writes no file that you can play. It has no --engine flag, and it does not operate with Sonic voices.
tts silence -d, --duration <MS> (necessary), -o, --output Writes a silent WAV file.
tts generate-voice-design -d, --voice-design (necessary), -t, -o, -s, -l, --diffusion-steps, --guidance-scale Pro only. Makes audio from a description of a voice, with Omni. It does not save a voice.
tts cancel none Stops the tasks that CLI clients started.
tts status none Shows the engine that is in memory.

voice

Command Flags What it does
voice list --source <type>, --engine <id>, --gender <male or female>, --category <slug> Shows the voices. The type is library, builtin, cloned, designed or all (default).
voice get -i, --id <ID> Shows one voice. An ID that is not there gives exit code 4.
voice search -q, --query <TEXT> Finds words in the name, the description and the tags.
voice clone-list none Shows the cloned voices.
voice design-list none Shows the designed voices.
voice clone -a, --audio <PATH>, -n, --name, --transcript, --consent-confirmed, --notes Clones a voice from 5 to 60 seconds of audio. The transcript must be the words in the recording. Only with the consent of the owner of the voice.
voice clone-delete -s, --slug, --force Deletes a cloned voice.
voice design-delete -s, --slug, --force Deletes a designed voice.

project, script and speaker

Command Flags
project create -n, --name (necessary), -d, --description
project list none
project get -i, --id
project update -i, --id, -n, --name, -d, --description
project delete -i, --id, --force
script create -p, --project, -t, --title, -c, --content, --content-file <PATH or ->
script list -p, --project
script get -i, --id
script update -i, --id, -t, --title, -c, --content, --content-file
script delete -i, --id, --force
script reorder -p, --project, -o, --order <ID,ID,...>
script generate -i, --id, -v, --voice (default voice for a line with no speaker), -s, --speed, -l, --language, --engine <id> (2.6.3+), -I, --instruct (2.6.3+)
script segments -i, --id
speaker create -s, --script, -n, --name, -v, --voice (default alba), -c, --color <hex> (default #6366f1)
speaker list -s, --script
speaker update -i, --id, -v, --voice, -b, --blend <JSON>
speaker delete -i, --id

In 2.6.3 and after, script generate --engine sets the engine for this command only. It does not change the selected engine of the app. VOIS_ENGINE and cli.toml do not apply to script generate. --instruct gives a direction to each line. Omni and Craft use it. In 2.6.2, script generate has no --engine flag and no --instruct flag.

In 2.6.3 and after, speaker create and speaker update do not accept a voice ID that does not identify a voice. They stop with exit code 4 and data.reason: "voice_not_found", and the speaker does not change.

In 2.6.3 and after, speaker create adds a speaker only if the script text has the speaker tag of that speaker, not in a code block. If not, it stops with exit code 1 and data.reason: "speaker_not_in_script". script update stops with exit code 1 and data.reason: "code_block_needs_editor" when the new text adds a code block to a script with recorded lines. Refer to errors.

export

Command Flags What it does
export with-profile -i, --input, -o, --output, -p, --profile Masters the audio to the loudness of the export profile.
export mp3 -i, -o, -b, --bitrate (64, 128, 192, 256 or 320, default 192) Makes an MP3 file.
export audio -i, -o, --audio-format <format>, -b, --bitrate (MP3 and AAC: 64, 128, 192, 256 or 320), --bit-depth <16, 24 or 32> (WAV and FLAC, default 16), --sample-rate, --normalize, --target-lufs Makes a file in a different format: mp3 (default), wav, flac, aac or m4a. --normalize uses the values from mastering set.
export compile-script -s, --script, -o, --output <absolute path> (2.6.3+) Puts the lines of a script together into one WAV file in the data folder of Vois Studio. --output also writes a copy to the path. The JSON result then has output. The CLI does not accept -.
export compile-project -p, --project, -o, --output <absolute path> (2.6.3+) Puts the scripts of a project together into one file. --output is the same as for compile-script.
export profiles none Shows the export profiles.
export profile -i, --id Shows one export profile.

The input of an export must be a WAV file with 5 seconds of audio or more.

In 2.6.3 and after, the output path of export with-profile, export mp3, export audio and --output of compile-script and compile-project cannot be in a data folder of Vois Studio. The same rule applies to tts generate, tts silence, tts generate-voice-design and tts batch-file. Refer to "Output paths" in errors.

model

Command Flags What it does
model list none Shows the six engines, the download in MB or GB, and if Vois Studio installed each engine.
model status none Shows the engines that are in memory.
model download -m, --model <id>, -l, --language <code> (Fast only) Downloads an engine and waits until the install is complete. For Fast, the code is en (default), de, es, it or pt.
model switch -e, --engine <id>, --provider <name>, --quant <name> Loads an engine and makes it the selected engine of the app. The provider is auto (default), coreml, directml, cpu or cuda. The quant is auto (default), fp16 or fp32.

speak

printf 'Text to speak.\n' | vois-cli speak --follow --play --language English --voice sonic_cedar
Flag Notes
--follow Necessary. Reads stdin and speaks each phrase when the phrase ends.
--play Necessary. Plays the voice on the default output device. It does not save the voice.
-v, --voice A Sonic voice. Default sonic_cedar.
-s, --speed 0.5 to 2.0. Default 1.0.
-l, --language Give the language. With auto, a short first phrase can stop with exit code 64.
--seed A number for the same result each time.
--owner-key, --cancel-session <ID> Stop a speak session from a different shell.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e0e7827. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated last week
metadata
{
  "author": "vois-so",
  "version": "0.2.0"
}
Other metadata
compatibility
Vois Studio 2.6.2+ on an Apple Silicon Mac or Windows, vois-cli (Vois Studio installs it), and optionally ffprobe or Node.js 18+ to examine the output files.

README badge

README badge for vois-so/skills/vois-cli