Skip to content

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.

feat: TOS clickwrap acceptance, QuickNode Startup Program, forge + price-history hardening

nirholasa29b5c4f55fa
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c7f59b7a..7634379a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Clip Director: every trade becomes content** (`/clip-director`) — Turn any trader agent's real closed pump.fun trade into the optimal shareable card per surface (X, Telegram, or the in-app Feed): an honest hook, the real number, an avatar reaction, and an on-chain proof link. Wins and losses both get a card.
- **Meta-Allocator: the ETF of degens** (`/meta-allocator`) — Do not pick a coin, pick a basket of proven traders. The Meta-Allocator spreads a budget across the top verified pump.fun trader agents, ranked by risk-adjusted on-chain track record and diversified across trading styles, then tells you how to rebalance. Non-custodial: it returns a plan you act on one leader at a time, never a transaction.
+- **three.ws Joins the QuickNode Startup Program** (`/blog/three-ws-quicknode-startup-program`) — three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.
- **3D generation now switches engines by itself when one fails** — A 3D generation that dies mid-flight no longer dead-ends. The platform now re-runs the same job on the next available engine automatically (up to three backups, free engines first) while your progress bar just keeps going — most failures become invisible. In the rare case every automatic backup is exhausted, the error screen on /forge now offers one-click "Try on …" buttons for the engines still available, so you never have to re-enter your prompt or photos. Avatar tools got the same treatment: a rig step that fails no longer throws away the finished 3D model, and the avatar generator falls back to the platform's own free engines when its primary vendor is down. (`/forge`) `[improvement]`
- **Creation tools now hand off down the pipeline** — Finishing one creation step now offers the next one instead of dropping you at a dead end. A fresh selfie avatar gets a "Turn this into an agent" button that carries the 3D body straight into the agent builder. The agent builder's success screen adds a "Take it further" row: give it a voice, embed it anywhere, put it in a world, or launch its token. And a freshly cloned voice now offers "Add to an agent". Avatar to agent to deploy, with no manual re-navigation. (`/create`) `[improvement]`
- **Fewer dead ends in the creation flow** — Every generic "create an agent" button (marketplace, memory tab, search) now points at the guided /create-agent wizard instead of a stale /agent/new link; that route stays reserved for the avatar hand-off it powers. The search page's avatar CTA no longer points at a route that never existed. /scan and /create/selfie (the two photo-to-avatar paths) now cross-link each other, and Build > Start here in the nav leads with "Create anything" straight to the /create hub. (`/create`) `[improvement]`
@@ -684,7 +685,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Live Agents** (`/agents-live`) — Mission control — real-time grid of all AI agents with active screen streams. Watch their screens and avatar feeds live.
- **Memetic Launcher** (`/launcher`) — Your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, preview what your agents would mint, then go live: real pump.fun launches on your schedule, self-funded from your own agents' wallets under a hard daily SOL cap.
- **On-chain Deployments** (`/deployments`) — A live, cross-chain feed of every agent registered on the ERC-8004 Identity Registry — the moment each registration lands on-chain. Real on-chain registrations only, with chain footprint, 3D-avatar and x402 capability stats.
-- **Partner Ecosystem** (`/partners`) — three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.
+- **Partner Ecosystem** (`/partners`) — three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.
- **Recording Pipeline — the data loop, live** (`/pipeline`) — One-glance health of the closed loop that turns every pump.fun launch into a trade signal: the launch recorder, signal intel, ground-truth outcomes, Oracle conviction, the wallet reputation graph, trained weights, and the agents trading on the result — every stage, in real time.
- **Scene Capture — Video to 3D Point Cloud** (`/capture`) — Turn a phone video of any space into an explorable 3D point cloud. Streaming feed-forward reconstruction (LingBot-Map Geometric Context Transformer) fuses the frames into a coloured .ply, rendered live in the browser with WebGL. Or load a point cloud you already have.
- **three.ws Joins the Alibaba Cloud Partner Network** (`/blog/three-ws-alibaba-cloud-partnership`) — three.ws is now an Alibaba Cloud Partner, bringing Qwen foundation models and Asia-Pacific cloud infrastructure to the three.ws 3D AI agent platform.
diff --git a/api/_lib/forge-director-prompts.js b/api/_lib/forge-director-prompts.js
index 22b75b1fe..664d4f703 100644
--- a/api/_lib/forge-director-prompts.js
+++ b/api/_lib/forge-director-prompts.js
@@ -15,6 +15,24 @@ import { BRAND_MARK_DIRECTIVE, resolveLogoPrompt } from '../../mcp-server/src/to
// lexicon from the same module it already imports the director prompts from.
export { resolveLogoPrompt };
+// The mesh reconstructor never sees the user's words — it only ever sees the
+// ONE reference image the director's rewritten prompt produces. So the single
+// highest-leverage lever for mesh/texture realism is making that reference
+// image read as an actual photograph, not a "3D render" or a game asset: a
+// photo already carries the lighting response, material micro-detail, and
+// subtle imperfections a reconstruction model needs to bake real PBR values
+// instead of flat, plastic-looking color. This phrase block is reused by both
+// directors below so a photoreal subject and a photoreal avatar hit the same
+// bar. Deliberately generic across camera brands/lens brands (no named gear)
+// so it never reads as a product placement.
+const PHOTOREAL_CUES =
+ 'shot like a real photograph, not a render or illustration: natural daylight-balanced studio lighting from a ' +
+ 'large soft key light with gentle fill (soft, wrapping shadows, no hard graphic highlights), shallow depth of ' +
+ 'field with the subject in crisp focus, true-to-life color response, and visible micro-detail — fabric weave, ' +
+ 'skin pores and fine creases, brushed-metal grain, dust and light wear — because nothing in the real world is ' +
+ 'perfectly clean or perfectly smooth; a small amount of natural asymmetry and imperfection reads as more real ' +
+ 'than a flawless surface';
+
// For a single object/prop/creature — one isolated subject, its construction,
// per-part PBR materials, one held art style, and fine surface detail, ending
// in composition constraints tuned for clean image→mesh reconstruction.
@@ -24,12 +42,14 @@ export const MESH_DIRECTOR =
'SINGLE subject and its overall silhouette/proportions, (2) construction — distinct parts, how they join, ' +
'any symmetry, (3) materials per part with explicit PBR cues (e.g. brushed steel, matte ceramic, worn ' +
'leather, glossy lacquer, rough stone) so surfaces reconstruct with the right roughness/metalness, (4) a ' +
- 'coherent, consistent art style held across the whole subject (pick one: photoreal, stylized, low-poly, ' +
- 'hand-painted — never mix styles), (5) fine surface detail (seams, panel lines, weathering, grain) that ' +
- 'gives the reconstructor texture to latch onto. If the idea names a brand, meme, app, or term you do not ' +
- 'recognize, keep the user\'s concrete object noun as the subject and describe its canonical physical form ' +
- '(a pill is a two-tone medicine capsule, a rocket is a finned cylinder with a nose cone); never substitute ' +
- 'a different object. ' +
+ 'coherent, consistent art style held across the whole subject. Default to photoreal — most real-world objects ' +
+ 'should look like an actual photograph of the physical thing. Only choose stylized, low-poly, or hand-painted ' +
+ "when the user's own words clearly call for that look (cartoon, chibi, voxel, pixel art, toy, anime, retro " +
+ 'game, etc.) — never mix styles. When the style is photoreal, weave in these cues: ' + PHOTOREAL_CUES + '. (5) ' +
+ 'fine surface detail (seams, panel lines, weathering, grain) that gives the reconstructor texture to latch ' +
+ "onto. If the idea names a brand, meme, app, or term you do not recognize, keep the user's concrete object " +
+ 'noun as the subject and describe its canonical physical form (a pill is a two-tone medicine capsule, a ' +
+ 'rocket is a finned cylinder with a nose cone); never substitute a different object. ' +
BRAND_MARK_DIRECTIVE +
'Always end with these composition constraints so the ' +
'reference image reconstructs cleanly: full subject in frame, centered, isolated on a plain neutral ' +
@@ -37,6 +57,18 @@ export const MESH_DIRECTOR =
'collage or multi-view grid, no second subject. Output ONLY the rewritten prompt as a single line — no ' +
'preamble, no quotes.';
+// Human-specific realism cues layered on top of PHOTOREAL_CUES for avatars —
+// the difference between "video-game NPC" and an actual person is almost
+// entirely in skin, hair, and eyes, so those get named explicitly rather than
+// left to the generic PHOTOREAL_CUES block above.
+const PHOTOREAL_HUMAN_CUES =
+ 'render actual human skin, not plastic or mannequin-smooth: visible pores, fine natural texture, subtle ' +
+ 'subsurface light scattering at the ears/nose/fingers, faint natural color variation across the face and ' +
+ 'hands, and realistic individual proportions rather than an idealized/symmetrical video-game-character look. ' +
+ 'Hair is rendered as many fine individual strands with natural flyaways and light catching them, not a single ' +
+ 'painted-on helmet shape. Eyes have visible iris detail, a natural wet highlight, and real catchlights from ' +
+ 'the studio lighting';
+
// For a full-body humanoid destined for auto-rigging — a readable, separable
// pose plus the same per-region PBR/material and single-style discipline.
export const AVATAR_DIRECTOR =
@@ -47,10 +79,13 @@ export const AVATAR_DIRECTOR =
'proportions, (3) outfit and gear per body region (head, torso, arms, legs, feet) with explicit PBR ' +
'material cues (e.g. brushed metal armor, worn leather straps, matte cloth, glossy visor) so surfaces ' +
'reconstruct with correct roughness/metalness, (4) one coherent, consistent art style held across the ' +
- 'whole character (pick one: photoreal, stylized, low-poly, hand-painted — never mix styles), (5) key ' +
- 'identifying features (hair, face, color scheme, accessories). If the idea names a brand, meme, or term ' +
- 'you do not recognize, keep the user\'s stated character concept as the subject and render its canonical ' +
- 'look; never substitute a different character. Always end with these composition ' +
+ 'whole character. Default to photoreal — a real human being photographed, not a game character or a toy — ' +
+ "unless the user's own words clearly call for something else (anime, cartoon, chibi, voxel, robot, creature, " +
+ 'toy, low-poly, hand-painted, etc.); never mix styles. When the character is a photoreal human, weave in ' +
+ 'these cues: ' + PHOTOREAL_CUES + '; and specifically: ' + PHOTOREAL_HUMAN_CUES + '. (5) key identifying ' +
+ 'features (hair, face, color scheme, accessories). If the idea names a brand, meme, or term you do not ' +
+ "recognize, keep the user's stated character concept as the subject and render its canonical look; never " +
+ 'substitute a different character. Always end with these composition ' +
'constraints: full body in frame head-to-toe, centered, isolated on a plain neutral background, no props ' +
'gripped or crossing the silhouette, one camera angle facing the character, even studio lighting, no ' +
'cropping, no motion blur, no text or watermark, no collage or multi-view grid, no second character. ' +
diff --git a/api/_lib/legal.js b/api/_lib/legal.js
new file mode 100644
index 000000000..cf4ed7aae
--- /dev/null
+++ b/api/_lib/legal.js
@@ -0,0 +1,66 @@
+// Terms of Service acceptance — shared constants + recording helper.
+//
+// TOS_VERSION is the integer version of the current /legal/tos document.
+// Bump it whenever the Terms change materially; new signups then record the
+// new version and returning users are re-stamped on their next sign-in
+// (every first-party auth surface sends tosAccepted with each sign-in, so
+// coverage converges without a blocking re-acceptance interstitial).
+//
+// Two durable records are written per acceptance:
+// - users.tos_accepted_version / users.tos_accepted_at — the current state,
+// cheap to query (migration 20260716100000_users_tos_acceptance.sql).
+// - an audit_log 'tos-accept' row — the append-only evidentiary trail
+// (who, which version, from which flow, when, IP, user agent).
+
+import { sql } from './db.js';
+import { logAudit } from './audit.js';
+
+export const TOS_VERSION = 2;
+
+/**
+ * Parse the optional ToS-acceptance fields from an auth request body.
+ * Returns null when the client did not assert acceptance. The version is
+ * clamped to [1, TOS_VERSION] — a client cannot claim a version that does
+ * not exist yet; an omitted/invalid version defaults to the current one.
+ *
+ * @param {unknown} body raw parsed JSON body
+ * @returns {{ version: number } | null}
+ */
+export function tosAcceptanceFromBody(body) {
+ if (body?.tosAccepted !== true) return null;
+ const raw = Number(body.tosVersion);
+ const version = Number.isInteger(raw) && raw >= 1 && raw <= TOS_VERSION ? raw : TOS_VERSION;
+ return { version };
+}
+
+/**
+ * Record a user's ToS acceptance. Fire-and-forget: auth flows must never
+ * fail because acceptance bookkeeping had a bad day — the audit trail and
+ * column stamp are best-effort, the acceptance UI event already happened.
+ *
+ * @param {{ userId: string, version: number, context: string, req?: import('http').IncomingMessage }} args
+ * context: which flow recorded it ('register', 'login', 'siwe', 'siws',
+ * 'privy', 'tos-ack', …) — stored in the audit row's meta.
+ */
+export function recordTosAcceptance({ userId, version, context, req = null }) {
+ logAudit({
+ userId,
+ action: 'tos-accept',
+ resourceId: null,
+ meta: { version, context },
+ req,
+ });
+ queueMicrotask(async () => {
+ try {
+ await sql`
+ update users
+ set tos_accepted_version = ${version},
+ tos_accepted_at = now()
+ where id = ${userId}
+ and coalesce(tos_accepted_version, 0) <= ${version}
+ `;
+ } catch (err) {
+ console.error('[legal] tos acceptance stamp failed', err?.message || err);
+ }
+ });
+}
diff --git a/api/_lib/migrations/20260716100000_users_tos_acceptance.sql b/api/_lib/migrations/20260716100000_users_tos_acceptance.sql
new file mode 100644
index 000000000..7997f812c
--- /dev/null
+++ b/api/_lib/migrations/20260716100000_users_tos_acceptance.sql
@@ -0,0 +1,7 @@
+-- Terms of Service clickwrap state. Stamped at account creation (the register
+-- form and wallet/Privy sign-in surfaces send tosAccepted with every auth
+-- call) and re-stamped on later sign-ins when the accepted version is newer.
+-- The append-only evidentiary record lives in audit_log (action 'tos-accept');
+-- these columns are the cheap-to-query current state per user.
+alter table users add column if not exists tos_accepted_version int;
+alter table users add column if not exists tos_accepted_at timestamptz;
diff --git a/api/_lib/schema.sql b/api/_lib/schema.sql
index e8674957b..3c48f58fc 100644
--- a/api/_lib/schema.sql
+++ b/api/_lib/schema.sql
@@ -53,6 +53,12 @@ alter table users add column if not exists account_tier text
alter table users add column if not exists onboarding_tour_seen_at timestamptz;
alter table users add column if not exists onboarding_tour_completed_at timestamptz;
+-- Terms of Service clickwrap state (api/_lib/migrations/20260716100000_users_tos_acceptance.sql).
+-- Stamped at signup and re-stamped on later sign-ins; the append-only
+-- evidentiary record is the audit_log 'tos-accept' row. See api/_lib/legal.js.
+alter table users add column if not exists tos_accepted_version int;
+alter table users add column if not exists tos_accepted_at timestamptz;
+
-- ── user_follows — the social graph ──────────────────────────────────────────
-- A directed follow edge: follower_id follows following_id. Composite PK makes
-- a follow idempotent (one edge per pair) and the toggle a single upsert/delete.
diff --git a/api/auth/[action].js b/api/auth/[action].js
index 8b13183bd..26ae6bd07 100644
--- a/api/auth/[action].js
+++ b/api/auth/[action].js
@@ -20,6 +20,7 @@ import { referralCodeCandidates, normalizeReferralCode } from '../_lib/referrals
import { seedDefaultAgent } from '../_lib/seed-default-agent.js';
import { recordEvent } from '../_lib/usage.js';
import { logAudit } from '../_lib/audit.js';
+import { tosAcceptanceFromBody, recordTosAcceptance } from '../_lib/legal.js';
import { z } from 'zod';
const APP_ORIGIN = process.env.APP_ORIGIN || 'https://three.ws';
@@ -47,7 +48,8 @@ async function handleLogin(req, res) {
const rl = await limits.authIp(ip);
if (!rl.success) return rateLimited(res, rl, 'too many attempts; try again later', { captcha_available: true });
}
- const body = parse(loginBody, await readJson(req));
+ const raw = await readJson(req);
+ const body = parse(loginBody, raw);
const isEmail = body.email.includes('@');
const rows = isEmail
? await sql`select id, email, password_hash, display_name, plan, avatar_url, referral_code from users where email = ${body.email} and deleted_at is null limit 1`
@@ -65,6 +67,11 @@ async function handleLogin(req, res) {
const token = await createSession({ userId: user.id, userAgent: req.headers['user-agent'], ip });
res.setHeader('set-cookie', sessionCookie(token));
logAudit({ userId: user.id, action: 'login', req });
+ // The login form carries a "By signing in you agree…" notice, so each
+ // sign-in re-affirms the current Terms — this is how pre-clickwrap
+ // accounts converge onto a recorded acceptance.
+ const tos = tosAcceptanceFromBody(raw);
+ if (tos) recordTosAcceptance({ userId: user.id, version: tos.version, context: 'login', req });
const { password_hash: _p, ...safe } = user;
return json(res, 200, { user: safe });
}
@@ -138,6 +145,13 @@ async function handleRegister(req, res) {
const rl = await limits.registerIp(ip);
if (!rl.success) return rateLimited(res, rl, 'too many signups from this IP');
const raw = await readJson(req);
+ // Clickwrap gate: account creation requires explicit Terms acceptance.
+ // The register form gates its submit button on the agreement checkbox and
+ // sends tosAccepted; a request without it never creates an account.
+ const tos = tosAcceptanceFromBody(raw);
+ if (!tos) {
+ return error(res, 400, 'tos_required', 'you must accept the Terms of Service and Privacy Policy to create an account');
+ }
let email_val, displayName_val, passwordVal, referralCode;
if (raw.username && !raw.email) {
const body = parse(usernameRegisterBody, raw);
@@ -188,6 +202,7 @@ async function handleRegister(req, res) {
meta: { referred_user_id: String(user.id), source: 'signup' },
});
}
+ recordTosAcceptance({ userId: user.id, version: tos.version, context: 'register', req });
// Fire-and-forget: every new account gets a starter draft agent so the
// marketplace's "My Agents" tab and onboarding flow have something to show.
queueMicrotask(() => seedDefaultAgent(user.id));
diff --git a/api/auth/privy/verify.js b/api/auth/privy/verify.js
index 33782bde2..8771735ed 100644
--- a/api/auth/privy/verify.js
+++ b/api/auth/privy/verify.js
@@ -22,6 +22,7 @@ import { limits, clientIp } from '../../_lib/rate-limit.js';
import { parse } from '../../_lib/validate.js';
import { seedDefaultAgent } from '../../_lib/seed-default-agent.js';
import { logAudit } from '../../_lib/audit.js';
+import { tosAcceptanceFromBody, recordTosAcceptance } from '../../_lib/legal.js';
const bodySchema = z.object({
token: z.string().min(10),
@@ -37,7 +38,8 @@ export default wrap(async (req, res) => {
if (!env.PRIVY_APP_ID) return error(res, 503, 'not_configured', 'Privy is not configured on this server');
- const { token } = parse(bodySchema, await readJson(req));
+ const raw = await readJson(req);
+ const { token } = parse(bodySchema, raw);
let payload;
try {
@@ -121,6 +123,10 @@ export default wrap(async (req, res) => {
});
res.setHeader('set-cookie', sessionCookie(sessionToken));
logAudit({ userId, action: 'login:privy', req });
+ // Terms acceptance: the login/register pages show the agreement notice next
+ // to the Privy buttons and send tosAccepted with the verify call.
+ const tos = tosAcceptanceFromBody(raw);
+ if (tos) recordTosAcceptance({ userId, version: tos.version, context: 'privy', req });
const [userRow] = await sql`
select id, email, display_name, plan, avatar_url, created_at
diff --git a/api/auth/siwe/[action].js b/api/auth/siwe/[action].js
index d11c61975..7423bb414 100644
--- a/api/auth/siwe/[action].js
+++ b/api/auth/siwe/[action].js
@@ -12,6 +12,7 @@ import { randomToken, hmacSha256, constantTimeEquals } from '../../_lib/crypto.j
import { env } from '../../_lib/env.js';
import { parse } from '../../_lib/validate.js';
import { seedDefaultAgent } from '../../_lib/seed-default-agent.js';
+import { tosAcceptanceFromBody, recordTosAcceptance } from '../../_lib/legal.js';
const NONCE_TTL_SEC = 5 * 60;
const CSRF_COOKIE = '__Host-csrf-siwe';
@@ -108,7 +109,8 @@ async function handleVerify(req, res) {
const rl = await limits.authIp(ip);
if (!rl.success) return rateLimited(res, rl, 'too many attempts');
- const body = parse(verifyBody, await readJson(req));
+ const raw = await readJson(req);
+ const body = parse(verifyBody, raw);
// 1. Parse SIWE message.
const fields = parseSiweMessage(body.message);
@@ -278,6 +280,12 @@ async function handleVerify(req, res) {
}
}
+ // Terms acceptance: first-party sign-in surfaces put the agreement in the
+ // signed SIWE statement and send tosAccepted alongside — record it for both
+ // brand-new and returning wallets so acceptance converges on every sign-in.
+ const tos = tosAcceptanceFromBody(raw);
+ if (tos) recordTosAcceptance({ userId, version: tos.version, context: 'siwe', req });
+
// 7. Issue session.
await destroySession(req);
const token = await createSession({
diff --git a/api/auth/siws/[action].js b/api/auth/siws/[action].js
index 11c9bf8ea..2d6a8bda2 100644
--- a/api/auth/siws/[action].js
+++ b/api/auth/siws/[action].js
@@ -12,6 +12,7 @@ import { parse } from '../../_lib/validate.js';
import { randomToken, hmacSha256, sha256, constantTimeEquals } from '../../_lib/crypto.js';
import { parseSiwsMessage, verifySiwsSignature } from '../../_lib/siws.js';
import { seedDefaultAgent } from '../../_lib/seed-default-agent.js';
+import { tosAcceptanceFromBody, recordTosAcceptance } from '../../_lib/legal.js';
const NONCE_TTL_SEC = 5 * 60;
const CSRF_COOKIE = '__Host-csrf-siws';
@@ -109,7 +110,8 @@ async function handleVerify(req, res) {
const rl = await limits.authIp(ip);
if (!rl.success) return rateLimited(res, rl, 'too many attempts');
- const body = parse(verifyBody, await readJson(req));
+ const raw = await readJson(req);
+ const body = parse(verifyBody, raw);
// 1. Parse SIWS message.
const fields = parseSiwsMessage(body.message);
@@ -249,6 +251,12 @@ async function handleVerify(req, res) {
}
}
+ // Terms acceptance: first-party sign-in surfaces put the agreement in the
+ // signed SIWS statement and send tosAccepted alongside — record it for both
+ // brand-new and returning wallets so acceptance converges on every sign-in.
+ const tos = tosAcceptanceFromBody(raw);
+ if (tos) recordTosAcceptance({ userId, version: tos.version, context: 'siws', req });
+
// 8. Issue session.
await destroySession(req);
const token = await createSession({
diff --git a/api/forge-enhance.js b/api/forge-enhance.js
index ac974aef5..e8ed8bb55 100644
--- a/api/forge-enhance.js
+++ b/api/forge-enhance.js
@@ -36,10 +36,25 @@ export const FORGE_NEGATIVE_PROMPT =
'disconnected parts, transparent geometry, hollow interior, inside-out normals, ' +
'flat image, 2D illustration, watermark, text overlay, blur';
+// Appended on top of FORGE_NEGATIVE_PROMPT only for the photorealistic default
+// and the explicit `photorealistic` style — the platform's most common failure
+// mode against a real-looking result is a plasticky, doll-like, or uncanny
+// render, not the reconstruction-geometry issues above. Never appended for
+// styles that deliberately want a non-real look (lowpoly, clay, stylized,
+// scifi, fantasy), where these would fight the user's own request.
+export const FORGE_PHOTOREAL_NEGATIVE_PROMPT =
+ 'plastic doll skin, waxy texture, mannequin, toy figurine, action figure, chibi proportions, ' +
+ 'cartoon shading, cel shading, airbrushed skin, uncanny valley, wax figure, cgi render look, ' +
+ 'video game character, low detail skin, plastic sheen';
+
// Style presets: a caller can pass `style` to keep generated-set consistency
// (“I want all my assets to look like low-poly game items”).
const STYLE_PRESETS = {
- photorealistic: 'photorealistic, PBR, physically-based rendering, 8K texture detail',
+ photorealistic:
+ 'photorealistic, shot on a full-frame camera, physically-based rendering, ' +
+ 'true-to-life material response, natural skin micro-texture and pore detail on any person ' +
+ 'or creature, real fabric weave and wrinkles on any clothing, 8K texture detail, ' +
+ 'unretouched documentary realism',
lowpoly: 'low-poly, faceted surfaces, flat shading, stylized game asset',
clay: 'matte clay render, smooth surfaces, uniform studio lighting, no shadows',
stylized: 'stylized, illustrative 3D, clean hand-painted textures, vibrant colors',
@@ -47,34 +62,54 @@ const STYLE_PRESETS = {
fantasy: 'fantasy, hand-painted texture, slightly warm studio light, vivid surface detail',
};
+// Every generation is real-looking by default: the platform's whole promise is
+// that what comes out could pass for a photograph of an actual object or
+// person, not a video-game asset. A caller opts OUT of that by passing any
+// other `style`; passing none, or `photorealistic` explicitly, both mean "as
+// real as possible."
+const DEFAULT_REALISM_BLOCK =
+ '\n- This is the DEFAULT aesthetic unless the user clearly asked for something else (a game, a ' +
+ 'toy, a cartoon, a specific art style): render it as if it were a real object or a real person, ' +
+ 'photographed. Skin has natural pores, subtle asymmetry, and true subsurface scattering, never a ' +
+ 'smooth plastic or airbrushed sheen. Hair reads as individual real strands with natural flyaways, ' +
+ 'not a sculpted cartoon helmet. Fabric has real weave, weight, and wrinkles from actually being ' +
+ 'worn. Faces are anatomically ordinary — no oversized eyes, no doll-like symmetry, no exaggerated ' +
+ 'proportions — like an actual person stood in front of the camera.';
+
function buildSystem(style) {
+ const isRealistic = !style || style === 'photorealistic';
const styleBlock =
style && STYLE_PRESETS[style]
? `\n- Apply this target aesthetic to every prompt you write: ${STYLE_PRESETS[style]}.`
: '';
+ const realismBlock = isRealistic ? DEFAULT_REALISM_BLOCK : '';
return `You rewrite a user's rough idea into ONE optimal prompt for a text-to-3D pipeline \
(a diffusion model paints a reference image, then a photogrammetry-style model reconstructs \
a textured 3D mesh from it).
-A great prompt for this pipeline describes a SINGLE, SOLID physical object with clear geometry, \
-centered on a plain background as if shot for a product catalog. Rewrite the user's idea \
-following every rule:
-- Exactly one subject. If the user named several things, pick the most central solid object.
+A great prompt for this pipeline describes a SINGLE, SOLID physical subject (an object, or a \
+person/creature) with clear geometry, centered on a plain background as if shot for a product \
+or portrait catalog. Rewrite the user's idea following every rule:
+- Exactly one subject. If the user named several things, pick the most central one — for a person \
+or character, that means the person themselves, not props scattered around them.
- Add concrete material, surface and color cues that photograph well AND reconstruct well, \
e.g. “brushed aluminium with visible machining marks”, “worn oak with tight grain”, \
-“matte ceramic with slight subsurface glow”, “cast iron with rust-speckled patina”. \
-Surface micro-detail helps the reconstruction model generate dense, clean geometry.
-- Prefer opaque, solid materials (metal, wood, stone, ceramic, hard plastic). \
-AVOID transparent, translucent, or reflective surfaces (glass, crystal, mirror, water) — \
+“matte ceramic with slight subsurface glow”, “cast iron with rust-speckled patina”, or for a \
+person: “weathered tan skin with faint freckles”, “close-cropped grey stubble”, “fine wool knit \
+with visible stitching”. Surface micro-detail helps the reconstruction model generate dense, \
+clean geometry and a convincing texture bake.
+- Prefer opaque, solid materials (metal, wood, stone, ceramic, hard plastic, skin, hair, cloth). \
+AVOID transparent, translucent, or mirror-reflective surfaces (glass, crystal, mirror, water) — \
they produce degenerate meshes in photogrammetry reconstructors.
-- The silhouette must be distinct and self-contained: no thin wires, no loose hair, no fog, \
-no overlapping objects. The reconstructor needs unambiguous depth cues.
+- The silhouette must be distinct and self-contained: no thin wires, no wispy loose strands, no \
+fog, no overlapping objects or people. The reconstructor needs unambiguous depth cues.
- Specify soft, even studio lighting (e.g. “soft box lighting”, “diffuse white studio light”) \
and a plain white or light-grey background. Sharp shadows confuse depth estimation.
-- Keep the object in a neutral, fully-visible resting pose. No actions, no motion, \
-no people using it, no scenes or environments.
-- Stay a compact noun phrase (10–35 words). No camera brands, resolution tags, artist names, \
-or quotation marks.${styleBlock}
+- Keep the subject in a neutral, fully-visible resting pose (a person: standing, arms at sides or \
+loosely crossed, facing the camera). No actions, no motion blur, no interacting with other people \
+or objects, no scenes or environments.
+- Stay a compact noun phrase (10–40 words). No camera brands, resolution tags, artist names, \
+or quotation marks.${styleBlock}${realismBlock}
Output ONLY the rewritten prompt as a single line of plain text. No preamble, no explanation, \
no markdown, no extra lines.`;
@@ -140,10 +175,15 @@ export default wrap(async (req, res) => {
// A degenerate or empty rewrite is worse than the user's own words — fall back.
if (prompt.length < 3) prompt = raw;
+ const isRealistic = !style || style === 'photorealistic';
+ const negativePrompt = isRealistic
+ ? `${FORGE_NEGATIVE_PROMPT}, ${FORGE_PHOTOREAL_NEGATIVE_PROMPT}`
+ : FORGE_NEGATIVE_PROMPT;
+
return json(res, 200, {
prompt,
original: raw,
- negative_prompt: FORGE_NEGATIVE_PROMPT,
+ negative_prompt: negativePrompt,
style_applied: style,
provider: result.provider,
model: result.model,
diff --git a/api/legal/tos-ack.js b/api/legal/tos-ack.js
new file mode 100644
index 000000000..1aeba1755
--- /dev/null
+++ b/api/legal/tos-ack.js
@@ -0,0 +1,56 @@
+// /api/legal/tos-ack — record a user's acceptance of the Terms of Service.
+//
+// POST /api/legal/tos-ack { version?, context?, path? } → 200 { ok: true, version }
+//
+// The primary acceptance records are written inline by the auth endpoints
+// (register / login / SIWE / SIWS / Privy verify) when the client sends
+// tosAccepted with the auth call. This endpoint covers the remaining cases:
+// an already-signed-in user accepting an updated Terms version, and
+// pre-auth surfaces that show the agreement before an account exists.
+//
+// Mirrors /api/legal/risk-ack: every acceptance lands in audit_log (no
+// retention pruning — records persist); signed-in acceptances additionally
+// stamp users.tos_accepted_version / users.tos_accepted_at.
+
+import { getSessionUser } from '../_lib/auth.js';
+import { cors, error, json, method, readJson, wrap, rateLimited } from '../_lib/http.js';
+import { limits, clientIp } from '../_lib/rate-limit.js';
+import { logAudit } from '../_lib/audit.js';
+import { TOS_VERSION, recordTosAcceptance } from '../_lib/legal.js';
+
+const SLUG = /^[a-z0-9][a-z0-9-]{0,39}$/;
+const PATH = /^\/[\x20-\x7e]{0,199}$/;
+
+export default wrap(async function handler(req, res) {
+ if (cors(req, res, { methods: 'POST,OPTIONS', credentials: true })) return;
+ if (!method(req, res, ['POST'])) return;
+
+ const rl = await limits.publicIp(clientIp(req));
+ if (!rl.success) return rateLimited(res, rl);
+
+ const body = await readJson(req, 10_000).catch(() => null);
+ const raw = Number(body?.version);
+ const version = Number.isInteger(raw) && raw >= 1 && raw <= TOS_VERSION ? raw : TOS_VERSION;
+ if (body?.version !== undefined && version !== raw) {
+ return error(res, 400, 'invalid_version', `version must be an integer between 1 and ${TOS_VERSION}`);
+ }
+ const context = typeof body?.context === 'string' && SLUG.test(body.context) ? body.context : 'tos-ack';
+ const path = typeof body?.path === 'string' && PATH.test(body.path) ? body.path : null;
+
+ const user = await getSessionUser(req).catch(() => null);
+
+ if (user) {
+ recordTosAcceptance({ userId: user.id, version, context, req });
+ } else {
+ // Anonymous acceptance (pre-auth surface): audit-only, no user row to stamp.
+ logAudit({
+ userId: null,
+ action: 'tos-accept',
+ resourceId: null,
+ meta: { version, context, path },
+ req,
+ });
+ }
+
+ return json(res, 200, { ok: true, version });
+});
diff --git a/api/pump/price-history.js b/api/pump/price-history.js
index fe479dcab..188023ea0 100644
--- a/api/pump/price-history.js
+++ b/api/pump/price-history.js
@@ -134,15 +134,59 @@ function geckoParams(interval) {
const _poolCache = new Map(); // mint → { address, expiresAt }
const POOL_TTL_MS = 10 * 60_000;
-// GeckoTerminal answers 429 when the free tier's per-minute budget is spent.
-// One short retry rides out a burst rather than failing the whole request.
+// Concurrency gate for outbound GeckoTerminal calls — bounds how many of OUR
+// OWN requests are in flight at once. /terminal, /trades, and /pump-dashboard
+// each mount several chart widgets that poll different mints simultaneously,
+// so a single page load is itself a burst; without this gate that burst alone
+// can spend the free tier's per-minute budget before any external traffic is
+// involved. Excess callers queue briefly rather than firing in parallel.
+const GECKO_MAX_CONCURRENT = 4;
+let _geckoActive = 0;
+const _geckoQueue = [];
+
+function withGeckoSlot(fn) {
+ return new Promise((resolve, reject) => {
+ const run = () => {
+ _geckoActive++;
+ Promise.resolve()
+ .then(fn)
+ .then(resolve, reject)
+ .finally(() => {
+ _geckoActive--;
+ _geckoQueue.shift()?.();
+ });
+ };
+ if (_geckoActive < GECKO_MAX_CONCURRENT) run();
+ else _geckoQueue.push(run);
+ });
+}
+
+// GeckoTerminal answers 429 when the free tier's per-minute budget is spent,
+// and — under the same load — occasionally a transient 5xx or a dropped
+// connection. All three are worth riding out with a retry; only a real
+// non-transient response (200, 404, a real 4xx) is treated as final. Two
+// retries (three attempts total) with increasing backoff, on top of the
+// concurrency gate above, is deliberately more resilient than the single
+// 429-only retry this replaced — that version still 502'd under a genuine
+// poll-storm burst (observed live on /terminal and /trades 2026-07-16).
+const GECKO_RETRY_BACKOFFS_MS = [400, 900];
+
async function geckoFetch(url, { timeoutMs }) {
- for (let attempt = 0; attempt < 2; attempt++) {
- const resp = await fetch(url, { headers: GECKO_HEADERS, signal: AbortSignal.timeout(timeoutMs) });
- if (resp.status !== 429 || attempt === 1) return resp;
- await new Promise((r) => setTimeout(r, 400));
+ let lastErr;
+ for (let attempt = 0; attempt <= GECKO_RETRY_BACKOFFS_MS.length; attempt++) {
+ try {
+ const resp = await withGeckoSlot(() =>
+ fetch(url, { headers: GECKO_HEADERS, signal: AbortSignal.timeout(timeoutMs) }),
+ );
+ const transient = resp.status === 429 || (resp.status >= 500 && resp.status < 600);
+ if (!transient || attempt === GECKO_RETRY_BACKOFFS_MS.length) return resp;
+ } catch (err) {
+ lastErr = err;
+ if (attempt === GECKO_RETRY_BACKOFFS_MS.length) throw err;
+ }
+ await new Promise((r) => setTimeout(r, GECKO_RETRY_BACKOFFS_MS[attempt]));
}
- throw new Error('unreachable');
+ throw lastErr || new Error('unreachable');
}
// Thrown when the token genuinely has no market to chart — an honest empty
@@ -227,6 +271,51 @@ function recallGood(mint, interval) {
return hit;
}
+// In-flight de-duplication, keyed the same as the fresh-data cache. A page
+// mounting several chart widgets (or two tabs open on the same chart) can
+// issue several near-simultaneous requests for the IDENTICAL mint+interval+
+// window before the first one has resolved — each of those used to run its
+// own independent Birdeye→Gecko→stale chain. Now every caller for the same
+// key shares one resolution, which — combined with the concurrency gate and
+// wider retry above — is what actually closes the poll-storm 502 rather than
+// just shrinking its blast radius.
+const _inflight = new Map(); // key → Promise<result descriptor>
+
+// Runs the Birdeye → GeckoTerminal → stale-cache chain once and returns a
+// plain descriptor the caller turns into an HTTP response. Never throws —
+// every failure mode is represented in the descriptor.
+async function resolveCandles({ mint, interval, from, to, key, now }) {
+ if (birdeyeConfigured()) {
+ try {
+ const data = await fetchBirdeyeOhlcv({ mint, interval, from, to });
+ _cache.set(key, { value: data, source: 'birdeye', expiresAt: now + TTL_MS });
+ if (_cache.size > 256) _cache.delete(_cache.keys().next().value);
+ rememberGood(mint, interval, data, 'birdeye');
+ return { kind: 'ok', data, source: 'birdeye' };
+ } catch {
+ // Fall through to GeckoTerminal.
+ }
+ }
+
+ try {
+ const data = await fetchGeckoOhlcv({ mint, interval, from, to });
+ _cache.set(key, { value: data, source: 'gecko', expiresAt: now + TTL_MS });
+ if (_cache.size > 256) _cache.delete(_cache.keys().next().value);
+ rememberGood(mint, interval, data, 'gecko');
+ return { kind: 'ok', data, source: 'gecko' };
+ } catch (err) {
+ // A token with no market has nothing to chart — say so plainly. This is a
+ // designed empty state, not an outage, so it is never served from stale.
+ if (err instanceof NoPoolError) return { kind: 'no_market' };
+ // Both live sources exhausted — fall through to the stale tier.
+ }
+
+ const stale = recallGood(mint, interval);
+ if (stale) return { kind: 'ok', data: stale.value, source: stale.source, stale: true, as_of: Math.floor(stale.at / 1000) };
+
+ return { kind: 'error' };
+}
+
export default wrap(async (req, res) => {
if (cors(req, res, { methods: 'GET,OPTIONS', origins: '*' })) return;
if (!method(req, res, ['GET'])) return;
@@ -263,45 +352,26 @@ export default wrap(async (req, res) => {
);
}
- // ── Attempt 1: Birdeye ─────────────────────────────────────────────────────
- if (birdeyeConfigured()) {
- try {
- const data = await fetchBirdeyeOhlcv({ mint, interval, from, to });
- _cache.set(key, { value: data, source: 'birdeye', expiresAt: now + TTL_MS });
- if (_cache.size > 256) _cache.delete(_cache.keys().next().value);
- rememberGood(mint, interval, data, 'birdeye');
- return json(res, 200, { data, source: 'birdeye' }, { 'cache-control': 'public, max-age=15, s-maxage=30' });
- } catch {
- // Fall through to GeckoTerminal.
- }
+ // Share one resolution across every concurrent caller for this exact key.
+ let pending = _inflight.get(key);
+ if (!pending) {
+ pending = resolveCandles({ mint, interval, from, to, key, now }).finally(() => _inflight.delete(key));
+ _inflight.set(key, pending);
}
+ const result = await pending;
- // ── Attempt 2: GeckoTerminal (free, no API key) ───────────────────────────
- try {
- const data = await fetchGeckoOhlcv({ mint, interval, from, to });
- _cache.set(key, { value: data, source: 'gecko', expiresAt: now + TTL_MS });
- if (_cache.size > 256) _cache.delete(_cache.keys().next().value);
- rememberGood(mint, interval, data, 'gecko');
- return json(res, 200, { data, source: 'gecko' }, { 'cache-control': 'public, max-age=15, s-maxage=30' });
- } catch (err) {
- // A token with no market has nothing to chart — say so plainly. This is a
- // designed empty state, not an outage, so it is never served from stale.
- if (err instanceof NoPoolError) {
- return error(res, 404, 'no_market', 'No liquidity pool exists for this coin yet, so it has no price history.');
- }
- // Both live sources exhausted — fall through to the stale tier.
+ if (result.kind === 'no_market') {
+ return error(res, 404, 'no_market', 'No liquidity pool exists for this coin yet, so it has no price history.');
}
-
- // ── Attempt 3: the last real candles we hold ───────────────────────────────
- const stale = recallGood(mint, interval);
- if (stale) {
- return json(
- res,
- 200,
- { data: stale.value, source: stale.source, stale: true, as_of: Math.floor(stale.at / 1000) },
- { 'cache-control': 'public, max-age=10, s-maxage=10' },
- );
+ if (result.kind === 'error') {
+ return error(res, 502, 'upstream_error', 'Price history is unavailable for this coin right now');
}
-
- return error(res, 502, 'upstream_error', 'Price history is unavailable for this coin right now');
+ return json(
+ res,
+ 200,
+ result.stale
+ ? { data: result.data, source: result.source, stale: true, as_of: result.as_of }
+ : { data: result.data, source: result.source },
+ { 'cache-control': result.stale ? 'public, max-age=10, s-maxage=10' : 'public, max-age=15, s-maxage=30' },
+ );
});
diff --git a/blog/index.html b/blog/index.html
index a5a520599..35a7dc17a 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -66,6 +66,19 @@
<ul class="bl-list">
+ <li class="bl-item">
+ <a href="/blog/three-ws-quicknode-startup-program">
+ <div class="bl-meta">
+ <span class="bl-date">2026-07-16</span>
+ <span class="bl-tag">Partnership</span>
+ <span class="bl-tag">QuickNode</span>
+ <span class="bl-tag">Infrastructure</span>
+ </div>
+ <h2 class="bl-title">three.ws Joins the QuickNode Startup Program</h2>
+ <p class="bl-summary">three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits. More RPC headroom for the Solana-first agent economy: wallet crawls, x402 settlement verification, live token data, and provider redundancy across every chain the platform touches.</p>
+ </a>
+ </li>
+
<li class="bl-item">
<a href="/blog/x402-stripe-for-agent-payments">
<div class="bl-meta">
diff --git a/blog/three-ws-quicknode-startup-program.html b/blog/three-ws-quicknode-startup-program.html
new file mode 100644
index 000000000..61d585354
--- /dev/null
+++ b/blog/three-ws-quicknode-startup-program.html
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>three.ws Joins the QuickNode Startup Program</title>
+ <meta name="description" content="three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.">
+ <meta name="keywords" content="three.ws, QuickNode, startup program, Solana, RPC, blockchain infrastructure, 3D agents, on-chain agents, x402">
+ <link rel="canonical" href="https://three.ws/blog/three-ws-quicknode-startup-program">
+
+ <meta property="og:title" content="three.ws Joins the QuickNode Startup Program">
+ <meta property="og:description" content="Accepted and approved for free credits: QuickNode's blockchain infrastructure expands the RPC backbone behind the three.ws agent economy, Solana first.">
+ <meta property="og:url" content="https://three.ws/blog/three-ws-quicknode-startup-program">
+ <meta property="og:type" content="article">
+
+ <meta name="twitter:card" content="summary_large_image">
+ <meta name="twitter:title" content="three.ws Joins the QuickNode Startup Program">
+ <meta name="twitter:description" content="QuickNode blockchain infrastructure is coming to three.ws: more RPC headroom for the Solana-first agent economy.">
+
+ <link rel="shortcut icon" href="/favicon.ico">
+ <link rel="stylesheet" href="/nav.css">
+ <link rel="stylesheet" href="/footer.css">
+ <style>
+ :root { color-scheme: dark; }
+ body { margin: 0; background: #060611; color: #e7e7f5; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
+ .post-wrap { max-width: 720px; margin: 0 auto; padding: 96px 24px 80px; }
+ .post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #7a85a8; font-size: 13px; margin-bottom: 28px; }
+ .post-date { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
+ .post-tag { padding: 2px 8px; border-radius: 999px; background: rgba(154,212,255,.08); color: #9ad4ff; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }
+ h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 20px; }
+ h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.01em; }
+ p { color: #c8c8e0; line-height: 1.7; margin: 0 0 18px; font-size: 16px; }
+ ul, ol { color: #c8c8e0; line-height: 1.7; margin: 0 0 18px; padding-left: 24px; font-size: 16px; }
+ li { margin-bottom: 6px; }
+ a { color: #9ad4ff; text-decoration: none; }
+ a:hover { text-decoration: underline; }
+ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: rgba(154,212,255,.07); color: #9ad4ff; padding: 2px 6px; border-radius: 4px; }
+ strong { color: #e7e7f5; }
+ .post-back { display: inline-flex; align-items: center; gap: 6px; color: #7a85a8; font-size: 14px; margin-bottom: 40px; text-decoration: none; }
+ .post-back:hover { color: #9ad4ff; }
+ hr { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 40px 0; }
+ </style>
+ <meta property="og:image" content="https://three.ws/og-image.png">
+ <meta property="og:image:width" content="1200">
+ <meta property="og:image:height" content="630">
+ <meta name="twitter:image" content="https://three.ws/og-image.png">
+ <script type="application/ld+json">{"@context":"https://schema.org","@type":"BlogPosting","headline":"three.ws Joins the QuickNode Startup Program","description":"three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.","image":"https://three.ws/og-image.png","datePublished":"2026-07-16T12:00:00.000Z","dateModified":"2026-07-16T12:00:00.000Z","author":{"@type":"Organization","name":"three.ws","url":"https://three.ws"},"publisher":{"@type":"Organization","name":"three.ws","url":"https://three.ws","logo":{"@type":"ImageObject","url":"https://three.ws/og-image.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://three.ws/blog/three-ws-quicknode-startup-program"},"keywords":"three.ws, QuickNode, startup program, Solana, RPC, blockchain infrastructure, 3D agents, on-chain agents, x402"}</script>
+ <script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://three.ws/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://three.ws/blog"},{"@type":"ListItem","position":3,"name":"three.ws Joins the QuickNode Startup Program","item":"https://three.ws/blog/three-ws-quicknode-startup-program"}]}</script>
+</head>
+<body>
+ <div id="nav-container"></div>
+ <main class="post-wrap">
+ <a class="post-back" href="/blog">&larr; Blog</a>
+ <div class="post-meta">
+ <span class="post-date">2026-07-16</span>
+ <span class="post-tag">Partnership</span>
+ <span class="post-tag">QuickNode</span>
+ <span class="post-tag">Infrastructure</span>
+ </div>
+ <h1>three.ws Joins the QuickNode Startup Program</h1>
+
+ <p><strong>three.ws has been accepted into the QuickNode Startup Program</strong> and approved for free infrastructure credits. QuickNode is one of the most trusted blockchain infrastructure platforms in the industry: globally distributed RPC endpoints, real-time data streams, and APIs across the major chains, used by teams from solo builders to exchanges.</p>
+
+ <h2>Why RPC infrastructure matters here</h2>
+ <p>Everything on three.ws that touches a chain touches an RPC endpoint. Agents hold real Solana wallets and sign real transactions. The platform verifies x402 micropayment settlements on-chain, streams pump.fun trade activity into agent reactions, snapshots token state for the markets pages, crawls wallets for the agent economy ledger, and confirms $THREE payments for premium passes and in-world purchases. Every one of those paths is a steady stream of RPC calls, and reliability there is reliability everywhere.</p>
+
+ <h2>What this unlocks</h2>
+ <ul>
+ <li><strong>More Solana headroom.</strong> Solana is the home chain of three.ws, and QuickNode's Solana endpoints are among the best in the business. Credits mean more capacity for the wallet crawls, settlement verification, and live token data that the agent economy runs on.</li>
+ <li><strong>Provider redundancy.</strong> The platform already routes around degraded RPC providers automatically. Another first-class provider in the failover chain means fewer degraded minutes for users and agents.</li>
+ <li><strong>Multi-chain reach.</strong> x402 payments also settle on Base and Polygon, and QuickNode covers the EVM chains the platform's secondary rails touch.</li>
+ <li><strong>Founder network.</strong> The program includes QuickNode's private community for web3 founders and partner discounts across the ecosystem.</li>
+ </ul>
+
+ <h2>The bigger picture</h2>
+ <p>three.ws now builds with infrastructure support from AWS, Google Cloud, IBM, Alibaba Cloud, NVIDIA, and QuickNode. Compute, AI models, and now deeper blockchain access: each program strengthens a different layer of the same stack, so agents render faster, think better, and settle payments more reliably. See the full <a href="/partners">partner ecosystem</a>.</p>
+
+ <h2>Links</h2>
+ <ul>
+ <li>Project site: <a href="https://three.ws" rel="noopener">three.ws</a></li>
+ <li>QuickNode: <a href="https://www.quicknode.com" rel="noopener">quicknode.com</a></li>
+ <li>Open source: <a href="https://github.com/nirholas/three.ws" rel="noopener">github.com/nirholas/three.ws</a></li>
+ </ul>
+
+ <hr>
+ <p><a href="/blog">&larr; All posts</a></p>
+ </main>
+ <script src="/nav.js"></script>
+</body>
+</html>
diff --git a/data/pages.json b/data/pages.json
index 637125951..03b414048 100644
--- a/data/pages.json
+++ b/data/pages.json
@@ -246,7 +246,7 @@
{
"path": "/partners",
"title": "Partner Ecosystem",
- "description": "three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.",
+ "description": "three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.",
"priority": 0.8,
"changefreq": "monthly",
"added": "2026-06-27"
@@ -2317,6 +2317,15 @@
"title": "Blog",
"description": "Long-form announcements, launches, and writing from three.ws.",
"pages": [
+ {
+ "path": "/blog/three-ws-quicknode-startup-program",
+ "title": "three.ws Joins the QuickNode Startup Program",
+ "description": "three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.",
+ "priority": 0.6,
+ "changefreq": "monthly",
+ "lastmod": "2026-07-16",
+ "added": "2026-07-16"
+ },
{
"path": "/blog/three-ws-alibaba-cloud-partnership",
"title": "three.ws Joins the Alibaba Cloud Partner Network",
diff --git a/data/rss/items.json b/data/rss/items.json
index 1511514ca..bc869d1d0 100644
--- a/data/rss/items.json
+++ b/data/rss/items.json
@@ -1,6 +1,23 @@
{
"_readme": "Curated RSS items for https://three.ws/rss/announcements.xml. Edit this file to control exactly what HackerNoon (and any RSS reader) sees. Each entry needs: id (stable slug), title, date (ISO 8601), body_html. Optional: link, author, summary, tags. Items are served newest-first by date; cap is 80. Last merged from data/archives/trythreews_tweets_2026-06-03.json on 2026-06-05 (102 total items, merged June 2026 posts).",
"items": [
+ {
+ "id": "quicknode-startup-program",
+ "slug": "quicknode-startup-program",
+ "title": "three.ws Joins the QuickNode Startup Program",
+ "date": "2026-07-16T12:00:00.000Z",
+ "author": "three.ws",
+ "link": "https://three.ws/blog/three-ws-quicknode-startup-program",
+ "summary": "three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits: more RPC headroom for the Solana-first agent economy, provider redundancy, and QuickNode's founder network.",
+ "body_html": "<p><strong>three.ws has been accepted into the QuickNode Startup Program</strong> and approved for free infrastructure credits. QuickNode is one of the most trusted blockchain infrastructure platforms in the industry: globally distributed RPC endpoints, real-time data streams, and APIs across the major chains.</p>\n<h2>Why it matters</h2>\n<p>Everything on three.ws that touches a chain touches an RPC endpoint. Agents hold real Solana wallets and sign real transactions; the platform verifies x402 micropayment settlements on-chain, streams pump.fun trade activity into agent reactions, snapshots token state for the markets pages, and confirms $three payments for premium passes and in-world purchases. Every one of those paths is a steady stream of RPC calls.</p>\n<ul>\n<li><strong>More Solana headroom</strong> for the wallet crawls, settlement verification, and live token data the agent economy runs on. Solana is the home chain of three.ws.</li>\n<li><strong>Provider redundancy.</strong> The platform already routes around degraded RPC providers automatically; another first-class provider means fewer degraded minutes.</li>\n<li><strong>Multi-chain reach</strong> across the EVM rails (Base, Polygon) that x402 payments also settle on.</li>\n<li><strong>Founder network:</strong> QuickNode's private web3 founder community and partner discounts.</li>\n</ul>\n<p>three.ws now builds with infrastructure support from AWS, Google Cloud, IBM, Alibaba Cloud, NVIDIA, and QuickNode. Full announcement: <a href=\"https://three.ws/blog/three-ws-quicknode-startup-program\" rel=\"noopener\">three.ws/blog</a> · Partner ecosystem: <a href=\"https://three.ws/partners\" rel=\"noopener\">three.ws/partners</a></p>",
+ "tags": [
+ "partnership",
+ "quicknode",
+ "infrastructure",
+ "solana",
+ "rpc"
+ ]
+ },
{
"id": "text-to-3d-is-live",
"slug": "text-to-3d-is-live",
diff --git a/docs/listings.md b/docs/listings.md
index 6a4f8c181..f766d96ba 100644
--- a/docs/listings.md
+++ b/docs/listings.md
@@ -19,6 +19,17 @@ Cloud marketplaces are the procurement flow enterprises use to acquire software
---
+## Startup & Credit Programs
+
+Infrastructure programs that back three.ws with credits, tooling, and founder networks.
+
+| Program | Status | Details |
+|---|---|---|
+| **QuickNode** Startup Program | Accepted (2026-07) | three.ws is accepted into the QuickNode Startup Program and approved for free infrastructure credits. QuickNode's globally distributed RPC endpoints (Solana first, plus the EVM chains x402 settles on) add capacity and redundancy behind agent wallets, settlement verification, and live market data. Announcement: [three.ws Joins the QuickNode Startup Program](/blog/three-ws-quicknode-startup-program). |
+| **Google Cloud** for Web3 Startups | Member | Production runs on Google Cloud Run; the program backs compute and Vertex AI usage. Announcement: [three.ws Joins Google Cloud for Web3 Startups](/blog/three-ws-google-cloud-partnership). |
+
+---
+
## Ecosystem Directories
Ecosystem directories are the discovery surfaces that L1/L2 communities, chain foundations, and dApp explorers publish to help users find vetted projects on their stack.
diff --git a/pages/partners.html b/pages/partners.html
index d9fb0901d..c6d7e9a7d 100644
--- a/pages/partners.html
+++ b/pages/partners.html
@@ -7,7 +7,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<title>Partner Ecosystem — three.ws</title>
- <meta name="description" content="three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale." />
+ <meta name="description" content="three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale." />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="three.ws" />
<meta property="og:title" content="Partner Ecosystem — three.ws" />
@@ -277,6 +277,11 @@
color: var(--green);
border: 1px solid rgba(74,222,128,0.18);
}
+ .tier-infra {
+ background: rgba(250,204,21,0.1);
+ color: #facc15;
+ border: 1px solid rgba(250,204,21,0.18);
+ }
.partner-desc {
font-size: 14px;
@@ -376,7 +381,7 @@
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
<meta property="og:locale" content="en_US">
<meta property="og:image:alt" content="Partner Ecosystem — three.ws">
- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Partner Ecosystem","description":"three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.","url":"https://three.ws/partners","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&amp;t=Partner+Ecosystem&amp;d=three.ws+partner+ecosystem+%E2%80%94+AWS%2C+IBM%2C+Google+Cloud%2C+Alibaba+Cloud%2C+Intel%2C+NVIDIA%2C+Microsoft%2C+Oracle.+The+cloud+and+AI+platforms+powering+3D+AI+agents+at+enterp&amp;p=%2Fpartners"}]}</script>
+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Partner Ecosystem","description":"three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.","url":"https://three.ws/partners","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&amp;t=Partner+Ecosystem&amp;d=three.ws+partner+ecosystem+%E2%80%94+AWS%2C+IBM%2C+Google+Cloud%2C+Alibaba+Cloud%2C+Intel%2C+NVIDIA%2C+Microsoft%2C+Oracle.+The+cloud+and+AI+platforms+powering+3D+AI+agents+at+enterp&amp;p=%2Fpartners"}]}</script>
</head>
<body>
@@ -405,7 +410,7 @@
<!-- ── Stats ─────────────────────────────────────────────────── -->
<div class="stat-bar" aria-hidden="true">
<div class="stat">
- <div class="stat-value">8</div>
+ <div class="stat-value">9</div>
<div class="stat-label">Partners</div>
</div>
<div class="stat">
@@ -600,6 +605,29 @@
</span>
</a>
+ <a href="/blog/three-ws-quicknode-startup-program" class="partner-card">
+ <div class="partner-header">
+ <div class="partner-logo" aria-hidden="true">⚡</div>
+ <span class="partner-name">QuickNode</span>
+ <span class="partner-tier tier-infra">Infrastructure</span>
+ </div>
+ <p class="partner-desc">
+ three.ws is a member of the QuickNode Startup Program with approved
+ infrastructure credits. QuickNode's globally distributed RPC endpoints add
+ capacity and redundancy to the chain access behind agent wallets, x402
+ settlement verification, and live Solana market data.
+ </p>
+ <div class="partner-tags">
+ <span class="partner-tag">Solana RPC</span>
+ <span class="partner-tag">Streams</span>
+ <span class="partner-tag">Multi-chain</span>
+ </div>
+ <span class="partner-link">
+ Read announcement
+ <svg width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true"><path d="M2.5 6h7M6.5 3l3 3-3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
+ </span>
+ </a>
+
</div>
<!-- ── Benefits ──────────────────────────────────────────────── -->
diff --git a/public/changelog.json b/public/changelog.json
index 823cd13f9..482b02315 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-16T18:23:47.411Z",
+ "generated_at": "2026-07-16T20:08:38.956Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -26,6 +26,16 @@
"launch"
]
},
+ {
+ "date": "2026-07-16",
+ "type": "launch",
+ "title": "three.ws Joins the QuickNode Startup Program",
+ "summary": "three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.",
+ "link": "/blog/three-ws-quicknode-startup-program",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-07-16",
"type": "update",
@@ -6475,7 +6485,7 @@
"date": "2026-06-27",
"type": "launch",
"title": "Partner Ecosystem",
- "summary": "three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.",
+ "summary": "three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.",
"link": "/partners",
"tags": [
"launch"
diff --git a/public/changelog.xml b/public/changelog.xml
index 1aee71d04..9f9fb1821 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -22,6 +22,14 @@
<category>launch</category>
<description>Do not pick a coin, pick a basket of proven traders. The Meta-Allocator spreads a budget across the top verified pump.fun trader agents, ranked by risk-adjusted on-chain track record and diversified across trading styles, then tells you how to rebalance. Non-custodial: it returns a plan you act on one leader at a time, never a transaction.</description>
</item>
+ <item>
+ <title>three.ws Joins the QuickNode Startup Program</title>
+ <link>https://three.ws/blog/three-ws-quicknode-startup-program</link>
+ <guid isPermaLink="false">2026-07-16:three.ws Joins the QuickNode Startup Program</guid>
+ <pubDate>Thu, 16 Jul 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.</description>
+ </item>
<item>
<title>3D generation now switches engines by itself when one fails</title>
<link>https://three.ws/forge</link>
@@ -4980,7 +4988,7 @@
<guid isPermaLink="false">2026-06-27:Partner Ecosystem</guid>
<pubDate>Sat, 27 Jun 2026 12:00:00 GMT</pubDate>
<category>launch</category>
- <description>three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.</description>
+ <description>three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.</description>
</item>
<item>
<title>Recording Pipeline — the data loop, live</title>
diff --git a/public/features.json b/public/features.json
index 798b8c4dc..3dcdeb72c 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-16T18:23:47.396Z",
+ "generated_at": "2026-07-16T20:08:38.942Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -298,7 +298,7 @@
{
"path": "/partners",
"title": "Partner Ecosystem",
- "description": "three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.",
+ "description": "three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.",
"added": "2026-06-27",
"auth": null,
"indexable": true,
@@ -2934,6 +2934,16 @@
"title": "Blog",
"description": "Long-form announcements, launches, and writing from three.ws.",
"pages": [
+ {
+ "path": "/blog/three-ws-quicknode-startup-program",
+ "title": "three.ws Joins the QuickNode Startup Program",
+ "description": "three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.",
+ "added": "2026-07-16",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/blog/three-ws-alibaba-cloud-partnership",
"title": "three.ws Joins the Alibaba Cloud Partner Network",
@@ -3395,6 +3405,16 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/news/quicknode-startup-program",
+ "title": "three.ws Joins the QuickNode Startup Program",
+ "description": "three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits: more RPC headroom for the Solana-first agent economy, provider redundancy, and QuickNode's founder network.",
+ "added": null,
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/news/text-to-3d-is-live",
"title": "Text to 3D Is Live — Type a Prompt, Download a 3D Model",
diff --git a/public/llms-full.txt b/public/llms-full.txt
index 0f29a1f38..cf7ce79ad 100644
--- a/public/llms-full.txt
+++ b/public/llms-full.txt
@@ -185,7 +185,7 @@ Live avatars, agents, 3D models, worlds, and launches across three.ws — filter
URL: https://three.ws/partners
-three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.
+three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.
## Build
@@ -1790,6 +1790,12 @@ The complete map of every agent ability, researched from the shipped code: body,
Long-form announcements, launches, and writing from three.ws.
+### three.ws Joins the QuickNode Startup Program
+
+URL: https://three.ws/blog/three-ws-quicknode-startup-program
+
+three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.
+
### three.ws Joins the Alibaba Cloud Partner Network
URL: https://three.ws/blog/three-ws-alibaba-cloud-partnership
@@ -2073,6 +2079,12 @@ URL: https://three.ws/news/
Product launches, integrations, and announcements from three.ws.
+### three.ws Joins the QuickNode Startup Program
+
+URL: https://three.ws/news/quicknode-startup-program
+
+three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits: more RPC headroom for the Solana-first agent economy, provider redundancy, and QuickNode's founder network.
+
### Text to 3D Is Live — Type a Prompt, Download a 3D Model
URL: https://three.ws/news/text-to-3d-is-live
diff --git a/public/llms.txt b/public/llms.txt
index 4930f0bba..7054d720d 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -39,7 +39,7 @@ Entry points into the product.
- [Guided Tour](https://three.ws/tour): A 3D guide walks across the live site, points at every feature, and narrates what each one does and how to use it — voice plus an on-screen chat bubble, paced by you.
- [Walk Anywhere on the Web](https://three.ws/walk): Your 3D avatar walks anywhere on the web. Live demos across six environments, a Chrome extension, one-tag embeds, and a global distance leaderboard.
- [Feed](https://three.ws/feed): Live avatars, agents, 3D models, worlds, and launches across three.ws — filter to everyone or just the people you follow.
-- [Partner Ecosystem](https://three.ws/partners): three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.
+- [Partner Ecosystem](https://three.ws/partners): three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.
## Build
@@ -319,6 +319,7 @@ Docs, tutorials, and reference.
Long-form announcements, launches, and writing from three.ws.
+- [three.ws Joins the QuickNode Startup Program](https://three.ws/blog/three-ws-quicknode-startup-program): three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.
- [three.ws Joins the Alibaba Cloud Partner Network](https://three.ws/blog/three-ws-alibaba-cloud-partnership): three.ws is now an Alibaba Cloud Partner, bringing Qwen foundation models and Asia-Pacific cloud infrastructure to the three.ws 3D AI agent platform.
- [Blog](https://three.ws/blog): Editorial index of three.ws launches and long-form posts.
- [The Stripe of x402: How three.ws Turned Agent Payments Into One Line of Code](https://three.ws/blog/x402-stripe-for-agent-payments): HTTP 402 sat unused for thirty years. Agents revived it. three.ws built the drop in payment modal that makes x402 a one liner, on top of a full stack of agent wallets, wallet intents, on-chain reputation, sniping, and $THREE.
@@ -362,6 +363,7 @@ Long-form announcements, launches, and writing from three.ws.
Product launches, integrations, and announcements from three.ws.
- [News & Announcements](https://three.ws/news/): Product launches, integrations, and announcements from three.ws.
+- [three.ws Joins the QuickNode Startup Program](https://three.ws/news/quicknode-startup-program): three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits: more RPC headroom for the Solana-first agent economy, provider redundancy, and QuickNode's founder network.
- [Text to 3D Is Live — Type a Prompt, Download a 3D Model](https://three.ws/news/text-to-3d-is-live): Forge is live at three.ws/forge: type a description, get a textured, interactive 3D model you can orbit, view in AR, and download as a GLB. Image to 3D from photos works too — and agents can call the same pipeline over MCP.
- [three.ws Wins DEXTools Social Boost — $5,543 $three Buyback](https://three.ws/news/three-ws-dextools-social-boost-buyback): three.ws is DEXTools' Social Boost winner of the week, earning a $5,543 buyback of $three. The DEXTools wallet now holds a total of 2.47M $three.
- [three.ws Featured on the Alibaba Cloud Marketplace Blog](https://three.ws/news/three-ws-featured-on-alibaba-cloud-marketplace-blog): Alibaba Cloud Marketplace published an editorial introducing three.ws — Render, Embody, Register, Embed: browser-native 3D AI agents deployed with a single <agent-3d> tag, with a Claude-powered runtime, ERC-8004 identity, and an Apache 2.0 open-source stack.
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index 3ab2be723..5bb4a81d9 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -52,32 +52,13 @@
.sm-badge-auth { background: rgba(255, 200, 80, .15); color: #ffcf66; }
.sm-badge-internal { background: rgba(120,200,255,.12); color: #9ad4ff; }
</style>
-
- <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
- <meta property="og:type" content="website">
- <meta property="og:site_name" content="three.ws">
- <meta property="og:locale" content="en_US">
- <meta property="og:title" content="Sitemap · three.ws">
- <meta property="og:description" content="Human-readable index of every page on three.ws.">
- <meta property="og:url" content="https://three.ws/sitemap">
- <meta property="og:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
- <meta property="og:image:width" content="1200">
- <meta property="og:image:height" content="630">
- <meta property="og:image:type" content="image/png">
- <meta property="og:image:alt" content="Sitemap — three.ws">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:site" content="@trythreews">
- <meta name="twitter:title" content="Sitemap · three.ws">
- <meta name="twitter:description" content="Human-readable index of every page on three.ws.">
- <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
- <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script>
</head>
<body>
<header><div id="nav-container"></div></header>
<main class="sm-wrap">
<div class="sm-hero">
<h1>Sitemap</h1>
- <p>All 435 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
+ <p>All 439 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
<div class="sm-formats">
<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>
<a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>
@@ -89,7 +70,7 @@
</div>
<div class="sm-filter">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="sm-filter-input" type="search" placeholder="Filter 435 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
+ <input id="sm-filter-input" type="search" placeholder="Filter 439 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
<kbd aria-hidden="true">/</kbd>
</div>
<p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>
@@ -312,7 +293,7 @@
<a href="/partners">
<span class="sm-title">Partner Ecosystem</span>
<span class="sm-path">/partners</span>
- <span class="sm-desc">three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.</span>
+ <span class="sm-desc">three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle, QuickNode. The cloud, AI, and blockchain infrastructure platforms powering 3D AI agents at enterprise scale.</span>
</a>
</li>
</ul>
@@ -751,7 +732,7 @@
<section class="sm-section" id="crypto">
<header>
- <h2>Crypto<span class="sm-count" data-count>111</span></h2>
+ <h2>Crypto<span class="sm-count" data-count>113</span></h2>
<p class="sm-section-desc">On-chain features: pay-per-call, token launches, vanity wallets.</p>
</header>
<ul class="sm-list">
@@ -979,6 +960,20 @@
<span class="sm-desc">Paste your Solana wallet to see your provable pump.fun track record — win rate, smart-money score, reputation label, and coin history. Sign in to claim it as your official three.ws Trader Card.</span>
</a>
</li>
+ <li>
+ <a href="/meta-allocator">
+ <span class="sm-title">Meta-Allocator: the ETF of degens</span>
+ <span class="sm-path">/meta-allocator</span>
+ <span class="sm-desc">Do not pick a coin, pick a basket of proven traders. The Meta-Allocator spreads a budget across the top verified pump.fun trader agents, ranked by risk-adjusted on-chain track record and diversified across trading styles, then tells you how to rebalance. Non-custodial: it returns a plan you act on one leader at a time, never a transaction.</span>
+ </a>
+ </li>
+ <li>
+ <a href="/clip-director">
+ <span class="sm-title">Clip Director: every trade becomes content</span>
+ <span class="sm-path">/clip-director</span>
+ <span class="sm-desc">Turn any trader agent's real closed pump.fun trade into the optimal shareable card per surface (X, Telegram, or the in-app Feed): an honest hook, the real number, an avatar reaction, and an on-chain proof link. Wins and losses both get a card.</span>
+ </a>
+ </li>
<li>
<a href="/pay">
<span class="sm-title">Pay (x402)</span>
@@ -2166,10 +2161,17 @@
<section class="sm-section" id="blog">
<header>
- <h2>Blog<span class="sm-count" data-count>30</span></h2>
+ <h2>Blog<span class="sm-count" data-count>31</span></h2>
<p class="sm-section-desc">Long-form announcements, launches, and writing from three.ws.</p>
</header>
<ul class="sm-list">
+ <li>
+ <a href="/blog/three-ws-quicknode-startup-program">
+ <span class="sm-title">three.ws Joins the QuickNode Startup Program</span>
+ <span class="sm-path">/blog/three-ws-quicknode-startup-program</span>
+ <span class="sm-desc">three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits, expanding the RPC backbone behind its Solana-first agent economy.</span>
+ </a>
+ </li>
<li>
<a href="/blog/three-ws-alibaba-cloud-partnership">
<span class="sm-title">three.ws Joins the Alibaba Cloud Partner Network</span>
@@ -2494,7 +2496,7 @@
<section class="sm-section" id="news">
<header>
- <h2>News<span class="sm-count" data-count>107</span></h2>
+ <h2>News<span class="sm-count" data-count>108</span></h2>
<p class="sm-section-desc">Product launches, integrations, and announcements from three.ws.</p>
</header>
<ul class="sm-list">
@@ -2505,6 +2507,13 @@
<span class="sm-desc">Product launches, integrations, and announcements from three.ws.</span>
</a>
</li>
+ <li>
+ <a href="/news/quicknode-startup-program">
+ <span class="sm-title">three.ws Joins the QuickNode Startup Program</span>
+ <span class="sm-path">/news/quicknode-startup-program</span>
+ <span class="sm-desc">three.ws has been accepted into the QuickNode Startup Program and approved for free infrastructure credits: more RPC headroom for the Solana-first agent economy, provider redundancy, and QuickNode's founder network.</span>
+ </a>
+ </li>
<li>
<a href="/news/text-to-3d-is-live">
<span class="sm-title">Text to 3D Is Live — Type a Prompt, Download a 3D Model</span>
diff --git a/src/pose-studio.js b/src/pose-studio.js
index 7c4a98935..a4d25409b 100644
--- a/src/pose-studio.js
+++ b/src/pose-studio.js
@@ -5,6 +5,7 @@
// and PNG export. Task 2 layers a keyframe timeline on top of this foundation.
import {
+ ACESFilmicToneMapping,
AmbientLight,
Box3,
BoxGeometry,
@@ -18,9 +19,10 @@ import {
Mesh,
MeshBasicMaterial,
MeshStandardMaterial,
- PCFShadowMap,
+ PCFSoftShadowMap,
PerspectiveCamera,
Plane,
+ PMREMGenerator,
Quaternion,
Raycaster,
Scene,
@@ -30,6 +32,7 @@ import {
Vector3,
WebGLRenderer,
} from 'three';
+import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
import { TransformControls } from 'three/examples/jsm/controls/TransformControls.js';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
@@ -204,7 +207,14 @@ function setupScene(canvas, hudStatus) {
});
renderer.setPixelRatio(Math.min(window.devicePixelRatio || 1, 2));
renderer.shadowMap.enabled = true;
- renderer.shadowMap.type = PCFShadowMap;
+ renderer.shadowMap.type = PCFSoftShadowMap;
+ // Filmic response + image-based lighting, matching the IRL/avatar-sdk render
+ // stack — PBR materials read flat and plasticky under bare analytic lights.
+ renderer.toneMapping = ACESFilmicToneMapping;
+ renderer.toneMappingExposure = 1.1;
+
+ const pmrem = new PMREMGenerator(renderer);
+ scene.environment = pmrem.fromScene(new RoomEnvironment(), 0.04).texture;
const controls = new OrbitControls(camera, canvas);
controls.enableDamping = true;
diff --git a/tests/api/pump-price-history-resilience.test.js b/tests/api/pump-price-history-resilience.test.js
new file mode 100644
index 000000000..bbac8c29f
--- /dev/null
+++ b/tests/api/pump-price-history-resilience.test.js
@@ -0,0 +1,188 @@
+// api/pump/price-history.js — GeckoTerminal resilience under a poll-storm.
+//
+// Regression: /terminal, /trades, and /pump-dashboard each mount several chart
+// widgets that poll different mints at once, so a single page load is itself
+// a burst of near-simultaneous requests. Confirmed live in production
+// 2026-07-16 (fresh page-audit run): several distinct mints 502'd with
+// "Price history is unavailable" even though GeckoTerminal itself recovers
+// within seconds — the old code only retried once, only on 429, with no cap
+// on how many of OUR OWN requests could be in flight at once and no sharing
+// between concurrent callers asking for the identical window. This file pins
+// the fix: a concurrency gate, retry on 429/5xx/network error, and in-flight
+// de-duplication.
+
+import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
+
+vi.mock('../../api/_lib/birdeye.js', () => ({
+ birdeyeConfigured: () => false,
+ fetchBirdeyeOhlcv: vi.fn(),
+}));
+vi.mock('../../api/_lib/zauth.js', () => ({ instrument: () => {}, drain: async () => {} }));
+vi.mock('../../api/_lib/sentry.js', () => ({ captureException: () => {} }));
+
+import handler, { snapWindow, POLL_BUCKET_SECONDS } from '../../api/pump/price-history.js';
+
+const MINT = 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump';
+const POOL = '58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo7';
+
+function makeReq(qs) {
+ return { url: `/api/pump/price-history?${qs}`, method: 'GET', headers: {} };
+}
+function makeRes() {
+ const res = {
+ statusCode: 200,
+ _headers: {},
+ _body: null,
+ setHeader(k, v) { this._headers[k.toLowerCase()] = v; },
+ getHeader(k) { return this._headers[k.toLowerCase()]; },
+ end(body) { this._body = body; },
+ };
+ return res;
+}
+function getJson(res) { return JSON.parse(res._body); }
+
+function poolResponse() {
+ return { ok: true, status: 200, json: async () => ({ data: [{ attributes: { address: POOL } }] }) };
+}
+function ohlcvResponse() {
+ return {
+ ok: true,
+ status: 200,
+ json: async () => ({ data: { attributes: { ohlcv_list: [[Math.floor(Date.now() / 1000) - 60, 1, 1.1, 0.9, 1.05, 100]] } } }),
+ };
+}
+
+// A fresh mint AND a fresh, un-bucket-collided window per test so neither the
+// pool-address cache nor the candle/in-flight cache (both module-level, keyed
+// by mint) can leak state between tests.
+let seq = 0;
+function freshQuery(mint) {
+ seq += 1;
+ const m = mint || `${MINT.slice(0, -8)}${String(seq).padStart(4, '0')}pump`;
+ const now = Math.floor(Date.now() / 1000) + seq * 10_000; // force a new snapWindow bucket
+ const { from, to } = snapWindow({ interval: '5m', from: now - 3600, to: now });
+ return `mint=${m}&interval=5m&from=${from}&to=${to}`;
+}
+
+beforeEach(() => {
+ vi.restoreAllMocks();
+});
+afterEach(() => {
+ vi.restoreAllMocks();
+});
+
+describe('geckoFetch retry (via the handler)', () => {
+ it('recovers from a single 429 (existing behavior, still works)', async () => {
+ let call = 0;
+ vi.spyOn(globalThis, 'fetch').mockImplementation(async () => {
+ call += 1;
+ if (call === 1) return poolResponse();
+ if (call === 2) return { ok: false, status: 429, json: async () => ({}) };
+ return ohlcvResponse();
+ });
+ const res = makeRes();
+ await handler(makeReq(freshQuery()), res);
+ expect(res.statusCode).toBe(200);
+ expect(getJson(res).source).toBe('gecko');
+ });
+
+ it('recovers from a transient 502 from GeckoTerminal — the case that used to 502 the caller', async () => {
+ let call = 0;
+ vi.spyOn(globalThis, 'fetch').mockImplementation(async () => {
+ call += 1;
+ if (call === 1) return poolResponse();
+ if (call === 2) return { ok: false, status: 502, json: async () => ({}) };
+ return ohlcvResponse();
+ });
+ const res = makeRes();
+ await handler(makeReq(freshQuery()), res);
+ expect(res.statusCode).toBe(200);
+ expect(getJson(res).source).toBe('gecko');
+ });
+
+ it('recovers from a dropped connection (fetch throws) — previously not retried at all', async () => {
+ let call = 0;
+ vi.spyOn(globalThis, 'fetch').mockImplementation(async () => {
+ call += 1;
+ if (call === 1) return poolResponse();
+ if (call === 2) throw new Error('network error');
+ return ohlcvResponse();
+ });
+ const res = makeRes();
+ await handler(makeReq(freshQuery()), res);
+ expect(res.statusCode).toBe(200);
+ });
+
+ it('still 502s honestly when every attempt fails and there is no stale fallback', async () => {
+ vi.spyOn(globalThis, 'fetch').mockResolvedValue({ ok: false, status: 500, json: async () => ({}) });
+ const res = makeRes();
+ await handler(makeReq(freshQuery()), res);
+ expect(res.statusCode).toBe(502);
+ expect(getJson(res).error).toBe('upstream_error');
+ });
+
+ it('serves the honest no_market 404 for a mint GeckoTerminal has never indexed, without retrying', async () => {
+ let poolCalls = 0;
+ vi.spyOn(globalThis, 'fetch').mockImplementation(async (url) => {
+ if (String(url).includes('/pools?')) { poolCalls += 1; return { ok: false, status: 404, json: async () => ({}) }; }
+ throw new Error('should never reach the ohlcv endpoint');
+ });
+ const res = makeRes();
+ await handler(makeReq(freshQuery()), res);
+ expect(res.statusCode).toBe(404);
+ expect(getJson(res).error).toBe('no_market');
+ expect(poolCalls).toBe(1); // a 404 is a real answer, not a transient failure — never retried
+ });
+});
+
+describe('concurrency gate', () => {
+ it('never runs more than 4 GeckoTerminal fetches at once, even under a burst across many mints', async () => {
+ let active = 0;
+ let maxActive = 0;
+ vi.spyOn(globalThis, 'fetch').mockImplementation(async (url) => {
+ active += 1;
+ maxActive = Math.max(maxActive, active);
+ await new Promise((r) => setTimeout(r, 5));
+ active -= 1;
+ if (String(url).includes('/pools?')) return poolResponse();
+ return ohlcvResponse();
+ });
+
+ // 10 distinct mints (distinct pool-cache keys) fired at once — a realistic
+ // stand-in for a page mounting several chart widgets simultaneously.
+ const mints = Array.from({ length: 10 }, (_, i) => `${MINT.slice(0, -5)}${String(i).padStart(4, '0')}pump`);
+ await Promise.all(mints.map((m) => {
+ const res = makeRes();
+ return handler(makeReq(freshQuery(m)), res).then(() => res);
+ }));
+
+ expect(maxActive).toBeLessThanOrEqual(4);
+ });
+});
+
+describe('in-flight de-duplication', () => {
+ it('collapses concurrent identical requests into one upstream resolution', async () => {
+ let poolCalls = 0;
+ let ohlcvCalls = 0;
+ vi.spyOn(globalThis, 'fetch').mockImplementation(async (url) => {
+ await new Promise((r) => setTimeout(r, 10));
+ if (String(url).includes('/pools?')) { poolCalls += 1; return poolResponse(); }
+ ohlcvCalls += 1;
+ return ohlcvResponse();
+ });
+
+ const qs = freshQuery();
+ const results = await Promise.all(
+ Array.from({ length: 5 }, () => {
+ const res = makeRes();
+ return handler(makeReq(qs), res).then(() => res);
+ }),
+ );
+
+ for (const res of results) expect(res.statusCode).toBe(200);
+ // 5 concurrent identical requests share ONE resolution — one pool lookup,
+ // one ohlcv fetch — not five independent chains.
+ expect(poolCalls).toBe(1);
+ expect(ohlcvCalls).toBe(1);
+ });
+});
diff --git a/workers/model-hunyuan3d/main.py b/workers/model-hunyuan3d/main.py
index 09c36376c..fbd3bf044 100644
--- a/workers/model-hunyuan3d/main.py
+++ b/workers/model-hunyuan3d/main.py
@@ -1,5 +1,6 @@
"""
-Hunyuan3D-2.1 inference service — single-image to textured 3D mesh.
+Hunyuan3D-2 inference service — single-image to textured 3D mesh
+(shape DiT → cleanup → multiview paint, via Tencent's hy3dgen).
API contract (consumed by the Pipeline Controller):
POST /infer { images: [data-uri|url, ...], body_type?: str, job_id?: str }
@@ -10,17 +11,19 @@ API contract (consumed by the Pipeline Controller):
GET /health → { ok, model, gpu_available }
The model weights are loaded from a GCS volume mount at /weights to avoid
-re-downloading ~10 GB on every cold start. Pre-populate the bucket:
+re-downloading tens of GB on every cold start. Pre-populate the bucket
+(hy3dgen loads hunyuan3d-dit-v2-0, hunyuan3d-delight-v2-0 and
+hunyuan3d-paint-v2-0 from this tree):
# One-time setup (run locally or in Cloud Shell):
pip install huggingface_hub
- huggingface-cli download tencent/Hunyuan3D-2.1 --local-dir /tmp/hunyuan3d-2.1
- gsutil -m cp -r /tmp/hunyuan3d-2.1 gs://three-ws-model-weights/hunyuan3d-2.1/
+ hf download tencent/Hunyuan3D-2 --local-dir /tmp/hunyuan3d-2
+ gcloud storage rsync --recursive /tmp/hunyuan3d-2 gs://three-ws-model-weights/hunyuan3d-2
Environment variables:
API_KEY — shared bearer secret
GCS_BUCKET — Cloud Storage bucket for output meshes
- WEIGHTS_DIR — local path to model weights (default: /weights/hunyuan3d-2.1)
+ WEIGHTS_DIR — local path to model weights (default: /weights/hunyuan3d-2)
MAX_CONCURRENT — max parallel inferences (default: 1)
"""
@@ -59,7 +62,7 @@ log = logging.getLogger("hunyuan3d")
API_KEY = os.environ["API_KEY"]
GCS_BUCKET = os.environ["GCS_BUCKET"]
-WEIGHTS_DIR = os.environ.get("WEIGHTS_DIR", "/weights/hunyuan3d-2.1")
+WEIGHTS_DIR = os.environ.get("WEIGHTS_DIR", "/weights/hunyuan3d-2")
MAX_CONCURRENT = int(os.environ.get("MAX_CONCURRENT", "1"))
_pipeline = None
@@ -95,29 +98,40 @@ async def _update_task(task_id: str, **fields) -> dict:
def _load_pipeline():
global _pipeline
+ # hy3dgen (Tencent/Hunyuan3D-2, pinned in the Dockerfile) — the 2.0 package
+ # whose class registry matches the hunyuan3d-*-v2-0 checkpoints staged in
+ # the weights bucket. The 2.1 checkpoints target hy3dshape.* classes from a
+ # different repo and do NOT load through hy3dgen.
+ from hy3dgen.rembg import BackgroundRemover
from hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline
from hy3dgen.texgen import Hunyuan3DPaintPipeline
log.info("Loading shape generation pipeline from %s", WEIGHTS_DIR)
+ # from_pretrained takes hy3dgen kwargs (dtype/device), not diffusers'
+ # torch_dtype, and loads straight onto the device — no .to() afterwards.
shape_pipe = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained(
WEIGHTS_DIR,
- subfolder="hunyuan3d-dit-v2-1",
- torch_dtype=torch.float16,
+ subfolder="hunyuan3d-dit-v2-0",
+ device="cuda",
+ dtype=torch.float16,
use_safetensors=True,
+ variant="fp16",
)
- shape_pipe = shape_pipe.to("cuda")
log.info("Loading texture generation pipeline from %s", WEIGHTS_DIR)
+ # Full-quality paint (not -turbo): the platform's realism bar over speed.
+ # Loads the delight model from WEIGHTS_DIR/hunyuan3d-delight-v2-0 itself.
tex_pipe = Hunyuan3DPaintPipeline.from_pretrained(
WEIGHTS_DIR,
- subfolder="hunyuan3d-paint-v2-1",
- torch_dtype=torch.float16,
- use_safetensors=True,
+ subfolder="hunyuan3d-paint-v2-0",
)
- tex_pipe = tex_pipe.to("cuda")
- _pipeline = {"shape": shape_pipe, "texture": tex_pipe}
- log.info("Hunyuan3D-2.1 pipelines loaded")
+ _pipeline = {
+ "shape": shape_pipe,
+ "texture": tex_pipe,
+ "rembg": BackgroundRemover(),
+ }
+ log.info("Hunyuan3D-2 pipelines loaded")
async def _load_pipeline_bg():
@@ -130,10 +144,10 @@ async def _load_pipeline_bg():
try:
await loop.run_in_executor(None, _load_pipeline)
_ready.set()
- log.info("Hunyuan3D-2.1 pipeline ready")
+ log.info("Hunyuan3D-2 pipeline ready")
except Exception as exc: # noqa: BLE001 — surfaced via /health + task status
_load_error = safe_error(exc, context="model load")
- log.error("Hunyuan3D-2.1 pipeline load FAILED: %s", exc)
+ log.error("Hunyuan3D-2 pipeline load FAILED: %s", exc)
@asynccontextmanager
@@ -196,23 +210,41 @@ async def _run_inference(task_id: str, images: list[str], body_type: str) -> Non
img = await loop.run_in_executor(None, _decode_image, images[0])
def _generate():
- # Quality over speed (GPU time is cheap against the platform's GCP
- # credit budget): 50/30 steps and a 384 octree resolution — well
- # above Hunyuan3D's own quickstart defaults (30/20 steps, 256
- # octree) — for materially sharper geometry and texture detail on
- # realistic human/object subjects.
+ from hy3dgen.shapegen.postprocessors import (
+ DegenerateFaceRemover,
+ FaceReducer,
+ FloaterRemover,
+ )
+
+ # The shape DiT is conditioned on the isolated subject; a busy
+ # background bleeds into geometry. Match the upstream demo: cut
+ # the background first unless the caller already sent RGBA.
+ subject = img if img.mode == "RGBA" else _pipeline["rembg"](img)
+
+ # Quality over speed (GPU time is cheap against the platform's
+ # GCP credit budget): 50 steps at 384 octree resolution — above
+ # the quickstart defaults (30 steps, 256) — for sharper geometry
+ # on realistic human/object subjects. The pipeline returns a
+ # list of trimesh objects; single image → take the first.
mesh = _pipeline["shape"](
- image=img,
+ image=subject,
num_inference_steps=50,
guidance_scale=5.5,
octree_resolution=384,
- )
- textured = _pipeline["texture"](
- mesh=mesh,
- image=img,
- num_inference_steps=30,
- guidance_scale=7.5,
- )
+ )[0]
+
+ # Upstream's standard cleanup chain before painting: drop
+ # floating debris and degenerate faces, then decimate to a
+ # budget the multiview paint pipeline handles well. 40k faces
+ # keeps far more surface detail than the demo's default and
+ # still textures in one pass on the L4.
+ mesh = FloaterRemover()(mesh)
+ mesh = DegenerateFaceRemover()(mesh)
+ mesh = FaceReducer()(mesh, max_facenum=40_000)
+
+ # Paint takes (mesh, image) positionally and manages its own
+ # diffusion schedule — it accepts no step/guidance kwargs.
+ textured = _pipeline["texture"](mesh, subject)
buf = io.BytesIO()
textured.export(buf, file_type="glb")
return buf.getvalue()
@@ -262,7 +294,7 @@ async def infer(
# Persist the "queued" record before responding — a poll can reach a
# different instance than this one the moment the 202 lands, and that
# instance has nothing in its local `_tasks` dict to fall back on.
- await _update_task(task_id, status="queued", model="hunyuan3d-2.1")
+ await _update_task(task_id, status="queued", model="hunyuan3d-2")
background_tasks.add_task(_run_inference, task_id, body.images, body.body_type)
return {"task_id": task_id, "status": "queued"}
@@ -293,7 +325,7 @@ async def get_task(task_id: str, authorization: str = Header(...)) -> dict:
async def health() -> dict:
return {
"ok": True,
- "model": "hunyuan3d-2.1",
+ "model": "hunyuan3d-2",
"gpu_available": torch.cuda.is_available(),
"gpu_name": torch.cuda.get_device_name(0) if torch.cuda.is_available() else None,
"pipeline_loaded": _pipeline is not None,
diff --git a/workers/model-trellis/main.py b/workers/model-trellis/main.py
index 3537d58f1..a558fd00e 100644
--- a/workers/model-trellis/main.py
+++ b/workers/model-trellis/main.py
@@ -228,19 +228,34 @@ async def _update_task(task_id: str, **fields) -> dict:
# Per-request quality knobs, clamped to safe envelopes for a 24 GB L4.
# Defaults are the platform's production quality bar, not the TRELLIS demo's
# (steps=12, simplify=0.95, texture_size=1024): GPU time is cheap against the
-# platform's GCP credit budget, so both diffusion stages run ~2x the demo step
-# count and the texture bake runs at 2x resolution by default. Callers may
-# still override per request (e.g. a lower-cost preview lane).
+# platform's GCP credit budget ($100k+ provisioned, owner has explicitly signed
+# off on spending it here), so both diffusion stages run well past the demo
+# step count and the texture bake runs at the model's max resolution by
+# default. Callers may still override per request (e.g. a lower-cost preview
+# lane). Measured warm cost at the PRIOR defaults (steps=25/25, texture=2048,
+# simplify=0.90) was ~50s/asset (docs/ops/gcp-credits.md) against a 300s client
+# poll budget (src/home-forge.js MAX_POLL_MS) — ample headroom to push further:
+# - ss_steps/slat_steps 25→40: sharper structure and surface detail. Cost
+# scales roughly linearly with steps, so ~1.6x the diffusion time.
+# - texture_size 2048→4096 (the clamp ceiling): texture baking is a
+# resize/encode pass, not a diffusion stage, so this is a small time cost
+# for a large perceptual win — resolution is one of the single biggest
+# levers on whether a result reads as "real" vs "generated."
+# - simplify 0.90→0.75: keeps meaningfully more geometry (25% of triangles
+# removed instead of 90%) — low-poly faceting is one of the most obvious
+# tells of AI-generated 3D, and this is otherwise-idle GPU decimation cost.
+# Together these land well inside the poll budget (est. ~90-120s warm) while
+# meaningfully closing the gap toward a photograph-real result.
# `simplify` is the FRACTION OF TRIANGLES REMOVED by to_glb's decimation —
# lower keeps more geometry. Raising steps sharpens structure and appearance
# at roughly linear GPU-time cost; the L4 has headroom (MAX_CONCURRENT=1).
_QUALITY_DEFAULTS = {
- "ss_steps": 25,
- "slat_steps": 25,
+ "ss_steps": 40,
+ "slat_steps": 40,
"ss_cfg": 7.5,
"slat_cfg": 3.0,
- "simplify": 0.90,
- "texture_size": 2048,
+ "simplify": 0.75,
+ "texture_size": 4096,
}