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
x402: unblock CDP settlement for the full paid catalog
nirholas4e05ae937304
diff --git a/api/_lib/service-catalog/services/model-check.js b/api/_lib/service-catalog/services/model-check.jsindex 7d5896ec2..f4e0a96bc 100644--- a/api/_lib/service-catalog/services/model-check.js+++ b/api/_lib/service-catalog/services/model-check.js@@ -20,7 +20,7 @@ export default {tags: ['3d', 'gltf', 'glb', 'inspection', 'validation'],description: 'Model Check — an agent handed a 3D asset URL verifies it before using or paying for it: $0.001 USDC per call returns structural stats (vertex/triangle counts, materials, textures, animations, extensions) and prioritized optimization recommendations. Single GET with ?url=…; USDC on Solana, Base, or Arbitrum. Free tier: the same inspection is keyless at /api/3d/inspect.',input: {- url: 'https://three.ws/avatar/character-studio/sample.glb',+ url: 'https://three.ws/avatars/mannequin.glb',},inputSchema: {type: 'object',diff --git a/api/agents/a2a-paid.js b/api/agents/a2a-paid.jsindex 56afcd923..29d73a270 100644--- a/api/agents/a2a-paid.js+++ b/api/agents/a2a-paid.js@@ -64,7 +64,7 @@ const SKILL = {'Returns counts, extensions used, and prioritized optimization suggestions.',tags: ['model', 'gltf', 'glb', 'inspect', 'a2a'],examples: [- 'Inspect https://three.ws/avatar/character-studio/sample.glb',+ 'Inspect https://three.ws/avatars/mannequin.glb','Vet this GLB before I mint it',],inputModes: ['application/json', 'text/plain'],diff --git a/api/wk.js b/api/wk.jsindex 6a1ae5d1d..7c36585a2 100644--- a/api/wk.js+++ b/api/wk.js@@ -795,7 +795,7 @@ async function buildDatapointItems(origin) {// mirror the actual 200-response keys each handler emits (post-settlement).const REST_OUTPUT_EXAMPLES = Object.freeze({'/api/x402/model-check': {- url: 'https://three.ws/avatar/character-studio/sample.glb',+ url: 'https://three.ws/avatars/mannequin.glb',fetchedBytes: 1572864,model: {container: 'glb',diff --git a/api/x402/model-check.js b/api/x402/model-check.jsindex a487dbf40..14911ab52 100644--- a/api/x402/model-check.js+++ b/api/x402/model-check.js@@ -61,7 +61,7 @@ const ROUTE_DESCRIPTION ='optimization recommendations. Pay-per-call in USDC on Solana mainnet.';const DISCOVERY_INPUT_EXAMPLE = {- url: 'https://three.ws/avatar/character-studio/sample.glb',+ url: 'https://three.ws/avatars/mannequin.glb',};const DISCOVERY_INPUT_SCHEMA = {@@ -79,7 +79,7 @@ const DISCOVERY_INPUT_SCHEMA = {};const DISCOVERY_OUTPUT_EXAMPLE = {- url: 'https://three.ws/avatar/character-studio/sample.glb',+ url: 'https://three.ws/avatars/mannequin.glb',fetchedBytes: 1572864,model: {container: 'glb',diff --git a/public/features.json b/public/features.jsonindex 6ff872769..c6e9244f7 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-19T15:09:18.606Z",+ "generated_at": "2026-07-19T20:34:15.658Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/scripts/x402-bazaar-settle-sweep.mjs b/scripts/x402-bazaar-settle-sweep.mjsindex 117286557..3012fd43e 100644--- a/scripts/x402-bazaar-settle-sweep.mjs+++ b/scripts/x402-bazaar-settle-sweep.mjs@@ -64,6 +64,44 @@ if (!PRIVATE_KEY && !DRY_RUN) {const isBaseAccept = (a) => /8453|^base$/.test(String(a?.network || ''));+// Curated, runnable example inputs for endpoints whose 402 challenge does NOT+// carry a flat `extensions.bazaar.input.example` (the v2 `{discoverable, info,+// schema}` bazaar shape advertises the schema but no concrete example, and a+// few flat-shape endpoints ship an empty example). Without a valid input these+// endpoints answer a bare probe with HTTP 400 (input validation), the handler+// throws before settle, and the payment never reaches CDP — so they never get+// indexed no matter how many times we pay. Each value below is a REAL, reachable+// argument verified against the handler's validation contract:+// • GLB/PNG URLs resolve to live public three.ws assets of the right media type+// • the mint is $THREE (the promoted coin); addresses are the platform's own+// • DB-graceful routes (unknown subject/agent) still return 200+// Keyed by slug; shape is the raw args (query params for GET, JSON body for POST).+// skill-call and animation-download are intentionally absent: each needs a real+// public+priced marketplace row to reach 200, so they settle only once such a+// listing exists — paying a bare probe would 404, never settle.+const EXAMPLE_INPUTS = {+ 'model-check': { url: 'https://three.ws/avatars/mannequin.glb' },+ 'symbol-availability': { ticker: 'THREE', network: 'mainnet' },+ 'robinhood-portfolio': { address: '0x4022de2d36c334e73c7a108805cea11c0564f402' },+ 'onchain-identity-verify': {+ identity: 'three.ws',+ address: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump',+ chain: 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp',+ },+ 'agent-reputation': { subject: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump' },+ 'agent-bouncer': { agent_id: '7b9a4f30-2d11-4e2d-9d12-1cdb1f6a3a55' },+ billboard: { coin: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump', caption: 'gm' },+ 'rate-limit-probe': { endpoint: '/api/x402/crypto-intel' },+ 'telegram-health': { bot: 'changelog' },+ 'llm-proxy': { prompt: 'Reply with the single word ok.', model: 'fast', max_tokens: 8 },+ 'mint-to-mesh-batch': { mints: ['FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump'] },+ 'pipeline-rembg': { image_url: 'https://three.ws/avatars/thumbs/default.png', model: 'rmbg2' },+ 'pipeline-remesh': { glb_url: 'https://three.ws/avatars/mannequin.glb', remesh_mode: 'triangle', target_faces: 5000 },+ 'pipeline-gameready': { glb_url: 'https://three.ws/avatars/mannequin.glb', topology: 'tri', poly_budget: 5000 },+ 'pipeline-stylize': { glb_url: 'https://three.ws/avatars/mannequin.glb', style: 'voxel', resolution: 24 },+ 'pipeline-rig': { glb_url: 'https://three.ws/avatars/mannequin.glb', rig_type: 'biped' },+};+// ── 1. plan: probe every live paid endpooint's 402 for a Base accept + example input ──const catalog = await getCatalog();const live = catalog.filter((e) => e.source === 'x402' && e.status === 'live');@@ -85,12 +123,25 @@ async function probe(entry) {const priceUsd = Number(accept.amount ?? accept.maxAmountRequired ?? 0) / 1e6;let url = entry.endpoint;let requestBody;- if (input?.type === 'query' && input.example && typeof input.example === 'object') {+ // Prefer the endpoint's own advertised example; fall back to the curated+ // map for endpoints that advertise a schema but no runnable example (v2+ // bazaar shape) or ship an empty example. The map's args are applied as+ // query params for GET and a JSON body for POST — matching how a real+ // agent would call the endpoint from its advertised input schema.+ const applyArgs = (args) => {+ if (method === 'POST') { requestBody = JSON.stringify(args); return; }+ const qs = new URLSearchParams();+ for (const [k, v] of Object.entries(args)) qs.set(k, typeof v === 'string' ? v : JSON.stringify(v));+ if ([...qs.keys()].length) url += (url.includes('?') ? '&' : '?') + qs.toString();+ };+ if (input?.type === 'query' && input.example && typeof input.example === 'object' && Object.keys(input.example).length) {const qs = new URLSearchParams();for (const [k, v] of Object.entries(input.example)) qs.set(k, typeof v === 'string' ? v : JSON.stringify(v));if ([...qs.keys()].length) url += (url.includes('?') ? '&' : '?') + qs.toString();- } else if (input?.type === 'json' && input.example !== undefined) {+ } else if (input?.type === 'json' && input.example !== undefined && Object.keys(input.example || {}).length) {requestBody = JSON.stringify(input.example);+ } else if (EXAMPLE_INPUTS[entry.slug]) {+ applyArgs(EXAMPLE_INPUTS[entry.slug]);} else if (method === 'POST') {requestBody = '{}';}