Batch generate game art assets for Dark Tide SLG using MuleRouter AI image generation. Use when creating or replacing item icons (pixel art or painterly), skill effect VFX (casting circles, impact effects, buff auras, animation frames), character portraits, battle backgrounds, or any visual asset for the game. Triggers on requests for game art, icons, sprites, VFX, effects, or visual assets for Dark Tide.
Batch AI art generation for Dark Tide SLG game assets via MuleRouter Nano-Banana Pro API.
Generate a single asset:
chmod +x scripts/gen_asset.sh
scripts/gen_asset.sh "/output/path/icon.png" "prompt text" "1:1" "2K"
Resize for pixel art (NEAREST neighbor preserves crisp pixels):
python scripts/resize.py source.png output.png 128 pixel
resize.py pixelreferences/prompt_templates.md → "Pixel Art Item Icons" prefixassets/icons/items/Each character needs 4 asset types per skill:
Casting circle — magic circle / aura activation
Impact effect — hit / damage / heal visual
Buff aura — status effect overlay
3 animation frames — sequence: charge → release → hit
Resolution: 2K source
Aspect ratio: 1:1
See references/prompt_templates.md for each sub-type prefix
Existing effects: assets/effects/{character_name}/
Run 6-7 parallel jobs for throughput. Use & and wait:
scripts/gen_asset.sh "/out/item1.png" "prompt1" &
scripts/gen_asset.sh "/out/item2.png" "prompt2" &
scripts/gen_asset.sh "/out/item3.png" "prompt3" &
scripts/gen_asset.sh "/out/item4.png" "prompt4" &
scripts/gen_asset.sh "/out/item5.png" "prompt5" &
scripts/gen_asset.sh "/out/item6.png" "prompt6" &
wait
| Faction | Colors | Keywords |
|---|---|---|
| Human 天城王朝 | Gold #DAA520 | golden, warm, sacred, white |
| Elf 银月议庭 | Green #006633 | emerald, silver, forest, nature |
| Mage 白塔同盟 | Blue #0047AB / Purple #7B2FBE | arcane, cosmic, deep blue |
| Pirate 深渊之牙 | Navy #1B2A4A / Gold | ocean blue, dark navy |
| Dark Elf 永夜议会 | Purple #3D0066 | deep violet, shadow, dark |
| Orc 铁牙氏族 | Red #8B0000 | dark red, iron gray, fire |
| Neutral | Brown #8B7D6B | earth, sandy, golden brown |
no text no words to prevent AI-generated text on imagesdark background for VFX (compositing friendly)black background for item iconswhite background for character design sheetsreferences/prompt_templates.mdPixel art resize (preserves sharp edges):
python scripts/resize.py src.png dst.png 128 pixel
Smooth resize (for non-pixel assets):
python scripts/resize.py src.png dst.png 256 smooth
Batch resize all PNGs in a directory:
from pathlib import Path
from PIL import Image
for f in Path("src_dir").glob("*.png"):
img = Image.open(f).resize((128, 128), Image.NEAREST)
img.save(Path("dst_dir") / f.name)