🔮 Piclets Discovery Server
Backend for the Piclets monster-discovery game. The heavy AI runs on ZeroGPU Spaces using your token, and new monsters are saved to a public dataset. This page is mainly for manual testing — the game talks to the API.
Moderation tools. Requires the ADMIN_TOKEN secret, not a user login.
Read paths (frontend fetches these directly from the dataset CDN — no server load)
- Dex (all monsters):
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/index/monsters.json - Feed (recent):
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/index/feed.json - Leaderboard:
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/index/leaderboard.json - Global stats:
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/index/stats.json - A monster:
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/monsters/<key>.json - A user:
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/users/<sub>.json(a user'sdiscoverieslist -> monster keys) - Art:
https://huggingface.co/datasets/Fraser/Pictuary/resolve/main/images/<key>.webp
Write path (this server, one endpoint)
POST /scan — inputs: image (file), hf_token (the player's OAuth access token).