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(triposr): bake the matting model in and gate the build on the prep suite
nirholas40eb57812229
diff --git a/workers/model-triposr/Dockerfile b/workers/model-triposr/Dockerfileindex 4f81cffec..8ebf58530 100644--- a/workers/model-triposr/Dockerfile+++ b/workers/model-triposr/Dockerfile@@ -30,9 +30,24 @@ RUN git clone --depth 1 https://github.com/VAST-AI-Research/TripoSR.git /opt/triCOPY requirements.txt /app/requirements.txtRUN pip install -r /app/requirements.txt+# Bake rembg's matting model into the image. Left unprimed it downloads 176 MB+# from a third-party release URL during the FIRST request each cold instance+# serves: 19 s of measured latency plus an availability dependency inside a+# user job. U2NET_HOME is where rembg looks for it at runtime.+ENV U2NET_HOME=/opt/u2net+RUN python -c "from rembg import new_session; new_session('u2net')"+WORKDIR /appCOPY worker_security.py /app/worker_security.py+COPY image_prep.py /app/image_prep.pyCOPY main.py /app/main.py+COPY test_image_prep.py /app/test_image_prep.py++# Build-time guard: the pre-inference path (decode, matte to 3-channel RGB,+# output naming) and the auth + SSRF guards must pass their unit suite or the+# image does not ship. A regression in the matte step fails every job at+# inference time, which is where it cost a day of production in 2026-07.+RUN python /app/test_image_prep.pyEXPOSE 8080