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(embody): use a full-length persona id in the example payload
nirholas08dda8755044
diff --git a/api/x402/embody.js b/api/x402/embody.jsindex 3632f99dc..fce23d1c7 100644--- a/api/x402/embody.js+++ b/api/x402/embody.js@@ -89,12 +89,12 @@ const OUTPUT_SCHEMA = {};const OUTPUT_EXAMPLE = {- agent_id: 'persona_8f2a1c9d4b',- glb_url: 'https://pub-xxxx.r2.dev/personas/persona_8f2a1c9d4b.glb',- viewer_url: 'https://three.ws/viewer?src=https%3A%2F%2Fpub-xxxx.r2.dev%2Fpersonas%2Fpersona_8f2a1c9d4b.glb',- profile_url: 'https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4b',- embed_html: '<iframe src="https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4b" width="480" height="640" loading="lazy" style="border:0;border-radius:12px;max-width:100%" allow="autoplay; fullscreen; xr-spatial-tracking" allowfullscreen></iframe>',- reload_url: 'https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4b',+ agent_id: 'persona_8f2a1c9d4be6f70a1b2c',+ glb_url: 'https://pub-xxxx.r2.dev/personas/persona_8f2a1c9d4be6f70a1b2c.glb',+ viewer_url: 'https://three.ws/viewer?src=https%3A%2F%2Fpub-xxxx.r2.dev%2Fpersonas%2Fpersona_8f2a1c9d4be6f70a1b2c.glb',+ profile_url: 'https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4be6f70a1b2c',+ embed_html: '<iframe src="https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4be6f70a1b2c" width="480" height="640" loading="lazy" style="border:0;border-radius:12px;max-width:100%" allow="autoplay; fullscreen; xr-spatial-tracking" allowfullscreen></iframe>',+ reload_url: 'https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4be6f70a1b2c',voice: 'nova',rigged: true,name: 'Nova Scout',diff --git a/docs/embody.md b/docs/embody.mdindex 090d7d173..e5920abfd 100644--- a/docs/embody.md+++ b/docs/embody.md@@ -34,12 +34,12 @@ Response (`200`):```json{- "agent_id": "persona_8f2a1c9d4b",- "glb_url": "https://…/personas/persona_8f2a1c9d4b.glb",+ "agent_id": "persona_8f2a1c9d4be6f70a1b2c",+ "glb_url": "https://…/personas/persona_8f2a1c9d4be6f70a1b2c.glb","viewer_url": "https://three.ws/viewer?src=…",- "profile_url": "https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4b",- "embed_html": "<iframe src=\"https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4b\" width=\"480\" height=\"640\" …></iframe>",- "reload_url": "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4b",+ "profile_url": "https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4be6f70a1b2c",+ "embed_html": "<iframe src=\"https://three.ws/embodiment/embed?persona=persona_8f2a1c9d4be6f70a1b2c\" width=\"480\" height=\"640\" …></iframe>",+ "reload_url": "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4be6f70a1b2c","voice": "nova","rigged": true,"name": "Nova Scout"@@ -79,7 +79,7 @@ curl -si https://three.ws/api/x402/embody \# re-send with the X-PAYMENT header. On success you get the bundle above.## 3. Reload the body later by id:-curl -s "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4b"+curl -s "https://three.ws/api/mcp3d/persona?id=persona_8f2a1c9d4be6f70a1b2c"# 4. Drop the returned embed_html into any web page — the avatar renders and idles.```