Vfinity2.0 α
Reference

Commands

Every app command you can run from a hotkey, an action step, search or the Local API

Every command Vfinity can run by name, with the value it takes. The same names work in a global hotkey, an App command step, a Quick Deck pad, Search everything and the Local API.

Where commands run

PlaceHow
Global hotkeysSettingsAutomation & rulesGlobal hotkeys: pick a command for a key combination
Events and Quick DeckAn App command step, which asks for the command's value
Search everythingPress Ctrl+K/Cmd+K and type the command's name; only commands that take no value are listed
Local APIPOST /api/command with {"name":"timer.add","args":30}, or the same message on /api/ws
Trigger API{"type":"command","name":"timer.add","args":30,"requestId":"1"}

Pickers group commands under the headings below, in this order. A command appears once the part of the app that owns it is running, and the Local API's GET /api/state lists every command available right now.

Try it
  • Events
  • Overlay widgets
  • Settings
↑↓ Move↵ OpenCtrlK
Type a few letters in Search everything and run a command at once.

Run control

CommandName in pickersValue
control.pausePause triggersNone
control.resumeResume triggersNone
control.togglePausePause or resume triggersNone
control.panicPanic: stop and clear everythingNone

Pause holds every trigger, auto-throw, TTS message and new alert while stats and leaderboards keep counting. Panic pauses too, and clears what is queued, speaking or on screen.

Quick Deck

CommandName in pickersValue
deck.pressQuick Deck: press a padThe pad's name or ID
deck.stopAllQuick Deck: stop all padsNone

In a step or a hotkey, Choose a Quick Deck pad lists every pad with its picture and name.

Events

CommandName in pickersValue
mapping.triggerRun an Events mappingAn event's ID, or an API trigger's name

In a step, Mapping to run lists your events. Right-click an event and choose Copy event ID to get its ID for the Local API.

Action queue

CommandName in pickersValue
queue.cancelActiveCancel the running actionNone
queue.clearPendingClear waiting actionsNone
queue.clearAllClear the action queueNone

Text to speech

CommandName in pickersValue
tts.skipSkip the TTS messageNone
tts.clearClear the TTS queueNone
tts.toggleTurn TTS on or offNone

Alerts

CommandName in pickersValue
alerts.skipAlerts: skip the alert on screenNone
alerts.pauseAlerts: pauseNone
alerts.resumeAlerts: resumeNone
alerts.replayAlerts: replayAn alert's ID; empty replays the last one shown
alerts.clearAlerts: clearNone

Every open OBS alerts source obeys these.

Throwing

CommandName in pickersValue
throw.itemsThrow itemsJSON, with the same fields as a Throw items step
throw.clearClear itemsNone

throw.clear removes every thrown item from OBS and the preview, and stops a combo still being thrown.

VTube Studio

CommandName in pickersValue
vts.reconnectReconnect VTube StudioNone

Timer

CommandName in pickersValue
timer.startTimer: startNone
timer.pauseTimer: pauseNone
timer.resetTimer: resetNone
timer.addTimer: add secondsSeconds
timer.setTimer: set secondsSeconds, 0 or more
timer.toggleModeTimer: count up or downNone

timer.add and timer.set also take {"seconds":30}, and refuse anything past a year.

Games

CommandName in pickersValue
wheel.spinSpin wheelNone
giftJar.clearEmpty gift jarNone
poll.startStart new pollNone
poll.closeClose pollNone
viewerQueue.nextNext viewerNone
viewerQueue.clearClear queueNone
viewerQueue.toggleOpen / close queueNone
giveaway.openOpen entriesNone
giveaway.closeClose entriesNone
giveaway.drawDraw winnerNone
giveaway.resetReset giveawayNone
giveaway.clearWinnersForget past winnersNone
tugOfWar.startStart roundNone
tugOfWar.stopEnd round nowNone
tugOfWar.resetReset roundNone
hypeMeter.boostBoost hypeAn amount; 50 when empty
hypeMeter.resetReset hypeNone

While Vfinity is paused, Draw winner, Start round and Boost hype are refused with the reason, and the wheel does not spin.

Overlays

CommandName in pickersValue
sceneCard.showStartingScene card: show Starting soonNone
sceneCard.showBrbScene card: show Be right backNone
sceneCard.showEndingScene card: show Stream endingNone
sceneCard.hideScene card: hideNone
sceneCard.countdownStartScene card: start the countdownNone
sceneCard.countdownStopScene card: stop the countdownNone
checklist.checkNextChecklist: check the next itemNone
checklist.uncheckAllChecklist: uncheck allNone
buddies.clearClear viewer buddiesNone

Showing a scene switches the Scene Card on, and each card counts down from its own Minutes. From a hotkey, a step or the API, these commands act on the widget and its copies: a copy you switched off stays off but follows the scene, and the checklist commands tick only copies showing the same list. Run from a card's right-click menu on the Overlay tab, they act on that one card only.

Stats

CommandName in pickersValue
stats.resetSessionReset sessionNone

Reset session starts this stream's totals and leaderboards over. All-time totals and point balances stay.

Goals

CommandName in pickersValue
goal.resetReset a goalThe goal's widget ID, such as goal1
goal.addAdd to a goalJSON: {"id":"goal1","amount":5}

Other

CommandName in pickersValue
triggers.resetReset trigger milestones and first-chat historyNone
tiktok.connecttiktok.connectOptional JSON: {"username":"…","autoRejoin":true,"waitForLive":true}
tiktok.disconnecttiktok.disconnectNone
tiktok.cancelRejointiktok.cancelRejoinNone

tiktok.connect answers as soon as the request is accepted, before the LIVE is joined. tiktok.cancelRejoin stops waiting or rejoining and leaves a joined room connected.

Your script

POST /api/trigger
Host: 127.0.0.1:21424
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

{
  "name": "hype",
  "data": {
    "name": "mochi"
  }
}
Sending…

Events

API trigger

hype

VTS Hotkey · Star eyes

POST /api/trigger fires every mapping whose API trigger has that name.

A command sent to the Local API runs exactly as it would from a hotkey.

Vfinity's own window commands, such as quitting, cannot be run from outside the app.