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(mcp-studio): describe the high tier as the working option it now is
nirholasdfc70c1d76fc
diff --git a/api/_mcp-studio/forge-client.js b/api/_mcp-studio/forge-client.jsindex 54dd23fed..52929bcae 100644--- a/api/_mcp-studio/forge-client.js+++ b/api/_mcp-studio/forge-client.js@@ -86,9 +86,10 @@ function internalHeaders() {// `internal: true` attaches the platform seed token so gated tiers (high) run// operator-funded. A high-tier submit degrades to the ungated standard tier// rather than dead-ending when the gate refuses (402: secret missing or stale)-// OR when the high lane can't hand back a job in time (the free Hunyuan3D lane-// blocks the whole request instead of returning a poll handle, which no ChatGPT-// surface can wait out).+// OR when the high lane can't hand back a job inside the submit window. The+// self-hosted Hunyuan3D worker that serves high does return a poll handle, so+// the usual cause of the second case is its scale-to-zero cold start rather+// than a blocking lane; either way, standard is better than a dead end.// `submitTimeoutMs` sets how long the caller is willing to hold the submit open// before giving up (default 90s). The blocking free lanes (HF Spaces) can take// well past 90s under a queue while still finishing fine server-side; a callerdiff --git a/api/_mcp-studio/gpt-forge-client.js b/api/_mcp-studio/gpt-forge-client.jsindex ed4d7ec6f..8168d6605 100644--- a/api/_mcp-studio/gpt-forge-client.js+++ b/api/_mcp-studio/gpt-forge-client.js@@ -90,9 +90,10 @@ function internalHeaders() {// `internal: true` attaches the platform seed token so gated tiers (high) run// operator-funded. A high-tier submit degrades to the ungated standard tier// rather than dead-ending when the gate refuses (402: secret missing or stale)-// OR when the high lane can't hand back a job in time (the free Hunyuan3D lane-// blocks the whole request instead of returning a poll handle, which no ChatGPT-// surface can wait out).+// OR when the high lane can't hand back a job inside the submit window. The+// self-hosted Hunyuan3D worker that serves high does return a poll handle, so+// the usual cause of the second case is its scale-to-zero cold start rather+// than a blocking lane; either way, standard is better than a dead end.export async function startForge(base, { prompt, imageUrls, aspect, backend, path, tier, internal }) {const attempt = async (tierId, withInternal) => {const payload = {@@ -128,8 +129,8 @@ export async function startForge(base, { prompt, imageUrls, aspect, backend, patif (err?.code !== 'timeout') throw err;// One more shot at the accept path before giving up: the async lanes 202// in milliseconds, so a submit that blocked to the deadline almost always- // hit a blocking-lane (HF Space) or cold-start hiccup. High tier degrades- // to the async standard router; other tiers retry as submitted.+ // hit a cold start or a blocking fallback lane. High tier degrades to the+ // async standard router; other tiers retry as submitted.if (tier === 'high') ({ res, data } = await attempt('standard', false));else ({ res, data } = await attempt(tier, !!internal));}diff --git a/api/_mcp-studio/tools.js b/api/_mcp-studio/tools.jsindex 5ddadc970..6f0743cd3 100644--- a/api/_mcp-studio/tools.js+++ b/api/_mcp-studio/tools.js@@ -1,6 +1,11 @@// three.ws 3D Studio (free) — tool catalog + handlers.//-// Seven tools (five generators + refine_model + check_job), all FREE (no x402, no+// This module holds seven of the connector's ten tools: five generators ++// refine_model + check_job. The other three (create_agent_persona,+// get_agent_persona, persona_say) live in ./persona-tools.js, and dispatch.js+// merges both catalogs into the single tools/list the endpoint serves.+//+// All seven are FREE (no x402, no// wallet, no API key): the platform's server-side keys cover provider cost via// /api/forge (the public, auth-free twin of the paid pipeline). refine_model adds// conversational iteration — describe a change and it re-generates a new version@@ -264,12 +269,18 @@ async function handleForgeFree(args, _auth, req) {if (prompt.length < 3) return toolError('Provide a text prompt of at least 3 characters.');const safety = checkPromptSafety(prompt);if (!safety.allowed) return toolError(safety.message);- // Fast free lane by default. The deployed high-tier free engine (Hunyuan3D- // via HF Spaces) blocks the submit for 50-280s with no poll handle, which no- // ChatGPT tool call survives — an explicit tier:'high' request still tries it- // (internal token clears the gate) and startForge degrades to standard on- // 402/timeout. True high-by-default lands when the async self-host Hunyuan3D- // worker deploys (GCP_HUNYUAN3D_URL).+ // Standard by default, and every doc describing this tool says exactly that.+ // The high tier is a real, working option, not a stub: it runs on our own+ // async Hunyuan3D worker (GCP_HUNYUAN3D_URL) behind a genuine poll handle,+ // and a live production probe on 2026-08-06 returned a 2.69 MB high-tier GLB+ // from backend `hunyuan3d` end to end. It stays opt-in rather than default+ // for two reasons a caller cannot see: that worker is scale-to-zero, so a+ // cold container adds a spin-up on top of the generation, and the high-tier+ // access gate is cleared only by the platform seed token, so any deployment+ // without CRON_SECRET would quietly serve standard while a "high by default"+ // promise stayed on the page. startForge degrades an explicit high request to+ // standard on a 402 or submit timeout, and a job that outlives+ // STUDIO_FORGE_TIMEOUT_MS comes back as a pollable handle, never an error.const tier = VALID_TIER.has(args.tier) ? args.tier : 'standard';// Known brand marks resolve deterministically; everything else runs the// subject-classified Granite director (fail-soft: original prompt on any