How to Add Your Own Live2D Avatar: A Complete Guide
Want to use your own Live2D avatar instead of the default model? This guide walks you through everything you need to know—from finding models to hosting them and adding them to the chatbot. No coding required!
๐ What You'll Need
- A Live2D Cubism 3.0+ model (not Cubism 2.x)
- A place to host the model files (GitHub, your own server, etc.)
- The direct URL to the .model3.json file
- Optional: A thumbnail image URL for the model selector
๐️ Understanding Live2D Model Files
A Live2D model isn't just one file—it's a folder containing multiple files that work together:
├── my_character.model3.json ← Main file (you need this URL!)
├── my_character.moc3 ← The actual 3D model data
├── my_character.physics3.json ← Physics settings (hair bounce, etc.)
├── my_character.pose3.json ← Pose/expression data
├── ๐ textures/
│ └── texture_00.png ← Character textures
└── ๐ motions/
├── idle.motion3.json
└── tap.motion3.json
.model3.json file is the "entry point" that tells the system
where all the other files are. You only need to provide the URL to this file—it will automatically load
everything else.
๐ Where to Find Live2D Models
๐ Free Models
Live2D Official Sample Models
live2d.com/download/sample-data
High-quality official samples. Great for testing!
๐ GitHub Repositories
Search for "live2d model3.json"
Many developers share their models on GitHub. Look for repositories with .model3.json files.
Tip: Use GitHub's raw file URLs for direct access.
๐ฐ Commercial Models
Live2D Marketplace / Booth.pm / nizima
Professional artists sell custom models. If you purchase one, you'll get the full file package to host
yourself.
๐จ Create Your Own
Live2D Cubism Editor
live2d.com/download/cubism
Free version available! Create your own avatar from artwork.
๐ Hosting Your Model
The model files need to be hosted somewhere accessible via HTTPS. Here are your options:
| Option | Difficulty | Best For |
|---|---|---|
| GitHub Pages | Easy | Free, reliable, great for most users |
| Your Own Server | Medium | Full control, already have hosting |
| CDN Services | Easy | Fast loading, paid option |
| Direct GitHub Raw | Easiest | Quick testing (rate limited) |
How to Host on GitHub (Recommended)
- Create a new repository on GitHub (or use an existing one)
- Upload your entire model folder (all files, maintaining structure)
- Enable GitHub Pages: Settings → Pages → Source: main branch
- Your URL will be:
Or use the raw file URL directly:
➕ Adding Your Model to the Chatbot
Open Settings
Click the ⚙️ Settings gear icon to open the settings panel.
Find "Add Custom Model"
Scroll down to the ๐งฉ Model Settings section. You'll see the "Add Custom Model" area with three input fields.
Fill in the Fields
| Field | Required? | What to Enter |
|---|---|---|
| Model Name | Optional | A friendly name like "My Haru" (auto-detected from URL if blank) |
| Model URL | ✅ Required | Direct URL to the .model3.json file |
| Thumbnail URL | Optional | URL to an image for the model selector |
Click "Add Model"
The model will immediately load and appear in your model selector. It's also saved to your browser—it'll be there next time you visit!
๐ง Troubleshooting
❌ "Model won't load" / Nothing happens
Check the browser console (F12 → Console tab) for error messages. Common causes: wrong URL, CORS blocked, missing files.
❌ "URL must end with .model3.json"
Make sure your URL ends exactly with .model3.json. Some URLs have query strings (like
?token=xyz)—that's fine, it just needs .model3.json before the ?.
❌ Model loads but looks broken/distorted
The model might be Cubism 2.x format (we only support 3.0+). Check if files are .moc3 (good) or just .moc (old format).
❌ "CORS error" or "blocked by CORS policy"
The server hosting your files isn't allowing cross-origin requests. Use GitHub Pages, or if self-hosting, add
the header: Access-Control-Allow-Origin: *
❌ Textures are missing (model appears white/blank)
The texture files weren't uploaded, or the paths in .model3.json don't match the actual file locations. Make sure the entire folder structure is preserved.
❌ Model doesn't lip-sync
The model needs the parameter ParamMouthOpenY for lip sync to work. Some models use different
parameter names—without this specific parameter, lips won't move.
✨ Pro Tips
๐ Required Parameters for Full Functionality
For the best experience, your model should have these Live2D parameters:
| Parameter | Used For | Required? |
|---|---|---|
ParamMouthOpenY |
Lip sync (mouth opening) | Yes, for speech |
ParamMouthForm |
Lip shape | Optional |
ParamEyeLOpen / ParamEyeROpen |
Blinking | Optional |
ParamAngleX / Y / Z |
Head rotation | Optional |
ParamBodyAngleX |
Body sway | Optional |
Most professionally-made models include these parameters. If you're creating your own, make sure to add at least
ParamMouthOpenY!
๐ You're Ready!
Now you know how to find, host, and add custom Live2D models to your AI companion. Go make it your own! ๐ญ
Comments
Post a Comment