Skip to content

A way to access the pixflux API without having to code anything. Inspired by A1111 but written in React+Vite because all my homies hate Gradio.

License

Notifications You must be signed in to change notification settings

Kquant03/pixflux-batch-generation

Repository files navigation

🎨 Pixflux Batch Generation

Saber

Generate hundreds of unique pixel art variations with complete transparency about what was created

Version License Awesome

⚑ Quick Start

# Clone this beauty
git clone <repo-url>
cd pixellab-batch-generator

# Install frontend
npm install

# Start backend (in new terminal)
cd backend
npm install
npm start

# Start frontend (in original terminal)
npm run dev

That's it! Visit http://localhost:5173 and start creating magic ✨


πŸš€ Why This Tool Will Change Your Pixel Art Game

🎲 Dynamic Wildcard System That Actually Makes Sense

Wildcard System Wildcard Editor

Forget copy-pasting prompts. Create reusable collections that work like magic:

Your prompt: "a __mood__ __creature__ with __colors__"
What happens: "a mysterious dragon with neon colors"
  • File-based storage - Your wildcards are actual .txt files you can share
  • Click-to-add - Just click any wildcard name to insert it
  • Auto-append magic - Active wildcards automatically enhance every prompt
  • See what was chosen - Complete transparency about selections

πŸ”€ Variation Syntax That Multiplies Your Creativity

Dynamic Prompting

One prompt, infinite possibilities:

"a {young|adult|ancient} {fire|ice|shadow} dragon"

This generates 9 unique combinations from a single line. Combine with wildcards? Now we're talking thousands of variations!

πŸ“¦ Batch Queue That Respects Your Time (and API Limits)

Batch Queue System

Generate 1 to 100 images with:

  • Visual progress tracking - See exactly what's happening
  • Smart rate limiting - Never hit 429 errors again
  • Pause/resume anytime - Full control over your generation
  • Individual failure handling - One fail doesn't stop the show

🏷️ Metadata System That Preserves Everything

Metadata System

Every PNG contains its complete generation history:

  • Original prompt template
  • Final processed prompt
  • Every wildcard selection made
  • All generation settings
  • Timestamp and seed

Drag and drop any image back to see exactly how it was made!

πŸ‘οΈ Complete Selection Transparency

Know exactly what happened in every generation:

🎲 __styles__ β†’ anime style
πŸ”€ {cute|scary} β†’ cute
🎲 __quality__ β†’ masterpiece (auto-appended)

No more guessing why an image turned out great!

🎯 Smart UI That Gets Out of Your Way

  • Collapsible sections - See only what you need
  • Server status indicator - Know where your wildcards live
  • Keyboard navigation - Arrow keys in gallery
  • One-click downloads - Single images or entire batches as ZIP

πŸ’Ύ Persistent Storage That Survives Everything

  • Port changes? No problem - Wildcards live on the server
  • Browser crash? All good - Everything's in files
  • Want to share? Easy - ZIP your wildcards folder
  • Version control? Sure - It's just text files

🎨 Real-World Magic This Enables

For Game Developers

Generate complete sprite sheets with variations:

  • 100 character portraits with different moods
  • 50 item icons with rarity variations
  • 20 environment tiles with weather effects

For Artists

Explore styles systematically:

  • Test your subject with 20 different art styles
  • Generate mood boards with consistent themes
  • Find unexpected combinations that spark joy

For Content Creators

Build asset libraries at scale:

  • Create themed collections in minutes
  • Generate variations for A/B testing
  • Build consistent visual languages

πŸ”₯ Features That Make This Special

The Wildcard Manager

  • Pre-loaded with 120 curated options across 6 categories
  • Create unlimited custom wildcards
  • Edit wildcards in-app or directly as text files
  • See exactly which wildcards are active with visual badges

The Batch Generator

  • Real-time status with beautiful animations
  • Graceful error handling with clear messages
  • Memory-efficient processing
  • Export everything with embedded metadata

The Image Viewer

  • Gallery with smooth navigation
  • Progress bar showing your position
  • Copy prompts with one click
  • See all generation details at a glance

The Metadata Reader

  • Drag & drop any generated image
  • Extract complete generation data
  • See all dynamic selections made
  • Perfect for learning what worked

πŸ› οΈ Technical Goodies

  • React + Vite - Lightning fast development
  • Tailwind CSS - Beautiful dark theme out of the box
  • Express Backend - Simple, reliable file management
  • No database needed - Everything is files
  • Standard PNG metadata - Compatible with other tools
  • Clean, documented code - Easy to understand and modify

πŸ“š What's in the Box?

β”œβ”€β”€ 🎨 6 default wildcards with 20 options each
β”œβ”€β”€ πŸ”„ Dynamic prompt processor with variation support
β”œβ”€β”€ πŸ“¦ Batch queue with visual feedback
β”œβ”€β”€ 🏷️ Complete metadata preservation
β”œβ”€β”€ πŸ“ File-based wildcard storage
β”œβ”€β”€ 🎯 Selection transparency
β”œβ”€β”€ ⚑ Smart rate limit handling
└── πŸ’œ A tool built with love for pixel artists

🌟 Why We Built This

Traditional AI image generators are black boxes. You put in a prompt, you get an image, but you don't know:

  • Which wildcard options were selected
  • What random variations were chosen
  • Why some images are better than others

This tool changes that. Every image comes with a complete record of its creation, making it a learning tool as much as a generation tool.

πŸš€ Coming Soon

  • More settings
  • Full dimensional capabilities of pixflux
  • Better UX for image viewer
  • More...? (not sure what else to do here...yet!)

πŸ’ Built With Love

This tool was crafted with care for the pixel art community. Every feature was designed to give you more control, more transparency, and more creative possibilities.

Special thanks to the PixelLab AI team for their amazing API!


πŸ“– Documentation

For detailed guides, visit the /docs folder:

🀝 Contributing

We love contributions! Check out CONTRIBUTING.md to get started.

πŸ“„ License

MIT License - Use this tool to create amazing things!


Made with πŸ’œ by pixel art enthusiasts, for pixel art enthusiasts

Stop wondering what happened. Start knowing.

About

A way to access the pixflux API without having to code anything. Inspired by A1111 but written in React+Vite because all my homies hate Gradio.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages