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: Add new API routes for clash state management and avatar fetching

udvkd39fbedc0a3d
diff --git a/vercel.json b/vercel.json
index 40bba85db..03518089c 100644
--- a/vercel.json
+++ b/vercel.json
@@ -2548,6 +2548,26 @@
"src": "/api/pump/coin-trades",
"dest": "/api/pump/[action]?action=coin-trades"
},
+ {
+ "src": "/api/clash/state",
+ "dest": "/api/clash/[action]?action=state"
+ },
+ {
+ "src": "/api/clash/enlist",
+ "dest": "/api/clash/[action]?action=enlist"
+ },
+ {
+ "src": "/api/clash/enlist-verify",
+ "dest": "/api/clash/[action]?action=enlist-verify"
+ },
+ {
+ "src": "/api/clash/rally",
+ "dest": "/api/clash/[action]?action=rally"
+ },
+ {
+ "src": "/api/clash/leaderboard",
+ "dest": "/api/clash/[action]?action=leaderboard"
+ },
{
"src": "/api/demo/coin/state",
"dest": "/api/demo/coin/[action]?action=state"
@@ -2714,6 +2734,10 @@
"src": "/api/avatars/([^/]+)/[^/]+\\.glb",
"dest": "/api/avatars/$1/glb"
},
+ {
+ "src": "/api/avatars/([^/]+)",
+ "dest": "/api/avatars/[id]"
+ },
{
"src": "/api/a/(\\d+)/(\\d+)/og",
"dest": "/api/a-og?chain=$1&id=$2"