Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

godot-asset-generator

БесплатноЗапускает вложенные скриптыНе проверен

Generate game assets using AI image generation APIs (DALL-E, Replicate, fal.ai) and prepare them for Godot. Covers the full art pipeline from concept art and…

jwyniaот jwynia★ 195 звёзд на GitHub

Об этом скилле

Godot Asset Generator

Generate game assets using AI image generation APIs and prepare them for use in Godot 4.x. This skill covers the complete art pipeline from concept to Godot-ready sprites.

When to Use This Skill

Use this skill when:

  • Generating game sprites, characters, or objects using AI
  • Creating tilesets for platformers or top-down games
  • Generating UI elements, icons, or menu assets
  • Batch-generating animation frames
  • Preparing AI-generated assets for Godot import
  • Creating consistent asset sets with style guides

Do NOT use this skill when:

  • Creating 3D models or textures (2D assets only)
  • Manual pixel art or illustration (use art software)
  • Complex frame-by-frame animation (use animation tools)
  • Working with existing assets (use Godot directly)

Prerequisites

Required:

  • Deno runtime installed
  • At least one API key:
    • OPENAI_API_KEY for DALL-E 3
    • REPLICATE_API_TOKEN for Replicate (SDXL, Flux)
    • FAL_KEY for fal.ai

Optional:

  • ImageMagick for advanced image processing
  • Godot 4.x project for import file generation

Quick Start

Generate a Single Image

deno run --allow-env --allow-net --allow-write scripts/generate-image.ts \
  --provider dalle \
  --prompt "pixel art knight character, front view, 16-bit style, transparent background" \
  --output ./assets/knight.png

Batch Generate Animation Frames

deno run --allow-env --allow-net --allow-read --allow-write scripts/batch-generate.ts \
  --spec ./batch-spec.json \
  --output ./generated/

Create Sprite Sheet

deno run --allow-read --allow-write scripts/pack-spritesheet.ts \
  --input ./generated/*.png \
  --output ./sprites/player-sheet.png \
  --columns 4

Core Workflow

Phase 1: Style Definition

Define your art style before generating assets:

  1. Choose Art Style: Pixel art, hand-drawn, painterly, or vector
  2. Create Style Guide: Document colors, modifiers, and constraints
  3. Test Prompts: Generate samples to validate style consistency
{
  "style": "pixel-art",
  "resolution": 64,
  "palette": "limited-16-colors",
  "modifiers": "16-bit, no anti-aliasing, clean pixels"
}

Phase 2: Asset Generation

Generate assets using the appropriate provider:

  1. Single Assets: Use generate-image.ts for individual images
  2. Batch Assets: Use batch-generate.ts for multiple related assets
  3. Iterate: Refine prompts based on results

Phase 3: Post-Processing

Prepare raw AI output for game use:

  1. Background Removal: Extract sprites from backgrounds
  2. Color Correction: Normalize palette if needed
  3. Resize: Scale to exact game resolution
  4. Trim/Pad: Remove whitespace, add sprite padding
deno run --allow-read --allow-write scripts/process-sprite.ts \
  --input ./raw/knight.png \
  --output ./processed/knight.png \
  --remove-bg \
  --resize 64x64 \
  --filter nearest

Phase 4: Godot Integration

Prepare assets for Godot import:

  1. Pack Sprite Sheets: Combine frames into optimized sheets
  2. Generate Import Files: Create .import with optimal settings
  3. Configure Animations: Set up SpriteFrames resources

API Provider Selection

Provider Best For Quality Cost Speed
DALL-E 3 Consistency, high detail Excellent $$$ Medium
Replicate Style control, variations Very Good $$ Medium
fal.ai Fast iteration, testing Good $ Fast

DALL-E 3 (OpenAI)

Best for high-quality, consistent results. Excellent prompt following.

--provider dalle --model dall-e-3
  • Sizes: 1024x1024, 1792x1024, 1024x1792
  • Quality: standard, hd
  • Style: vivid, natural

Replicate (SDXL/Flux)

Best for style control and cheaper batch generation.

--provider replicate --model stability-ai/sdxl
  • More model options (SDXL, Flux, specialized)
  • Negative prompts supported
  • ControlNet and img2img available

fal.ai

Best for rapid iteration and testing prompts.

--provider fal --model fal-ai/flux/schnell
  • Fastest inference
  • Good for prototyping
  • Lower cost per image

Prompting by Art Style

Pixel Art

"pixel art [subject], 16-bit style, clean pixels, no anti-aliasing,
limited color palette, retro game sprite, transparent background"

Key modifiers: 16-bit, 8-bit, pixel art, retro, clean pixels, no anti-aliasing

Avoid: realistic, detailed, smooth, gradient

Hand-Drawn / Illustrated

"hand-drawn illustration of [subject], ink lines, watercolor texture,
sketch style, game art, white background"

Key modifiers: hand-drawn, illustration, ink lines, sketch, watercolor

Painterly / Concept Art

"digital painting of [subject], concept art style, painterly brush strokes,
dramatic lighting, game asset"

Key modifiers: digital painting, concept art, painterly, brush strokes

V

Полный SKILL.md на GitHub

Установить godot-asset-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/prompts/pixel-art-templates.jsonassets/style-guides/style-guide-template.jsonreferences/api-guides/openai-dalle.mdreferences/godot-integration/import-settings.mdreferences/prompting/pixel-art.mdscripts/batch-generate.tsscripts/generate-image.tsscripts/generate-import-files.tsscripts/pack-spritesheet.tsscripts/process-sprite.ts

FAQ

Что делает скилл godot-asset-generator?

Generate game assets using AI image generation APIs (DALL-E, Replicate, fal.ai) and prepare them for Godot. Covers the full art pipeline from concept art and style guides to final sprites, sprite sheets, and import configuration. This skill should be used when creating game art, generating sprites, making tilesets, creating UI elements, or preparing assets for Godot import. Keywords: game assets, AI art, DALL-E, Replicate, fal.ai, sprite sheet, tileset, Godot, pixel art, character sprite, game art, texture, animation frames.

Как установить скилл godot-asset-generator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл godot-asset-generator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить godot-asset-generator с