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(text2motion): answer the service root with an endpoint map instead of a 404

nirholas8b4338323744
diff --git a/workers/model-text2motion/main.py b/workers/model-text2motion/main.py
index 0609e5b4b..2ae81ddb8 100644
--- a/workers/model-text2motion/main.py
+++ b/workers/model-text2motion/main.py
@@ -153,6 +153,24 @@ async def get_task(task_id: str, authorization: str = Header(...)) -> dict:
return task
+async def root() -> dict:
+ """Service identity for a bare-root GET.
+
+ The keep-warm probe (api/cron/gpu-keepwarm.js) pings the root every 10
+ minutes and counts anything under 500 as warm, so a 404 worked but logged 90
+ WARNING lines a day into the triage sweep and told an operator who landed
+ here nothing. Answer with the endpoint map instead, matching the other
+ model-* workers.
+ """
+ return {
+ "service": "model-text2motion",
+ "model": "mdm",
+ "health": "/health",
+ "endpoints": ["POST /infer", "GET /tasks/{id}", "GET /health"],
+ }
+
+
@app.get("/health")
async def health() -> dict:
return {