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
fix(x402): point the bazaar sample body at a GLB that actually resolves
nirholas402a9e03dcb4
diff --git a/api/_lib/x402-spec.js b/api/_lib/x402-spec.jsindex 0ddf1882c..275f40f4e 100644--- a/api/_lib/x402-spec.js+++ b/api/_lib/x402-spec.js@@ -1313,13 +1313,18 @@ export function buildBazaarSchema({// `{method,input,inputSchema,output:{example,schema}}` shape v1 used is no// longer indexed by the CDP Bazaar.export function bazaarExtension() {+ // The sample body is what a buyer replays after settling the 402, so the URL+ // in it has to be a model that actually resolves. example.com/model.glb made+ // the documented first call fail on a DNS-shaped error that reads like a+ // broken endpoint; this is the same GLB the agent card advertises for+ // validate_model, served from our own origin.const exampleBody = {jsonrpc: '2.0',id: 1,method: 'tools/call',params: {name: 'validate_model',- arguments: { url: 'https://example.com/model.glb' },+ arguments: { url: 'https://three.ws/avatars/cesium-man.glb' },},};const exampleResponse = {