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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(avatars): record that the live R2 bucket still allowlists origins for GLB reads
nirholasf2154d8a9254
diff --git a/api/avatars/library.js b/api/avatars/library.jsindex 064b347f5..70dbf02bf 100644--- a/api/avatars/library.js+++ b/api/avatars/library.js@@ -10,8 +10,13 @@// Mirrors api/animations/library.js exactly: the GLBs (~3 GB) are far too large// for the deploy bundle, so they live on the R2 CDN and this endpoint proxies a// small manifest object with an edge cache. Every entry carries an absolute CDN-// `url` (GLB) and `thumb` (PNG) the browser loads directly — R2 CORS allows GET-// from web origins (scripts/set-r2-cors.mjs).+// `url` (GLB) and `thumb` (PNG) the browser loads directly. The canonical R2+// policy in scripts/set-r2-cors.mjs makes those reads world-open, but the LIVE+// bucket policy is still the older origin allowlist, so a GLB fetched straight+// from the CDN on a third-party origin gets no allow-origin header; measure it+// with `node scripts/set-r2-cors.mjs --probe` and route third-party embeds+// through /api/glb until it is corrected. This endpoint itself is allowlisted+// too: cors() with no `origins` answers three.ws and its partner origins only.//// Returns { avatars: [], total: 0 } until the manifest is uploaded, so consumers// (the /characters gallery, the avatar picker's "Characters" tab) feature-detect