HRuiCcc/RuiC-2D
从单张图片制作可动形象:本地运行的 2D 虚拟形象编辑器,分层绑定 / 网格形变 / 口型与眨眼 / 时间轴动效 / MediaPipe 实时驱动 / OBS 输出,内置大肥鱼1号示例工程。
Featured achievements
The project's latest awards
#1 Repository of the day
#1 Repository of the day
#1 Repository of the day
🎭 RuiC-2D: One Image to a Live, Talking Avatar
From a single illustration to a blinking, talking, livestream-ready 2D character — entirely on your own machine.
RuiC-2D is a local-first 2D avatar editor. Import one front-facing illustration, and it auto-segments the image into layered, riggable parts — hair, skin, clothing, eyes, mouth. You can refine the layers by hand, bind mesh deformation, drive lip-sync from an audio file, add timeline animations like blinks and tail sways, and track your face in real time with MediaPipe. Output directly as an OBS browser source, export a transparent WebM, or save an editable role package. No PSD files, no 3D modeling, no cloud uploads.
✨ Highlights
- Single-image rigging: Import PNG, JPG, or WebP (max 4096px); auto-segment into hair, skin, clothing, and facial layers. Manual point-drawing when recognition fails.
- Mesh deformation: Drag eye-white outlines and slice ranges on a 5–100px coordinate grid. Scroll to zoom, Alt-drag to pan.
- Lip-sync & timeline: Import voiceover; mouth shape follows real audio volume. Double-click the timeline to add blinks, body leans, or tail sways.
- Live tracking: Local MediaPipe facial tracking runs on CPU in the browser. Camera and mic data never leave the machine. Copy a URL to use as an OBS browser source.
- Export formats: Editable
.yxavatar(re-openable), Mesh-Avatar-compatible.mavatar, transparent PNG snapshot, or 1080×1080 30fps transparent WebM with audio. - Offline-first: Node.js 20+ native HTTP server, Python 3.10+ image pipeline with OpenCV and Pillow. No accounts, no database. AI image generation is optional and sends data only when you explicitly click generate.
💡 Why it matters
RuiC-2D removes the biggest barrier to 2D avatar creation: you do not need layered source files or 3D modeling skills. One illustration is enough. The tool handles segmentation, rigging, and animation automatically, with manual fallbacks when the AI misreads a complex illustration. Everything runs locally, so your character files and webcam feed stay private.
Best fit for VTubers, livestream overlays, short-form voiced videos, and illustrators who want their characters to move without rebuilding from scratch every time. The built-in "Big Fat Fish No. 1" example project works out of the box — blink, turn, and talk immediately.
#2DAvatar #VTuber #OpenSource #MediaPipe #TiniX
Similar Projects
Discover other similar projects and AI models.
Add new motions to a Live2D model by editing JSON only, without Cubism Editor, with a browser-based WebUI and docs that let AI coding agents do the work.
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
Reverse engineer anything with agents, from app behavior down to native binaries.
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
Two AI VTubers co-hosting one live show — the realtime engine & orchestration. Open-core, battle-tested by a daily stream.