{"service":"gigglebitch api","engine":"glitche (python)","routes":["GET /health","GET /presets?include=all|builtin|file|user|server&user_id=&guild_id=","GET /presets/{name}?user_id=&guild_id=","POST /presets (json: name, dsl, scope=user|server, user_id, guild_id, overwrite?)","DELETE /presets/{name}?scope=&user_id=&guild_id=","POST /presets/{name}/share (json: user_id, guild_id)","GET /palettes?include=all|builtin|user|server&user_id=&guild_id=","GET /palettes/{name}?user_id=&guild_id=","POST /palettes (json: name, chars, scope=user|server, user_id, guild_id, overwrite?)","DELETE /palettes/{name}?scope=&user_id=&guild_id=","POST /palettes/{name}/share (json: user_id, guild_id)","GET /effects","POST /render (multipart: image | image_id, preset | dsl | dsl_file, seed, id, slug, save, user_id, guild_id) — ephemeral by default; stores only if id / slug / save=true is given","POST /library (multipart: image, user_id, guild_id?, id?, scope=user|server) — store an image directly, no render; scope=server uploads straight into the guild's library, no personal entry","GET /library?scope=user|server|all&owner_id=&guild_id=","GET /library/{id}?scope=&owner_id=&guild_id=","GET /library/{id}/image?scope=&owner_id=&guild_id=","DELETE /library/{id}?scope=&owner_id=&guild_id=","POST /library/{id}/share (json: user_id, guild_id, copy?) — reference share by default (linked lifecycle); copy=true makes a detached copy","POST /library/{id}/unshare (json: user_id, guild_id)","GET /builder/primitives","GET /builder/models","POST /builder/sessions (multipart: user_id, guild_id?, thread_id?, image_id? | image) — create a preset-builder session","GET /builder/sessions/{id}?user_id=","GET /builder/sessions/by-thread/{thread_id}?user_id=","POST /builder/sessions/{id}/turn (json: user_id, message) — harness call, validate, 1200px preview","GET /builder/sessions/{id}/preview","POST /builder/sessions/{id}/save (json: user_id, name, overwrite?)","POST /builder/sessions/{id}/reset (json: user_id)","POST /builder/sessions/{id}/close (json: user_id)"]}