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(input-modalities): document + finish prompt 07 verification (draw/voice on-ramps, avatar-prompt dictation)
fudjiadf1ee7e45aa9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 19a2fbdb6..5ae2dc905 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -32,6 +32,8 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **BNB Chain hub: three uniquely-BNB demos in one place** — New /bnb landing page tells the whole BNB Chain story: gasless agent onboarding (a zero-balance wallet mints an on-chain identity, no faucet), an on-chain-gated 3D vault backed by Greenfield storage permissions, and a real-time on-chain world riding BNB's ~0.45s blocks — each claim traced to what we independently verified live, never BNB's own roadmap promises. The page embeds a live block-time widget that measures the real average off a public RPC on every load, and each feature card auto-detects whether its track has actually shipped on this deployment, showing an honest "coming soon" instead of a dead link until it has. (`/bnb`) `[feature]`- **Cleaned up the x402 storefront listing** — Delisted internal-use-only paid endpoints from the public x402 catalog while keeping their in-product functionality live, removed a dead endpoint with no real buyer, dropped a fake bullish/bearish framing from the ticker-collision checker, and re-listed three previously-hidden endpoints (fact-checking, token-to-3D rendering) as honest, discoverable products. `[improvement]`- **Crypto API now has a home page and a real OpenAPI spec** — The free /api/v1/x crypto aggregator (CoinGecko, DefiLlama, Jupiter, DexScreener, Solana RPC) has a public storefront at three.ws/crypto-api with a live endpoint table, and every endpoint now shows up in the OpenAPI 3.1 spec at three.ws/openapi.json. Also fixed a bug where the discovery endpoint (GET /api/v1/x) 404'd in production. (`/crypto-api`) `[feature, docs, fix]`+- **Draw a sketch or speak your prompt in the Forge** — Two new ways to start a 3D creation, both live at /forge and /create/prompt. Draw it: click "Or draw it instead" in the Forge's photo tab to open an in-browser drawing canvas — sketch with your mouse, finger, or stylus, and the drawing feeds the same reconstruction pipeline as an uploaded photo. Say it: click the mic next to any prompt box and describe what you want out loud; the transcript drops into the field, ready to edit before you generate. Voice uses your browser's built-in speech recognition where available, with a free NVIDIA Riva fallback for browsers without one — nothing is ever written to disk. Multi-photo reconstruction (up to 4 angles of the same object) and photo-to-avatar (the /scan selfie flow) were already live; this closes out the last two on-ramps into generation. (`/forge`) `[feature]`+- **Drivable vehicles in the open world** — The plaza world at /play now has real, drivable cars. Walk up to a parked coupe, sedan, pickup, or buggy, press F (or tap it on mobile) to take the wheel, and drive with WASD or on-screen pedals — full Rapier physics under the hood, so the car actually collides with district buildings, has real suspension and steering, and can flip and auto-right itself. Every car is a shared world object: other players see you driving it in real time, and the seat is server-arbitrated so only one person can drive a given car at once. Exit with F and the car parks exactly where you left it. (`/play`) `[feature]`- **Embodied on-chain identity — every agent persona now carries a real wallet** — Personas minted with create_agent_persona are now bound to a real, deterministic Solana wallet — the same persona always re-derives the same address, and its private key is never stored, returned, or logged anywhere. persona_identity reads the wallet's live balance, ERC-8004-style reputation, token holdings, and a resolved SNS name; persona_tip and persona_send move real USDC from the persona's own wallet, hard-capped per call and per session with a confirmation threshold above which the caller must confirm explicitly. The living body now visually reflects its chain state: an aura ring colored by reputation, a cosmetic badge for holdings tier, a muted look on a low balance, and a nameplate for a verified name. (`/docs/mcp-3d-studio`) `[feature]`- **Fact Check now has a free daily lane and a public accuracy benchmark** — Try the Fact Checker without a wallet: 3 free checks a day per IP now run the exact same real search-and-LLM chain as the paid $0.10 USDC checks — never a degraded response — with a lane field on every result so you always know which one you got. A new /fact-check page publishes the accuracy claim instead of just asserting it: a 40-claim benchmark (10 per verdict class, time-stable and non-partisan) scored against the live chain, the claim set and scoring code both linked for anyone to check, plus a live 'try one free check' box right on the page. (`/fact-check`) `[feature, improvement]`- **Fact Check's accuracy benchmark has a real published score, and the search+AI chain got more reliable** — The 40-claim fact-check accuracy benchmark has now actually been run against the real search-and-LLM chain, and /fact-check shows the genuine result instead of the "not yet run" placeholder. Running it for real surfaced and fixed two chain bugs along the way: a request-formatting bug was silently rejecting every fact-check call on the Groq lane, and the search step had no fallback beyond a narrow instant-answer API, so most claims returned zero sources. Both are fixed — search now also checks Wikipedia's full-text index, a free source that needs no API key — and the published score will keep improving as the platform's search coverage does. The benchmark, its scoring code, and every claim in the suite stay public for anyone to check. (`/fact-check`) `[improvement, fix]`diff --git a/data/changelog.json b/data/changelog.jsonindex 84ef8e213..cc1be8c9f 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-07-08",+ "title": "Draw a sketch or speak your prompt in the Forge",+ "summary": "Two new ways to start a 3D creation, both live at /forge and /create/prompt. Draw it: click \"Or draw it instead\" in the Forge's photo tab to open an in-browser drawing canvas — sketch with your mouse, finger, or stylus, and the drawing feeds the same reconstruction pipeline as an uploaded photo. Say it: click the mic next to any prompt box and describe what you want out loud; the transcript drops into the field, ready to edit before you generate. Voice uses your browser's built-in speech recognition where available, with a free NVIDIA Riva fallback for browsers without one — nothing is ever written to disk. Multi-photo reconstruction (up to 4 angles of the same object) and photo-to-avatar (the /scan selfie flow) were already live; this closes out the last two on-ramps into generation.",+ "tags": [+ "feature"+ ],+ "link": "/forge"+ },{"date": "2026-07-08","title": "Drivable vehicles in the open world",diff --git a/docs/tutorials/image-to-3d.md b/docs/tutorials/image-to-3d.mdindex 7751cf460..8e2bba7e5 100644--- a/docs/tutorials/image-to-3d.md+++ b/docs/tutorials/image-to-3d.md@@ -30,6 +30,8 @@ Go to [three.ws/forge](/forge) and switch to the **From photos** tab.You'll see a grid of four upload slots. Drag your photos in, or click a slot to browse. After uploading you can **drag the thumbnails to reorder** them — put your best, clearest shot first.+**No object on hand? Draw it.** Click **Or draw it instead** below the grid to open an in-browser drawing canvas — draw with your mouse, finger, or stylus, then **Use sketch** to drop the PNG straight into the next open slot. It goes through the exact same reconstruction pipeline as an uploaded photo, so simple objects with a clear outline (a mug, a low-poly rocket, a chair silhouette) work well; photorealistic detail obviously won't appear from a line drawing. Nothing is uploaded while you draw — only when you click **Use sketch**, and cancelling discards it with zero network activity.+---## Step 3 — Add guidance (optional, but worth it)diff --git a/docs/tutorials/selfie-to-avatar.md b/docs/tutorials/selfie-to-avatar.mdindex 62d387da1..9e87e1419 100644--- a/docs/tutorials/selfie-to-avatar.md+++ b/docs/tutorials/selfie-to-avatar.md@@ -192,6 +192,18 @@ Because the output is a clean, rigged glTF 2.0 file, it isn't locked to three.ws---+## Privacy — what happens to your photo++Your photo(s) are uploaded to the platform's storage and referenced by the build job so it can complete and be retried on failure — the same way any creation tool keeps its source input while the job runs. Concretely:++- **Not public.** The raw photo isn't exposed by any public endpoint or gallery — only the *generated avatar* is shareable, and only if you set its visibility to unlisted/public.+- **Not analyzed beyond this build.** Nothing runs face recognition, identity matching, or profiling against your photo outside of producing the 3D reconstruction you asked for.+- **Deleting an avatar** removes it from your account and any listing immediately; it's a soft delete, not an instant hard purge of the underlying storage object.++If you'd rather nothing persisted at all, use a disposable/cropped photo — the reconstruction only needs a clear, evenly-lit face, not an identifiable original.++---+## Troubleshooting| Symptom | Likely cause | Fix |diff --git a/docs/tutorials/text-to-3d.md b/docs/tutorials/text-to-3d.mdindex aa9756aee..2f01e09a1 100644--- a/docs/tutorials/text-to-3d.md+++ b/docs/tutorials/text-to-3d.md@@ -34,6 +34,8 @@ Three habits that make prompts work dramatically better:Want more recipes? There's a whole cookbook: [Prompt Recipes for 3D Generation](/tutorials/prompts-for-3d).+**Prefer to talk?** Click the mic button next to the prompt box and describe the object out loud — the transcript drops straight into the same field, ready to edit before you generate. It uses your browser's built-in speech recognition where available, with a free cross-browser fallback (NVIDIA Riva) for browsers that don't have one (mainly Firefox). Nothing is written to disk on either path — the browser path never leaves your device, and the fallback path transcribes in memory and discards the audio once it replies. If neither is available the mic button simply doesn't appear — type instead.+---## Step 3 — Pick a quality tierdiff --git a/prompts/roadmap/_generated/07/gate-after.txt b/prompts/roadmap/_generated/07/gate-after.txtnew file mode 100644index 000000000..3604335c5--- /dev/null+++ b/prompts/roadmap/_generated/07/gate-after.txt@@ -0,0 +1,82 @@++> [email protected] gate+> npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:hidden-guard && npm run audit:x402-catalog && npm run audit:tokens+++> [email protected] test:gate+> node scripts/test-gate.mjs++[test-gate] running 7 critical-path test files…++ RUN v4.1.9 /workspaces/three.ws+++ Test Files 7 passed (7)+ Tests 83 passed (83)+ Start at 07:42:02+ Duration 2.85s (transform 1.91s, setup 0ms, import 4.11s, tests 2.84s, environment 1ms)++[test-gate] ✓ all critical-path tests passed++> [email protected] test:gate-3d+> vitest run tests/glb-canonicalize.test.js tests/animation-retarget.test.js tests/animation-retarget-rest-pollution.test.js tests/viewer-framing.test.js+++ RUN v4.1.9 /workspaces/three.ws+++ Test Files 4 passed (4)+ Tests 244 passed (244)+ Start at 07:42:05+ Duration 640ms (transform 451ms, setup 0ms, import 947ms, tests 370ms, environment 1ms)+++> [email protected] audit:mcp+> node scripts/audit-mcp-manifests.mjs++[audit:mcp] 16 MCP manifests consistent++> [email protected] audit:mcp-golden+> node scripts/audit-mcp-golden.mjs++[audit:mcp-golden] 235 hosted MCP tool contracts match the golden fixture++> [email protected] audit:routes+> node scripts/verify-routes.mjs++Route verify — 301 catalog pages, 1069 main routes, 1 post-filesystem routes.+ modeled dist files: 1532 · canonical-covered: 301 · literal page routes checked for shadows: 454+ filesystem boundary (handle:filesystem) present: yes++ℹ 1 advisory note(s):+ TRAILSLASH /payments/ → notfound (lands on designed 404)++✓ static checks pass: every catalog page reachable, unknown paths → designed 404, no shadowed page routes.++> [email protected] audit:handlers+> node scripts/audit-empty-handlers.mjs++✓ audit-empty-handlers: all API handlers export a body (1635 checked)++> [email protected] audit:pages+> node scripts/audit-page-index.mjs++Route audit: 142 auditable page routes, 301 documented in pages.json.+✓ Every auditable page route is documented.++ℹ 6 manifest page(s) have no `added` date (omitted from /changelog). Fine for legacy pages; add dates as you touch them.++> [email protected] audit:hidden-guard+> node scripts/audit-hidden-guard.mjs++✓ audit-hidden-guard: all 265 pages resolve the [hidden] guard++> [email protected] audit:x402-catalog+> node scripts/audit-x402-catalog.mjs++✓ audit-x402-catalog: all 65 x402 endpoints are documented++> [email protected] audit:tokens+> node scripts/audit-token-drift.mjs++✓ token drift unchanged: 0 hardcoded token-hex(es) (baseline 0).diff --git a/public/changelog.json b/public/changelog.jsonindex f8d5ffd60..47b50c6f2 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-08T07:22:51.852Z",+ "generated_at": "2026-07-08T07:40:33.149Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -274,6 +274,26 @@"fix"]},+ {+ "date": "2026-07-08",+ "type": "update",+ "title": "Draw a sketch or speak your prompt in the Forge",+ "summary": "Two new ways to start a 3D creation, both live at /forge and /create/prompt. Draw it: click \"Or draw it instead\" in the Forge's photo tab to open an in-browser drawing canvas — sketch with your mouse, finger, or stylus, and the drawing feeds the same reconstruction pipeline as an uploaded photo. Say it: click the mic next to any prompt box and describe what you want out loud; the transcript drops into the field, ready to edit before you generate. Voice uses your browser's built-in speech recognition where available, with a free NVIDIA Riva fallback for browsers without one — nothing is ever written to disk. Multi-photo reconstruction (up to 4 angles of the same object) and photo-to-avatar (the /scan selfie flow) were already live; this closes out the last two on-ramps into generation.",+ "link": "/forge",+ "tags": [+ "feature"+ ]+ },+ {+ "date": "2026-07-08",+ "type": "update",+ "title": "Drivable vehicles in the open world",+ "summary": "The plaza world at /play now has real, drivable cars. Walk up to a parked coupe, sedan, pickup, or buggy, press F (or tap it on mobile) to take the wheel, and drive with WASD or on-screen pedals — full Rapier physics under the hood, so the car actually collides with district buildings, has real suspension and steering, and can flip and auto-right itself. Every car is a shared world object: other players see you driving it in real time, and the seat is server-arbitrated so only one person can drive a given car at once. Exit with F and the car parks exactly where you left it.",+ "link": "/play",+ "tags": [+ "feature"+ ]+ },{"date": "2026-07-08","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex c0d74d9c3..d0499285f 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -214,6 +214,22 @@<category>feature</category><description>The free /api/v1/x crypto aggregator (CoinGecko, DefiLlama, Jupiter, DexScreener, Solana RPC) has a public storefront at three.ws/crypto-api with a live endpoint table, and every endpoint now shows up in the OpenAPI 3.1 spec at three.ws/openapi.json. Also fixed a bug where the discovery endpoint (GET /api/v1/x) 404'd in production.</description></item>+ <item>+ <title>Draw a sketch or speak your prompt in the Forge</title>+ <link>https://three.ws/forge</link>+ <guid isPermaLink="false">2026-07-08:Draw a sketch or speak your prompt in the Forge</guid>+ <pubDate>Wed, 08 Jul 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Two new ways to start a 3D creation, both live at /forge and /create/prompt. Draw it: click "Or draw it instead" in the Forge's photo tab to open an in-browser drawing canvas — sketch with your mouse, finger, or stylus, and the drawing feeds the same reconstruction pipeline as an uploaded photo. Say it: click the mic next to any prompt box and describe what you want out loud; the transcript drops into the field, ready to edit before you generate. Voice uses your browser's built-in speech recognition where available, with a free NVIDIA Riva fallback for browsers without one — nothing is ever written to disk. Multi-photo reconstruction (up to 4 angles of the same object) and photo-to-avatar (the /scan selfie flow) were already live; this closes out the last two on-ramps into generation.</description>+ </item>+ <item>+ <title>Drivable vehicles in the open world</title>+ <link>https://three.ws/play</link>+ <guid isPermaLink="false">2026-07-08:Drivable vehicles in the open world</guid>+ <pubDate>Wed, 08 Jul 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>The plaza world at /play now has real, drivable cars. Walk up to a parked coupe, sedan, pickup, or buggy, press F (or tap it on mobile) to take the wheel, and drive with WASD or on-screen pedals — full Rapier physics under the hood, so the car actually collides with district buildings, has real suspension and steering, and can flip and auto-right itself. Every car is a shared world object: other players see you driving it in real time, and the seat is server-arbitrated so only one person can drive a given car at once. Exit with F and the car parks exactly where you left it.</description>+ </item><item><title>Embodied on-chain identity — every agent persona now carries a real wallet</title><link>https://three.ws/docs/mcp-3d-studio</link>diff --git a/public/features.json b/public/features.jsonindex 48380c76e..30d729912 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-08T07:22:51.830Z",+ "generated_at": "2026-07-08T07:40:33.135Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/scripts/scratch-verify-dictation-create-prompt.mjs b/scripts/scratch-verify-dictation-create-prompt.mjsnew file mode 100644index 000000000..70339da53--- /dev/null+++ b/scripts/scratch-verify-dictation-create-prompt.mjs@@ -0,0 +1,30 @@+// Throwaway verification: confirms the voice dictation mic mounts on+// /create/prompt (avatar-from-text) without breaking the existing composer.+import { chromium } from 'playwright';++const BASE = process.env.BASE_URL || 'http://localhost:3000';+const browser = await chromium.launch();+const page = await browser.newPage();+const errors = [];+page.on('pageerror', (e) => errors.push(String(e)));+page.on('console', (m) => {+ if (m.type() === 'error' && !/WebSocket|favicon/i.test(m.text())) errors.push(m.text());+});++await page.goto(`${BASE}/create/prompt`, { waitUntil: 'networkidle' });+await page.waitForTimeout(600);++const micCount = await page.locator('#prompt-dictate-slot .pd-mic').count();+console.log(`mic mounted on /create/prompt: ${micCount > 0}`);++// The pre-existing composer still works: typing enables the Generate button's+// disabled state to flip (existing behavior, must survive the change).+await page.fill('#prompt', 'a friendly robot mascot, glossy white shell');+await page.waitForTimeout(200);+const disabled = await page.locator('#generate-btn').isDisabled();+console.log(`generate button enabled after typing (existing flow intact): ${!disabled}`);++console.log(`console errors: ${errors.length ? errors.join(' | ') : 'none'}`);++await browser.close();+if (micCount === 0 || disabled || errors.length) process.exit(1);diff --git a/src/create-prompt.js b/src/create-prompt.jsindex 71530c98b..e79dcaf27 100644--- a/src/create-prompt.js+++ b/src/create-prompt.js@@ -16,6 +16,7 @@import { log } from './shared/log.js';import { injectFestivePresets } from './shared/festive-presets.js';+import { mountPromptDictation } from './voice/prompt-dictation.js';const SUBMIT_ENDPOINT = '/api/avatars/reconstruct';const STATUS_ENDPOINT = '/api/avatars/regenerate-status';@@ -34,6 +35,12 @@ const buildStatus = $('#build-status');const progressFill = $('#progress-fill');const elapsedEl = $('#elapsed');+// Voice → prompt: dictate the avatar description instead of typing it. Feeds+// the exact same #prompt textarea /api/avatars/reconstruct already consumes —+// no new generation path, just a new way to fill the existing one. Renders+// nothing when this browser can't dictate (see prompt-dictation.js).+mountPromptDictation($('#prompt-dictate-slot'), promptEl);+let _submitting = false;let _startedAt = 0;let _elapsedTimer = 0;