Skip to content

Pixel art API and MCP

Pixel art API and MCPfor coding agents

Ask Claude Code, Cursor or Codex for a sprite, and the PNG lands in your project. The REST API runs the same jobs from your scripts.

Connect your agent

API and MCP are included on every plan.

Setup guides for 10 agent clients

frame 1 / 8

assets/sprites/knight_walk.png · saved by your agent

What an agent can make in one session

Pixel art swordsman made through the Pixler API
Swordsmangenerate
Pixel art orc made through the Pixler API
Orcgenerate
The same pixel art orc after a text edit that added a crown
Orc with a crownedit
Demonanimate
Pixel art potion icon made through the Pixler API
Potiongenerate
Pixel art chest icon made through the Pixler API
Chestgenerate
Pixel art path tileset made through the Pixler generate_tileset tool
Dirt trailgenerate_tileset

Three steps to art in your repo

  1. 01

    Make a token

    Create a token on your account page. Give it only the permissions it needs.

  2. 02

    Add the MCP server

    Copy the setup for your client. The server is at mcp.pixler.dev.

  3. 03

    Ask for the asset

    "Make a 64×64 knight, animate an 8 frame walk cycle and save it to assets/sprites."

Ask for a knight. Find it in assets/sprites.

Built for agents and scripts

MCP for 10 clients

Setup guides for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Zed, Codex, Gemini CLI, OpenCode and Warp. The server uses Streamable HTTP with a Bearer token.

Eight tools

generate, generate_tileset, export, edit, animate, get_job, list_jobs and get_quota. The agent can make art, wait for results, reuse old art and check its balance.

REST API with OpenAPI

POST /generate, /edit and /animate return a job id. Poll GET /jobs/{jobId}, then download each PNG. Errors use stable codes, such as 429 concurrency_limit with Retry-After.

Scoped tokens, shared balance

Give each token only generate, edit, animate or read. API and MCP use the same credits as the website: 1 per image and 5 per animation.

No extra fee for the API

Included

on every plan, from $8 a month

1 credit

for each image

5 credits

for each animation

See all plans and packs

Questions

Which coding agents are supported?

Pixler has setup guides for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Zed, Codex, Gemini CLI, OpenCode and Warp. Any other MCP client that supports Streamable HTTP and a custom Authorization header also works.

What can the agent do?

Make characters, items, backgrounds and tilesets. Edit a finished image with an instruction. Animate an image into a sprite sheet. Poll and list jobs, and read the remaining quota. The agent can then download the PNGs into your project.

How much does API and MCP access cost?

Nothing extra. Access is included on every plan and uses the same balance as the website: 1 credit per image and 5 per animation. Rare is $8 a month for 800 credits, Legendary is $20 a month for 2,500, and Mythic is $45 a month for 6,000.

How many jobs can run at once?

One active request on Rare, and two on Legendary and Mythic. The website, the API and MCP share this limit. A request counts once, however many images it makes. Over the limit, the REST API returns HTTP 429 with the code concurrency_limit and a Retry-After header.

Is the API synchronous?

No. Every call queues a job and returns its id. Poll the job until it is Completed, then download the images or the sheet. Agents do this with get_job.

Are there limitations?

Reference images work only on the website for now. OAuth is not supported. Use a Bearer token from your account page.

Can I use the art in a commercial game?

Yes. You can use art made on pixler.dev in commercial games and products on every plan. You do not need to credit Pixler.

Pixel art API and MCP for coding agents

Connect your agent

API and MCP are included on every plan.