Open-source avatar pipeline
Three parallel paths replace what we currently get from Avaturn. Each demo is end-to-end functional — capture, generate, preview, export GLB. No mocks, no fake data.
Studio · customization editor
Embeds the open-source CharacterStudio (M3-org / Apache-2.0) editor. Pick a base avatar, customize traits, export GLB. Replaces the Avaturn iframe editor.
Selfie · photo → 3D face mesh
MediaPipe Face Landmarker (Apache-2.0) runs entirely in-browser to build a textured 3D mesh from one selfie. Replaces the Avaturn photo-to-avatar API.
Combined · selfie face + Studio body
Stitches the selfie face mesh onto a Studio body GLB and exports a single merged GLB. Closest analogue to the Avaturn end product.
What's wired
-
MediaPipe Tasks Vision pulled via npm
(
@mediapipe/tasks-vision). WASM + model files fetch from Google's CDN at runtime. -
Triangulation indices from
tfjs-models
(Apache-2.0) — vendored at
src/demo/triangulation.js. -
The Avatar Studio is the existing
character-studio/workspace (M3-org, AGPL — under review), served same-origin at/avatar-studioin dev and production. Build it once withnpm --prefix character-studio run build, or pointVITE_CHARACTER_STUDIO_URLat a standalone studio server. -
GLB export uses three.js's
GLTFExporterfromthree/addons.
Status
MediaPipe wasm
checking…
Triangulation
checking…
Base body GLB
checking…
Avatar Studio
checking…