Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Generate pixel art sprites, backgrounds, walk-cycle animations, and isometric tilesets directly inside the Godot editor.AI generation uses OpenAI (API key required). Image-to-pixel conversion and walk cycle animation work fully offline with no API key needed.Features:- Sprite from text prompt (AI)- Image to pixel art conversion (offline)- Background from text prompt (AI)- Walk / idle / jump / attack animation (offline)- Isometric tileset from text prompt (AI)- Four-tab editor dock: Sprite, Background, Animate, Isometric- Bundled Python server starts automatically- Save dialog writes directly into res:// so assets appear in the FileSystem panel immediately- API key stored in editor settings (never in project files), hidden by default- Usage button shows current month OpenAI spend and remaining balanceRequirements:- Godot 4.2 or later- Python 3.10 or later (in PATH) β if not found, the dock shows install instructions- OpenAI API key (only for AI generation features)
PixelMaker β Godot 4 Editor Plugin
Generate pixel art sprites, backgrounds, walk-cycle animations, and isometric tilesets directly inside the Godot editor. AI generation via OpenAI (API key required); image conversion and animation work fully offline. Includes a bundled Python server that starts automatically β no manual setup needed.
The standalone web version lives at github.com/kbraiden/pixelmaker.
Screenshots
Features
| Feature | Needs API key? |
|---|---|
| Sprite from text prompt (AI) | Yes |
| Image β pixel art conversion | No |
| Background from text prompt (AI) | Yes |
| Walk / idle / jump / attack animation | No |
| Isometric tileset from text prompt (AI) | Yes |
- Four-tab editor dock β Sprite, Background, Animate, Isometric
- Bundled Python server β starts automatically; pip dependencies install on first run
- Saves into your project β save dialog opens inside
res://so assets appear in the FileSystem panel immediately - API key management β key stored in editor settings (never in project files), hidden by default; Usage button shows this month's OpenAI spend and remaining balance
Requirements
| Version | |
|---|---|
| Godot | 4.2 or later |
| Python | 3.10 or later, in PATH |
| OpenAI API key | Only for AI generation features |
Installation
Godot Asset Library
Search for PixelMaker in the Godot editor's Asset Store tab.
Manual
- Download
pixelmaker-godot-plugin.zipfrom Releases. - Extract and copy
addons/pixelmaker/into your project:your-project/ βββ addons/ βββ pixelmaker/ - Project β Project Settings β Plugins β enable PixelMaker.
Clone
git clone https://github.com/kbraiden/pixelmaker-godot-plugin.git
Copy addons/pixelmaker/ into your project's addons/ folder, then enable the plugin.
First-time setup
- Enable the plugin β the Python server starts automatically in the background.
- Wait a few seconds for β Server: online to appear in the dock header. On first run, pip installs dependencies (30β60 s).
- Click [Key] API Key, paste your OpenAI key, press Enter. The key is saved to editor settings and the field hides again.
- Pick a tab and generate.
No OpenAI key? The Sprite β From Image and Animate tabs work entirely locally β no key needed.
Tabs
Sprite
- From Text (AI) β prompt β pixel sprite at 16 / 32 / 64 / 128 px with palette options.
- From Image (local) β drop any PNG / JPEG / WebP; pixelated locally.
Background
Prompt β wide pixel-art scene (up to 3840 Γ 2160), optional seamless tiling.
Animate
Upload a pixel sprite, choose walk / idle / jump / attack and frame count. Returns a sprite sheet PNG and an animated GIF.
Isometric
Enter a surface material (e.g. "grass") and optional side material. Choose tile width and height variants (full / half / quarter / slab). Returns tile PNGs ready for a Godot 4 TileSet.
Server details
The plugin ships a FastAPI server
(addons/pixelmaker/server/) running on 127.0.0.1:8765 β separate from the
standalone app (port 8000) so both can coexist.
Manual controls: Tools β PixelMaker β Start / Stop Server / Open Web UI
Troubleshooting
| Symptom | Fix |
|---|---|
Server: offline on startup |
Wait 30β60 s on first run. Then Tools β PixelMaker: Start Server. |
| Python not found | Install Python 3.10+ and ensure python or python3 is in PATH. |
| AI generation fails | Check your API key is set and has credit. Click Usage to verify. |
| Dock is blank | Disable and re-enable the plugin in Project β Project Settings β Plugins. |
License
MIT β see LICENSE.
Pixel art algorithms adapted from kbraiden/pixelmaker, also MIT.
Features
| Tab | What it does | Needs OpenAI key? |
|---|---|---|
| Sprite | Generate a pixel sprite from a text prompt, or pixelate an uploaded image | Text mode: yes / Upload mode: no |
| Background | Generate a pixel-art background (tileable or full-width) from a prompt | Yes |
| Animate | Upload a sprite β get walk / idle / jump / attack animation frames, sprite sheet, and GIF | No (fully local) |
| Isometric | Generate a 2:1 iso tileset (full/half/quarter/slab variants) with a ready-to-import Godot 4 TileSet resource |
Yes |
Requirements
- Godot 4.2+
- Python 3.10+ in your system
PATH(download) - Python packages are auto-installed on first run (internet needed once):
fastapi,uvicorn,pillow,numpy,python-dotenv,python-multipart,openai - An OpenAI API key for AI-powered features (Sprite from text, Background, Isometric). Local features (Sprite from image, Animate) work without a key.
Installation
Option A β Copy into an existing project
- Copy the entire
addons/pixelmaker/folder into your Godot project'saddons/directory. - Open Project β Project Settings β Plugins and enable PixelMaker.
Option B β Use this repository as a standalone plugin
- Clone or download this repository.
- In Godot, open Project β Project Settings β Plugins, click Install,
and point it at the
addons/pixelmaker/plugin.cfgfile.
First-time setup
When the plugin is enabled for the first time:
- Godot launches the Python server in the background (
127.0.0.1:8765). - Python auto-installs any missing pip packages from
requirements.txt. This may take 30β60 seconds on the first run. - The dock status indicator changes from offline β online (local only) (or online + AI if an API key is configured).
If the status shows offline, use the editor menu: Tools β PixelMaker: Start Server
Usage
Sprite tab
- From Text (AI) β enter a prompt (e.g.
a blue wizard) and click Generate Sprite. Requires an OpenAI API key in the API Key field. - From Image (local) β click Choose Image to upload any photo or drawing; the engine downscales and quantizes it locally.
Adjust Size (16 / 32 / 64 / 128 px grid), Palette, and Colors, then use Save Sprite PNG / Save Preview PNG to write the files. The file dialog opens at your project root by default.
Background tab
Enter a scene description, set dimensions and pixel size, then generate. Enable Tileable to make the result repeat seamlessly.
Animate tab
- Click Choose Sprite to upload a true-size pixel sprite (PNG).
- Pick an action:
walk,idle,jump, orattack. - Click Generate Animation.
- Save the Sprite Sheet (for LibreSprite / Aseprite import) or the GIF preview.
Isometric tab
- Enter a Top Texture Prompt (e.g.
moss-covered stone). - Optionally enter a Side Texture Prompt (blank = auto-shade from top).
- Choose tile width, palette, and which height variants to generate.
- Click Generate Isometric Tiles.
- Click Save ZIP β the archive contains:
- Individual tile PNGs
- A packed atlas PNG (
<name>_atlas.png) - A Godot 4 TileSet resource (
<name>_tileset.tres) - Import notes
To import the tileset:
- Unzip into your project root (e.g.
res://grass/). - Add a
TileMapLayernode and assigngrass/grass_tileset.tresas its Tile Set. - Enable Y-Sort on the layer for correct depth ordering.
Server management
The Python server runs on http://127.0.0.1:8765.
The editor menu (Tools β PixelMaker: β¦) provides:
| Menu item | Effect |
|---|---|
| Start Server | Launch (or re-launch) the Python server |
| Stop Server | Kill the server process |
| Open Web UI | Open the full web interface in your browser |
The server is started automatically when the plugin loads and stopped when it is disabled.
Architecture
addons/pixelmaker/
βββ plugin.cfg Godot plugin metadata
βββ plugin.gd EditorPlugin β server lifecycle + menu items
βββ dock.gd Editor dock β full UI (4 tabs, built programmatically)
βββ server/
βββ launcher.py Auto-installs deps, then starts uvicorn on port 8765
βββ requirements.txt
βββ app/ FastAPI application (identical to standalone pixelmaker)
βββ main.py REST endpoints (/api/generate, /api/convert, β¦)
βββ pixelate.py Core pixelation engine
βββ walkcycle.py Walk-cycle generator
βββ animations.py Idle / jump / attack generators
βββ isometric.py 2:1 iso tile builder + Godot TileSet exporter
βββ palettes.py NES / Game Boy / CGA / PICO-8 palettes
βββ config.py Settings (reads OPENAI_API_KEY from .env)
βββ providers/ AI image provider abstraction (OpenAI)
The dock communicates with the server over HTTPRequest (Godot's built-in
HTTP client). Responses carry base-64-encoded PNG / ZIP data which the dock
decodes with Marshalls.base64_to_raw().
Troubleshooting
| Symptom | Fix |
|---|---|
| Status shows offline | Click βΊ to recheck; use Tools β PixelMaker: Start Server |
| First run is slow | Python is installing packages β wait ~60 s |
Python not found error |
Install Python 3.10+ and make sure it's in your system PATH |
| AI features return 503 | Enter a valid OpenAI API key in the API Key field |
| Animate produces a blank sheet | Ensure the uploaded sprite has transparent background (RGBA PNG) |
License
This plugin bundles code from the PixelMaker
project. See the root LICENSE file for details.
Generate pixel art sprites, backgrounds, walk-cycle animations, and isometric tilesets directly inside the Godot editor.
AI generation uses OpenAI (API key required). Image-to-pixel conversion and walk cycle animation work fully offline with no API key needed.
Features:
- Sprite from text prompt (AI)
- Image to pixel art conversion (offline)
- Background from text prompt (AI)
- Walk / idle / jump / attack animation (offline)
- Isometric tileset from text prompt (AI)
- Four-tab editor dock: Sprite, Background, Animate, Isometric
- Bundled Python server starts automatically
- Save dialog writes directly into res:// so assets appear in the FileSystem panel immediately
- API key stored in editor settings (never in project files), hidden by default
- Usage button shows current month OpenAI spend and remaining balance
Requirements:
- Godot 4.2 or later
- Python 3.10 or later (in PATH) β if not found, the dock shows install instructions
- OpenAI API key (only for AI generation features)
Reviews
Quick Information
Generate pixel art sprites, backgrounds, walk-cycle animations, and isometric tilesets directly inside the Godot editor.AI generation uses OpenAI (API key required). Image-to-pixel conversion and walk cycle animation work fully offline with no API key needed.Features:- Sprite from text prompt (AI)- Image to pixel art conversion (offline)- Background from text prompt (AI)- Walk / idle / jump / attack animation (offline)- Isometric tileset from text prompt (AI)- Four-tab editor dock: Sprite, Background, Animate, Isometric- Bundled Python server starts automatically- Save dialog writes directly into res:// so assets appear in the FileSystem panel immediately- API key stored in editor settings (never in project files), hidden by default- Usage button shows current month OpenAI spend and remaining balanceRequirements:- Godot 4.2 or later- Python 3.10 or later (in PATH) β if not found, the dock shows install instructions- OpenAI API key (only for AI generation features)