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
feat(model-hunyuan3d): speak the reconstruct wire shape the API drives this lane with
nirholas1182985b3fee
diff --git a/workers/model-hunyuan3d/main.py b/workers/model-hunyuan3d/main.pyindex fbd3bf044..b8fd22db4 100644--- a/workers/model-hunyuan3d/main.py+++ b/workers/model-hunyuan3d/main.py@@ -299,6 +299,29 @@ async def infer(return {"task_id": task_id, "status": "queued"}+# api/_providers/gcp.js drives this lane in `reconstruct` mode+# (GCP_HUNYUAN3D_URL + mode:'reconstruct'), which speaks the avatar+# controller's wire shape: POST /reconstruct → { job_id }, GET /jobs/:id.+# These aliases accept that shape verbatim so the worker URL can be wired+# directly into the API env; the poll reader is field-tolerant+# (task_id|job_id, glb_url|result_gcs_url) so the same records serve both.[email protected]("/reconstruct", status_code=202)+async def reconstruct(+ body: InferRequest,+ background_tasks: BackgroundTasks,+ authorization: str = Header(...),+) -> dict:+ result = await infer(body, background_tasks, authorization)+ return {**result, "job_id": result["task_id"]}++[email protected]("/jobs/{task_id}")+async def get_job(task_id: str, authorization: str = Header(...)) -> dict:+ task = await get_task(task_id, authorization)+ glb = task.get("result_gcs_url")+ return {**task, "job_id": task.get("task_id"), **({"glb_url": glb} if glb else {})}++@app.get("/tasks/{task_id}")async def get_task(task_id: str, authorization: str = Header(...)) -> dict:_require_api_key(authorization)