creating-sprites

Installation
SKILL.md

Creating Sprites

Generate pixel-art game sprites via OpenAI's gpt-image-1.5 model with native transparent background support, then process them into game-ready assets with correct dimensions and proper anchoring.

Reference Files

File Read When
references/sprite-sizes.md Choosing target size, generation size, crop mode, or fake pixel math for a sprite type
references/prompt-guide.md Constructing or refining a generation prompt, choosing style keywords, or writing per-type prompts
references/troubleshooting.md A generation fails, transparency check fails, style doesn't match, or API returns errors

Prerequisites

  • OPENAI_API_KEY — an OpenAI API key
    • The generate script auto-loads from: --api-key flag → OPENAI_API_KEY env var → .env file in current directory
  • Python dependencies: openai and Pillow (installed via requirements.txt in the skill's scripts/ directory)

Script Paths

Related skills

More from riccardogrin/skills

Installs
18
GitHub Stars
4
First Seen
Mar 9, 2026