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(hunyuan3d): answer the service root on the 2.0 worker too

nirholasedba1158d48f
diff --git a/workers/model-hunyuan3d/main.py b/workers/model-hunyuan3d/main.py
index 5b4570d84..9d86f7abf 100644
--- a/workers/model-hunyuan3d/main.py
+++ b/workers/model-hunyuan3d/main.py
@@ -510,6 +510,22 @@ async def get_task(task_id: str, authorization: str = Header(...)) -> dict:
return await _resolve_task(task_id)
+async def root() -> dict:
+ """Service identity for a bare-root GET.
+
+ Nothing here serves inference, but probes and operators land on the root
+ first, and a 404 tells them nothing while filling the service log with
+ warnings. Point them at the real health route and the endpoint map instead.
+ """
+ return {
+ "service": "model-hunyuan3d",
+ "model": "hunyuan3d-2",
+ "health": "/health",
+ "endpoints": ["POST /infer", "POST /reconstruct", "GET /tasks/{id}", "GET /jobs/{id}", "GET /health"],
+ }
+
+
@app.get("/health")
async def health() -> dict:
return {