2d-pixel-asset

Generate 2D pixel art assets from prompts and reference images via Chrome automation.

15|1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/maystudios/claude-skills --skill 2d-pixel-asset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 2d-pixel-asset
Source: https://github.com/maystudios/claude-skills/tree/main/2d-pixel-asset
Command: npx skills add https://github.com/maystudios/claude-skills --skill 2d-pixel-asset

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, transformers, torch, torchvision, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Many game developers and artists need consistent, centered pixel art assets at exact pixel dimensions with clean transparent backgrounds, but generating, cleaning, and rasterizing images manually is slow and error-prone. This Skill automates the end-to-end process of producing pixel art sprites and tilesets via Gemini's web UI and post-processes them into production-ready PNGs.

Core Features & Use Cases

  • Automated Gemini generation: Build and submit pixel-art prompts, select Pro/Flash models, and handle Gemini's German UI via Chrome MCP automation.
  • Reference-guided and edit workflows: Upload up to 14 reference images or an existing sprite to preserve style or perform targeted edits.
  • Background removal & rasterization: Support chroma-key, ML (BiRefNet/ToonOut), or Adobe Express removal and rasterize output to exact target sizes (square or WxH) with configurable margins.
  • Use Case: Produce a 32x32 centered character sprite from a textual prompt with a magenta chroma-key background, then automatically remove the background and export a transparent PNG into ./Assets/.

Quick Start

Generate a 32x32 pixel art sword centered on a magenta background using the Pro model and save the processed transparent PNG to ./Assets/.

Frequently Asked Questions about 2d-pixel-asset

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate 2D pixel art sprites with transparent backgrounds?

You can generate 2D pixel art sprites with transparent backgrounds by submitting prompts through automated Gemini web UI actions, after which the output is processed using chroma-key or ML-based background removal to produce clean, transparent PNGs.

Can I use reference images to guide pixel art style transfer?

Yes, you can use reference images to guide pixel art style transfer by uploading up to 14 reference images into the Gemini interface via Chrome MCP automation, allowing you to preserve specific styles or perform targeted edits on existing sprites.

What is the best way to rasterize generated pixel art to exact pixel dimensions?

The best way to rasterize generated pixel art to exact dimensions is using the integrated Python post-processing script, which scales and rasterizes the output to precise target sizes like 32x32 or custom WxH resolutions with configurable margins.

Does this pixel art generation workflow support ML-based background removal?

Yes, this pixel art generation workflow supports ML-based background removal using BiRefNet or ToonOut models via Torch and Torchvision, alongside chroma-key and Adobe Express options, to isolate sprites from their backgrounds.

Do I need Chrome MCP tools to automate Gemini pixel art generation?

Yes, you need Chrome MCP tools to automate Gemini pixel art generation because the workflow relies on automated Chrome browser actions to build prompts, select Pro or Flash models, and handle the Gemini interface for image generation.

How do I edit existing pixel art sprites for game development?

To edit existing pixel art sprites for game development, you can upload the existing sprite into the automated Gemini workflow as a reference image, perform targeted edits, and then rasterize the updated output to your exact target dimensions.