The VTube Studio connection lets your avatar take part in the stream’s interactions. You can trigger a hotkey or expression from the dashboard, then use the same actions in a command, reward or event response through a pipeline. Connect and test the model first on VTube Studio, in the sidebar’s Live group.
The page separates the connection from everyday controls: Connection sets up access, Hotkeys loads models and triggers hotkeys, and Expressions switches expressions on or off. Once the link works, moderators can use those controls without changing its connection details.
Who can use this page
A Moderator or higher may open the page and see the link. A Moderator or higher may also load models, fire hotkeys and set expressions. Only the Broadcaster may change the link, approve it and rotate the bridge token.
For anyone else, the Connection form shows but cannot be changed. The Load model, Trigger, Activate and Deactivate buttons show only to someone who may control the model.
Link VTube Studio
Start VTube Studio and enable plugin API access in its settings before asking the bot to connect. VTube Studio’s plugin setup guide explains that setting and where to check the actual port. The direct setup below assumes the bot can reach the computer running VTube Studio.
- Open VTube Studio in the sidebar. The Connection tab opens.
- Switch on Link to VTube Studio.
- Leave Connection type at Direct and Address at
ws://localhost:8001. Address is one field that holds the whole address. The default fits VTube Studio on the same computer as the bot, unless the streamer changed its address in VTube Studio. - Choose Save.
- Choose Authorize. The button shows Waiting for approval, and the page shows “Click Allow in VTube Studio. This waits up to a minute.”
- In VTube Studio, click Allow. Approval now shows “Approved. The bot keeps the key.”
After the status becomes Connected, open Hotkeys and trigger a hotkey you recognize. Confirm the change in VTube Studio before attaching it to a reward or automated response. This checks both access and the selected model’s own hotkeys.
The status at the top of the page and beside VTube Studio tells you the state of the link.
| Status | Dot | What it means |
|---|---|---|
| The link to VTube Studio is switched off | gray | Link to VTube Studio is off. |
| Waiting for your approval in VTube Studio | orange | The link is on, but VTube Studio has not approved the bot. |
| Approved, not connected yet | orange | VTube Studio approved the bot. The bot has not connected yet. |
| Connected | green | The bot is connected. The other two tabs work. |
| The link to VTube Studio failed | red | The bot could not reach VTube Studio. |
When the bot has connected once, Last connected shows how long ago that was.
Settings on the Connection tab
| Label | What it does | Default |
|---|---|---|
| Link to VTube Studio | Switches the link on or off. When it is off, every VTube Studio action is refused. | Off |
| Connection type | Direct: the bot dials VTube Studio itself at Address. Bridge: the bot reaches VTube Studio through a browser source in OBS on the streamer’s computer. | Direct |
| Address | The VTube Studio address for Direct. It starts with ws:// or wss://. An empty box saves the default. | ws://localhost:8001 |
| Events to listen to | The VTube Studio events the bot listens to. | The first eight events |
The events in Events to listen to are Model loaded, Tracking status changed, Background changed, Model settings changed, Hotkey triggered, Model clicked, Items, Post processing, Model moved (high volume), Model outline (high volume) and Model animation (high volume). The last three send many events per second, so they are off by default.
Bridge is an advanced alternative for a bot on another computer. It sends requests through the OBS control browser source on the streaming PC, which then connects to local VTube Studio. That browser source must stay loaded; the direct Authorize button is not the bridge’s approval flow. Use the OBS browser-source setup for the bridge page and approve the plugin request inside VTube Studio when the bridge connects.
Load a model or fire a hotkey
- Open the Hotkeys tab.
- Pick a model in Model and choose Load model. VTube Studio loads that model.
- Pick a hotkey in Hotkey and choose Trigger. VTube Studio runs that hotkey.
The Hotkey list holds the hotkeys of the model that is loaded now. Until the link shows Connected, the tab shows “This shows once VTube Studio is linked.”
Turn an expression on or off
- Open the Expressions tab.
- Pick an expression in Expression.
- Choose Activate to turn it on, or Deactivate to turn it off.
Control the model from a pipeline
A pipeline can control the model with the actions in the VTube Studio category.
| Action | What it does |
|---|---|
| Load a VTube Studio model | Loads the model with the id you give. |
| Trigger a VTube Studio hotkey | Runs a hotkey of the loaded model, by its id or name. |
| Activate or deactivate a VTube Studio expression | Turns an expression on or off. Default: on. |
| Move, rotate, or resize the VTube Studio model | Sets position, rotation or size. Give at least one of them. Default move time: 0.3 seconds. |
| Apply a color tint to the VTube Studio model | Tints the whole model, or only the parts with a tag you give. Each color channel is 0 to 255. Default opacity: 255. |
| Send a raw VTube Studio API request | Sends any VTube Studio request type with its data. |
When an action fails, the pipeline step fails and the reason is kept in the vts.last_error variable.
When Send a raw VTube Studio API request works, VTube Studio’s answer is kept in the vts.response variable for a later step.
React to VTube Studio events
Each event you switch on in Events to listen to can start an event response. The event responses list these events with names that start with “VTube Studio”, for example “VTube Studio model loaded”. The three high-volume events stay off by default. The fields of the event are available as {vts.event.<field>} in the response. See the event templates for how these variables work.
Rotate the bridge token
With Connection type set to Bridge, the Rotate bridge token button shows. Choose it, then choose Rotate token in the dialog. The bridge gets a new credential, and the old credential stops working at once.
Troubleshooting
When something is not right
Authorize shows an error at once. Switch on Link to VTube Studio and choose Save first. Authorize works only with Connection type set to Direct. Then check that VTube Studio is running at the Address.
A message says “VTube Studio did not answer. Check the connection.” The page shows this one message for several causes. Check each one:
- Link to VTube Studio is off or not saved.
- Connection type is Bridge. Authorize works only with Direct.
- VTube Studio is not running at the Address.
- Nobody clicked Allow within a minute.
- With Bridge, the OBS control browser source is not loaded.
Authorize stops after a minute. Nobody clicked Allow in VTube Studio in time. The page shows the same “VTube Studio did not answer” message. Choose Authorize again and click Allow.
Authorize shows “You do not have the right for this.” VTube Studio refused the bot. You may have clicked Deny, or VTube Studio may have revoked the bot’s key. This is not a role problem. Choose Authorize again and click Allow.