mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7537] 2D and 3D avatar agents #4194
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7537
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Characters and personas only have still sprites. People want an animated avatar that changes its face while a reply streams in and moves its mouth with the text or the voice, like a VTuber model, for both 2D and 3D styles.
Proposed solution
Two downloadable agents, 2D Avatars (
2d-avatars) and 3D Avatars (3d-avatars), for Characters and Personas.Decisions (Mari, 2026-10-13):
.savefiles, Unlicense) and mesh-avatar (.mavatar, MIT, npmmesh-avatarpinned at exactly 0.1.1, pure JS WebGL2, no WASM, no CSP change). No Inochi2D, Rive or Spine.threeand@pixiv/three-vrm(plusthree-vrm-animation), MIT, exact pins..mavatararchives are read with the Engine's strict archive reader (hardened in #7532), so only dishonest archives are refused.Lanes (each lane's PR works on its own on top of the contract):
/api/avatar-modelsroutes, setup on the agent pages, the stage in Roleplay and Game chats.saveand.mavatarimport, their setup panels.vrmand.vrmaimport, its setup panel/api/avatar-classify) and the director (classifier faces, Game Master lines, Expression Engine final face, speech-clock lip sync)/api/avatar-generationfor PNGTuber variants and a mesh-avatar rig from a sprite2d-avatarsand3d-avatarsin Pasta-Devs/Marinara-AgentsAlternatives considered
Live2D is intentionally unsupported for licensing reasons: its licence needs Live2D's review and a separate agreement even for free open-source apps, and its Cubism Core runtime cannot be bundled. Inochi2D (WASM, blocked by the CSP, few models), Rive, Spine, DragonBones and PNGTuber Remix were also ruled out.
Additional context
The user guide is
docs/agents/avatars.md; each lane fills its own section.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 13, 2026):
Contract PR (owner: @SpicyMarinara, via Claude Code): #7539. It fixes the shared types, the inert skeleton and the dependency pins every lane builds on. Translation follow-up for the new guide: #7540.
@SpicyMarinara commented on GitHub (Oct 13, 2026):
Packages lane:
2d-avatarsand3d-avatarspackages, version 0.1.0, as host agents with Capability API 1.73, plus the three generation prompt defaults and the covers. Both stay inINCOMPLETE_PACKAGE_IDS(no catalog, no preview) until the setup, stage and a renderer are on staging.@SpicyMarinara commented on GitHub (Oct 13, 2026):
Director lane (streaming classifier and director): #7555, built on #7539.
@SpicyMarinara commented on GitHub (Oct 13, 2026):
3D lane (VRM renderer, importer and setup panel): #7557, built on #7539. It adds two optional fields to
VrmAvatarData(meta,expressionNames) so setup can show the author's terms and the model's expressions; the PR body calls this out.@SpicyMarinara commented on GitHub (Oct 13, 2026):
Generation lane (make an avatar from a sprite: PNGTuber blink/talk pictures and a mesh avatar from one sprite): #7554, built on #7539. No contract file is changed. Saving needs the base lane's storage, and keeping a mesh avatar needs the 2D lane's
.mavatarimporter; until that importer lands, mesh generation answers 503 before any model call.@SpicyMarinara commented on GitHub (Oct 14, 2026):
Landed on staging. Engine: contract #7539, base #7556 (+ #7578), 2D #7549 (+ #7576), 3D #7557, live faces and mood reader #7555, TTS lip sync #7547 (+ #7575), generation #7554, docs #7551, polish and reuse #7581, real-file imports and "Make your own model" #7580, Download Agents filters #7583. Agents: packages #1369 and staging catalog #1372 (2D Avatars and 3D Avatars 0.1.1, staging-only preview).
Findings from staging testing go into follow-up PRs. Translation: #7540.