Web Guide

This guide walks you through using Utsuwa, whether on the hosted version at utsuwa.ai or a self-hosted instance.

Self-Hosting Setup

Prerequisites

  • Node.js 22 or higher
  • pnpm
  • A modern browser (Chrome, Firefox, Safari, Edge)

Installation

git clone https://github.com/dyascj/utsuwa.git
cd utsuwa
pnpm install
pnpm dev

The app will be available at http://localhost:5173.

Initial Configuration

1. Configure an LLM Provider

Your companion needs an LLM to generate responses.

  1. Open Settings (gear icon in the sidebar)
  2. Navigate to LLM Providers
  3. Select a provider and enter your API key
  4. Alternatively, use a local server like Ollama or LM Studio (no API key needed)

All API keys are stored locally in your browser and never sent anywhere except the respective provider’s API.

2. Load a VRM Model

Utsuwa comes with a default avatar, but you can load your own:

  1. Go to Settings > Avatar
  2. Click Load VRM to select a local .vrm file
  3. Or enter a URL to load a VRM model from the web

3. Configure Text-to-Speech (Optional)

To have your companion speak responses aloud:

  1. Go to Settings > TTS Providers
  2. Select a provider (ElevenLabs, OpenAI TTS, or browser-native Web Speech API)
  3. Enter your API key and configure voice settings

Using the Chat

Type a message in the bottom chat bar and press Enter. Your companion’s response will appear as a 3D speech bubble tracking the avatar’s head.

If TTS is enabled, the avatar will speak the response with lip-synced animation.

Voice Input

Click the microphone button in the chat bar to use speech-to-text. This uses the browser’s Web Speech API — no API key required.

Data Management

All data is stored locally in your browser.

  • Export — Go to Settings > Data > Export Save to download a JSON backup
  • Import — Go to Settings > Data > Import Save to restore from a backup
  • Merge or Replace — Choose whether to add imported data to existing data or replace it entirely

Themes

Utsuwa supports multiple color themes with light and dark modes. Go to Settings > Display to change your theme.