Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(forge): unify the image-lane location env chain across both Vertex reference paths
nirholas27d9e0d4cf6d
diff --git a/api/_lib/forge-reference-image.js b/api/_lib/forge-reference-image.jsindex 527d4c4e5..480929d51 100644--- a/api/_lib/forge-reference-image.js+++ b/api/_lib/forge-reference-image.js@@ -67,7 +67,10 @@ const DEFAULT_MODEL = process.env.VERTEX_IMAGEN_MODEL || 'gemini-2.5-flash-image// live 2026-07-16. Separate from the text lanes so the image lane can be pinned// independently.const DEFAULT_LOCATION =- process.env.GOOGLE_CLOUD_LOCATION_IMAGE || process.env.GOOGLE_CLOUD_LOCATION || 'global';+ process.env.GOOGLE_CLOUD_LOCATION_IMAGE ||+ process.env.VERTEX_IMAGEN_LOCATION ||+ process.env.GOOGLE_CLOUD_LOCATION ||+ 'global';// Request the highest resolution the model tier serves. "2K" is accepted today// and currently renders at 1024px on this project's tier (harmless, and it// upgrades automatically when the tier serves true 2K). Force 1K withdiff --git a/api/_mcp3d/vertex-imagen.js b/api/_mcp3d/vertex-imagen.jsindex e70c97361..315996891 100644--- a/api/_mcp3d/vertex-imagen.js+++ b/api/_mcp3d/vertex-imagen.js@@ -121,7 +121,10 @@ export function isConfigured() {// own override before falling back to the shared location.function imageLaneLocation() {return (- readEnv('VERTEX_IMAGEN_LOCATION') || readEnv('GOOGLE_CLOUD_LOCATION') || DEFAULT_LOCATION+ readEnv('VERTEX_IMAGEN_LOCATION') ||+ readEnv('GOOGLE_CLOUD_LOCATION_IMAGE') ||+ readEnv('GOOGLE_CLOUD_LOCATION') ||+ DEFAULT_LOCATION);}