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(forge): opt text-to-3D into the Granite art-director prompt by default

nirholas9e792c130e41
diff --git a/src/forge.js b/src/forge.js
index b104ad665..449f4c805 100644
--- a/src/forge.js
+++ b/src/forge.js
@@ -1299,7 +1299,12 @@ async function startJob({ prompt, imageUrls, skipValidation, payment }) {
const body =
Array.isArray(imageUrls) && imageUrls.length
? { image_urls: imageUrls, prompt: prompt || undefined, ...base }
- : { prompt, aspect_ratio: aspectRatio, ...base };
+ // Granite art-director pass (server-side, fail-soft): rewrites the raw
+ // prompt into a richer single-subject spec with per-part PBR materials
+ // and photoreal cues before it drives the reference image. Text-to-3D
+ // only — the director rewrites a prompt, and an image submission has
+ // none to rewrite.
+ : { prompt, aspect_ratio: aspectRatio, director: true, ...base };
// Caller already saw the vision warning and chose to proceed (Consumer 1).
if (skipValidation) body.skip_validation = true;
// Pay-per-use proof: a non-holder who paid $THREE for this High generation
diff --git a/src/home-forge.js b/src/home-forge.js
index 2f2971302..59fdc50a9 100644
--- a/src/home-forge.js
+++ b/src/home-forge.js
@@ -324,6 +324,9 @@ async function startJob(prompt) {
path: 'image',
tier: 'standard',
backend: 'trellis',
+ // Granite art-director pass (fail-soft): same photoreal-biased prompt
+ // rewrite the full /forge page and every MCP tool already get.
+ director: true,
}),
});
const data = await res.json().catch(() => ({}));