vtubestudio-cli (vts)

CLI program for sending one-off requests to the [VTube Studio API]. It connects to the websocket, authenticates, performs one or two other requests, and then disconnects and exits.

The primary use case is to do infrequent actions such as triggering hotkeys or registering custom parameters, without needing to establish a long-running websocket connection.

For more complex tasks, you might want to look at client libraries like [vtubestudio-rs] (the Rust library that this program uses under the hood).

Download

Check the releases page to download prebuilt binaries for your platform.

Otherwise you can use cargo install vtubestudio-cli or build it manually from this repo using cargo build --release.

Initialization

vts reads auth token info from a JSON config file whose default location depends on platform.

To generate the config in the default location, you can run:

sh vts config init

This will register the plugin with the VTube Studio API (the user will get a pop-up in the app asking for confirmation) and save the token for use in future calls. The plugin name and developer name can be customized with --plugin-name and --developer-name, respectively.

Config file location

By default, the config file can be found at:

This path can be overridden by setting the VTS_CONFIG environment variable or passing the --config-file flag.

You can also run vts config path to show the path to the config, or vts config show to show the contents of the config file.

Usage

Hotkeys

Artmeshes

Params

Models

Expressions

Physics

Others

sh vts --help