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.

test(stylize): gate the image on the filter and export unit suite

nirholas124992e6cf35
diff --git a/workers/stylize/Dockerfile b/workers/stylize/Dockerfile
index a15fc2bb2..980d01602 100644
--- a/workers/stylize/Dockerfile
+++ b/workers/stylize/Dockerfile
@@ -16,6 +16,14 @@ RUN pip install -r /app/requirements.txt
WORKDIR /app
COPY worker_security.py /app/worker_security.py
COPY main.py /app/main.py
+COPY test_stylize.py /app/test_stylize.py
+
+# Build-time guard: the four filters, the color sampler, the export round-trip,
+# the memory caps, the SSRF gate, and the upload retry policy must pass their
+# unit suite or the image does not ship. This is also the only place open3d's
+# decimation path (used by voronoi + lowpoly) is exercised; the local run falls
+# back to trimesh.
+RUN python /app/test_stylize.py
EXPOSE 8080
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "1"]