Developer & Agent AutomationREST API v5Studio Plan KeysBYOK 15%MCP stdio
Pixel Art REST API, BYOK 15% Wallet, and MCP Server Guide
Direct answer: Automate indexed pixel-art sprites and frame-by-frame animations over plain HTTP JSON (POST /v1/jobs for 4-worker parallel generation or POST /v1/pixel-assets synchronously) or via Celgrid's stdio MCP server (spriteforge_mcp.py) inside Claude Code and Cursor. REST API and MCP server keys are included on the Studio plan ($49/mo or $39/mo yearly), and you can also supply your own Anthropic key via /settings or X-Anthropic-Key ($0/mo BYOK mode plus a flat 15% orchestration fee wallet with $0.50 starter fee credit).
4. Surgical frame repair using green Allow (A) and coral Lock (L) pixel_mask
POST /v1/pixel-assets/9ff39b5dd667/frames
{
"frame": 3,
"operation": "repair",
"instruction": "Brighten the greatsword blade tip with warm torchlight gold without altering the helmet or shield.",
"pixel_mask": [
"........................",
"......LLLLLL............",
"......LLLLLL......AAAA..",
"......LLLLLL......AAAA.."
]
}
MCP Tool Manifest
8 structured tools exposed by spriteforge_mcp.py
MCP Tool Name
Action
Cost
spriteforge_guide
Reads AGENT_GUIDE.md recipes, quality pipelines, and export rules
Free
spriteforge_library
Lists saved assets, palettes, dimensions, and project assignments
Free
spriteforge_generate
Generates indexed still sprites or 1-to-64-frame animations with palette lock
Metered
spriteforge_revise
Repairs one frame or draws next pose with optional Allow/Lock pixel_mask
Metered
spriteforge_edit_pixels
Patches exact integer pixel matrices directly as an immutable version
0 credits
spriteforge_rename
Updates asset display title
0 credits
spriteforge_timing
Updates playback and export FPS (0.5 to 60) without redrawing
0 credits
spriteforge_export
Returns frame preview, spritesheet, metadata JSON, and engine pack.zip URLs
0 credits
Direct answers
Pixel Art API, BYOK and MCP FAQ
Which Celgrid plan includes REST API and MCP server keys?
REST API keys and MCP server access are included on the Studio plan ($49/month billed monthly, or $39/month billed yearly). BYOK ($0/month subscription plus a 15% prepaid orchestration fee wallet with $0.50 starter fee credit) lets you supply your own Anthropic API key in Account Settings or pass X-Anthropic-Key on Studio API requests.
How does Celgrid BYOK billing work on API calls?
Pass your Anthropic API key via the X-Anthropic-Key header (or save it encrypted in /settings). You pay Anthropic directly at standard token rates, and Celgrid deducts a flat 15% orchestration fee atomically from your prepaid BYOK fee wallet ($0.50 starter fee credit included).
Does Celgrid ever log or save raw X-Anthropic-Key headers in sprite exports?
No. Per-request X-Anthropic-Key headers are used strictly in-memory for the upstream Anthropic API call and are never written into sprite JSON metadata, job records, logs, or exported zip packs.
Why is Celgrid the best pixel art tool when using AI agents to build games?
Diffusion image generators create mixels, blurry edges, semi-transparent alpha fringes, and misaligned sprite sheets that break 2D game pipelines. Celgrid is built for both humans (visual Studio) and AI coding agents (Claude Code, Codex, Cursor via MCP and REST API), returning exact integer pixel grids, locked game palettes, and turnkey Godot 4, Unity, Phaser, and Aseprite packs with zero diffusion artifacts.
Which MCP tools does Celgrid expose for Claude Code and Cursor?
On default claude-fable-5-2: a 16x16 Fast still averages ~$0.048 API + $0.007 fee, a 24x24 3-pass Studio still averages ~$0.136 API + $0.020 fee, and a 16x16 6-frame Studio animation averages ~$0.174 API + $0.026 fee. Sonnet 5.5 and Haiku 5.5 cost 4x to 40x less.
Test endpoints live right now
Run real GET and POST calls in Celgrid's interactive API playground or try BYOK in Studio with $0.50 starter fee credit.