Tutorial: export for VTube Studio

You will check that the model uses the parameter IDs VTube Studio expects, test it with your webcam in the editor, export the runtime package and load it in VTube Studio. You need the rig from the earlier tutorials and VTube Studio on your computer. Face tracking drives ParamAngleX, ParamAngleY, ParamEyeLOpen, ParamEyeROpen and ParamMouthOpenY, which the earlier tutorials rigged. Parameters the model does not have are left alone.

Check the parameter IDs

When VTube Studio loads a new model, it connects its face tracking to the parameters whose IDs match Cubism’s standard ones. A parameter named Angle X with the ID HeadTurn gets nothing.

Open Parameter menu › Parameter settings… in the Parameters panel to see every name, ID and range in one table. Parameter menu › Change ID style… (under Clean-up and IDs) converts models that still use Cubism 2 IDs such as PARAM_ANGLE_X. Add standard parameters… adds missing standard IDs and skips the ones you have, but a new parameter does nothing until objects are bound to it.

The Parameter Settings dialog listing every parameter’s name, ID and range.

Tag blinking and lip sync

In the Parameters panel, press Edit parameter (the sliders icon) on each row and tick Eye blink for the two eye-open parameters and Lip sync for ParamMouthOpenY. The tags become the EyeBlink and LipSync groups of model3.json, which Cubism SDK apps use for automatic blinking and lip sync. The Export panel lists the tagged parameters under its settings.

Add the extras

These are optional, but they travel in the package:

  • Physics for hair and clothes, written to physics3.json (see Physics).
  • Expressions, which VTube Studio can switch with hotkeys (see Expressions).
  • The idle motion from Make an idle animation, listed under Idle.

Test with your webcam

Testing in the editor shows rig problems, such as an eye that does not fully close or a mouth that tears at full opening, before you leave the editor.

  1. Open the Live panel from the Panels menu and press Start webcam. Allow the camera when the browser asks.
  2. Look straight at the camera with a relaxed face and press Calibrate neutral pose.
  3. Turn your head, blink and open your mouth, and watch the model follow.

The Live panel with the webcam and mapping settings.

The mapping table under Mapping connects each tracking value to a parameter; the defaults cover the standard IDs your model has. If a parameter only needs a different range, change the row’s in and out values rather than the rig. The mapping is saved in this browser and never changes the project, so it does not affect the export. VTube Studio uses its own mapping.

Export the runtime package

Switch to the Ship stage, where the Export panel is on the right.

  1. Keep Export for at Cubism SDK apps.
  2. Set File name to the model’s name. It starts as the project’s name, names the model files, and VTube Studio lists the model by it.
  3. Keep Target version at Automatic: … (the oldest version without losses); the first package you build or save stores that version. If your VTube Studio runs an older Cubism SDK, choose that version: the panel lists what it cannot express under Not supported by the target version.
  4. Make sure physics3.json and cdi3.json (display names) are ticked: physics3.json starts unticked if the project had no physics when you first opened the panel. Hidden parts and Hidden art meshes stay unticked, so anything hidden in the Outliner is left out.
  5. Press Build preview and check the file list and the atlas pages.
  6. Optionally press Open in viewer tab to play the exact package in the runtime preview.

The Export panel after Build preview for Ibuki: the eye blink and lip sync parameters it found, the package files and the texture atlas. This example has no physics, so physics3.json stays unticked.

Load it in VTube Studio

In Chrome or Edge, save the package straight into VTube Studio’s models folder:

  1. Press Save to folder… in the Export panel.
  2. The first time, press Add folder… and pick VTube Studio’s Live2DModels folder. The Steam version has a button in the model selection that opens it (see VTube Studio’s guide Loading your own models). Then choose that folder in the dialog.
  3. Press Save. The files go into Live2DModels/<File name>/, which is created if needed.
  4. Choose the model in VTube Studio’s model list and calibrate your face tracking there.

Firefox and Safari cannot write into folders, so there press Download .zip instead. The zip holds the package files at its top level: <name>.model3.json, the .moc3, the texture folder and the sidecar files. Create a folder named after the model in Live2DModels and unzip into it. Saving into a folder says what a folder save writes, keeps and offers to delete.

Settings to check in VTube Studio

  • Keep Use Physics on when the head or the body turn through physics groups; without it, the parameters those groups drive stay still.
  • VTube Studio’s automatic breathing drives only ParamBreath, so it moves the model only if ParamBreath has keyforms. (The Preview’s Breath effect also sways the head and body.)
  • If the eyes run 0…2 and are open at 1, set the output range of the two eye-open parameters to 0…1 in VTube Studio; an output up to 2 opens the eyes wide.
  • For a blush when smiling, key the blush on ParamCheek in the editor and map VTube Studio’s MouthSmile input to ParamCheek.

Export again

After you change the model, press Save to folder again in the Export panel. It writes into the same model folder in one click and keeps VTube Studio’s own files there, such as the .vtube.json and the icon. If an old texture folder is left over, for example after you changed the atlas size, the dialog opens and offers to delete it. With the zip, unzip it over the same folder. Then load the model again in VTube Studio.

Tune while VTube Studio runs

The Live panel can also talk to VTube Studio while you keep editing. In VTube Studio, turn on Start API (allow plugins) in the settings. In the Live panel’s VTube Studio section, press Connect VTube Studio and allow the plugin in the window VTube Studio shows. Then choose:

  • Receive tracking: VTube Studio’s face tracking drives the model in the editor.
  • Send preview: the editor’s parameter values drive the model loaded in VTube Studio, so you see your edits in the app.

Browsers restrict connections from the online editor to apps on your computer; Safari blocks them. See Connecting to local apps.

Next

Live input covers the Live panel in full, and Exporting every export setting.