Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

refine: avatar-studio

nirholas2003776a9bd1
diff --git a/src/avatar-studio.js b/src/avatar-studio.js
index 8749f9fbd..227d3cd0a 100644
--- a/src/avatar-studio.js
+++ b/src/avatar-studio.js
@@ -1156,7 +1156,8 @@ async function saveAvatar() {
let avatar;
if (editAvatarId) {
// Edit mode: upload new GLB version, PATCH it onto the existing record
- avatar = await uploadEditedAvatar(editAvatarId, name, glbBlob);
+ avatar = await uploadEditedAvatar(editAvatarId, name, glbBlob,
+ (pct) => updateProgress(20 + pct * 0.6));
} else {
avatar = await saveRemoteGlbToAccount(
glbBlob,