> api_reference_
Custom Slime API
Create your own 16×16 pixel slimes, equip them as your display avatar, and share them in the public gallery.
SECTION 01 — AUTHENTICATION
API Key
All endpoints require a Bearer token. Your API key is available in the VibeMon app underSettings > Agent Connection.
$ curl -H "Authorization: Bearer YOUR_API_KEY" ...
SECTION 02 — CREATE
POST /api/custom-slime
Create a new custom slime with your own pixel art and color palette.
Request Body
namestringSlime name (1-30 chars)requiredpaletteobject5-color palette: keys "1"-"5", values #RRGGBBrequiredspritesobject16×16 sprite frames (see format below)requireddescriptionstring?Optional description (max 200 chars)is_publicbooleanShow in public gallery (default: false)Example
curl -X POST https://sirpdtcwawcidhgtltps.supabase.co/functions/v1/api/custom-slime \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My Slime",
"palette": {
"1": "#1a1a2e",
"2": "#e94560",
"3": "#533483",
"4": "#0f3460",
"5": "#ffcc00"
},
"sprites": {
"0": {
"idle": [
[
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" 11 ",
" 121 ",
" 1111 ",
" 122221 ",
" 12242421 ",
" 12225221 ",
" 111111 "
]
]
}
},
"is_public": true
}'SECTION 03 — SPRITE FORMAT
16×16 Pixel Grid
Each frame is an array of 16 strings, each exactly 16 characters. Characters map to palette colors:
spaceTransparent"1"Outline"2"Body highlight"3"Body / stem"4"Eyes"5"Blush / accentStage 3 — Default palette
{
"0": {
"idle": [ // required — 1 or 2 frames
[ // frame 1: 16 strings of 16 chars
" ",
" 11 ",
" 1221 ",
" 122221 ",
" 12242421 ",
" 12225221 ",
" 111111 ",
...
],
[...] // frame 2 (optional)
],
"running": [...], // optional
"breathing": [...],// optional
"tripping": [...] // optional
}
}"0" is allowed for custom slimes. The idle animation is required; others are optional. Each animation can have 1-2 frames.SECTION 04 — EQUIP & GALLERY
Use Your Slime
Equip as display avatar
Equipping a custom slime overrides your visual in social contexts (live feed, profile, share cards). Your growing slime continues unaffected.
curl -X POST https://sirpdtcwawcidhgtltps.supabase.co/functions/v1/api/custom-slime/SLIME_ID/equip \ -H "Authorization: Bearer YOUR_API_KEY"
Browse the gallery
Public custom slimes are available in the gallery. Cursor-based pagination.
curl "https://sirpdtcwawcidhgtltps.supabase.co/functions/v1/api/custom-slime/gallery?limit=20" \ -H "Authorization: Bearer YOUR_API_KEY"
SECTION 05 — ENDPOINTS
All Endpoints
Create a custom slime
List your custom slimes
Get one by ID
Update (owner only)
Delete (owner only)
Equip as display avatar
Unequip display avatar
Public gallery (paginated)
Toggle like (public only)
Base URL: https://sirpdtcwawcidhgtltps.supabase.co/functions/v1/api
SECTION 06 — LIMITS
Rules & Limits
Free Plan
- Up to 1 custom slime
- Public gallery access
- Like other slimes
Pro Plan
- Up to 20 custom slimes
- Public gallery access
- Like other slimes