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.

docs(env): document VERTEX_IMAGEN_LOCATION and VERTEX_IMAGE_SIZE

nirholas63c11401dcd2
diff --git a/.env.example b/.env.example
index 243d93a8d..916c50e99 100644
--- a/.env.example
+++ b/.env.example
@@ -1206,6 +1206,15 @@ VERTEX_IMAGEN_MODEL=gemini-2.5-flash-image
# Vertex image-editing model (used by editImage()). Same Gemini default; an
# imagen-* value routes to the legacy :predict edit shape while still callable.
VERTEX_IMAGEN_EDIT_MODEL=gemini-2.5-flash-image
+# Location for the image models only (falls back to GOOGLE_CLOUD_LOCATION, then
+# us-central1). Set to "global" to run gemini-3-pro-image-preview, which is not
+# served regionally. Production runs global + gemini-3-pro-image-preview for
+# true 2K photoreal reference images.
+VERTEX_IMAGEN_LOCATION=
+# Requested reference-image resolution: 1K / 2K / 4K (default 2K).
+# gemini-2.5-flash-image ignores it (always 1024px); gemini-3-pro-image honors
+# it. Models that reject the knob get one automatic retry without it.
+VERTEX_IMAGE_SIZE=
# Service account JSON key (paste the full JSON as a single-line string).
# Alternative: set GOOGLE_APPLICATION_CREDENTIALS to a file path on the server.
GCP_SERVICE_ACCOUNT_JSON=