Welcome to Pixflux AI Batch Generation! This guide will walk you through installation, setup, and generating your first pixel art images.
- Prerequisites
- Installation
- Project Setup
- Starting the Application
- First Image
- Understanding the Interface
- Next Steps
- Node.js (v16 or higher)
- npm or yarn package manager
- Git (for cloning the repository)
- Modern web browser (Chrome, Firefox, Safari, Edge)
- Visit pixellab.ai
- Create an account
- Navigate to your dashboard
- Copy your API secret key
git clone https://github.com/yourusername/pixflux-batch-generation.git
cd pixflux-batch-generation# In the root directory
npm install# Create backend directory
mkdir backend
cd backend
# Create package.json
npm init -y
# Install backend dependencies
npm install express cors
# Copy server.js from docs
cp ../docs/examples/server.js .pixflux-batch-generation/
├── backend/
│ ├── server.js
│ ├── package.json
│ └── wildcards/ # Created automatically
├── src/
│ ├── App.jsx
│ ├── main.jsx
│ └── index.css
├── docs/
├── package.json
└── vite.config.js
No .env file needed! The API key is entered directly in the UI for security.
# Terminal 1: In the backend directory
cd backend
npm start
# You should see:
# Wildcard server running on http://localhost:3001
# Wildcards stored in: /path/to/backend/wildcards# Terminal 2: In the root directory
npm run dev
# You should see:
# VITE ready in X ms
# ➜ Local: http://localhost:5173/Navigate to http://localhost:5173 in your web browser.
- Paste your PixelLab API secret in the first field
- The key is stored only in your browser session
![API Key Field]
Try something simple first:
a cute pixel art cat
For your first image, use these defaults:
- Size: 64x64
- Outline: single color black outline
- Shading: basic shading
- Detail: medium detail
Click the "Generate 1 Image" button and watch your pixel art appear!
- Description: Your prompt/template
- Negative Description: What to avoid
- Size: Image dimensions (presets available)
- Outline: Border style for sprites
- Shading: Lighting complexity
- Detail Level: Overall detail amount
- Guidance Scale: How closely to follow prompt (1-20)
- No Background: Transparent background (size limited)
- Seed: For reproducible results
- Active Wildcards: Auto-append to all prompts
- Manual Placement: Use
__wildcard__in prompts - Server Status: Shows if wildcards are file-based
- Batch Size: 1-100 images
- Delay: Time between requests (rate limiting)
- Visual Status: See progress in real-time
Look for the status indicator in the Wildcard Manager:
- 🟢 Green: Server connected, wildcards saved as files
- 🟡 Yellow: Using localStorage fallback
a {happy|sad|angry} pixel art {cat|dog|bird}
This can generate 9 different combinations!
- Move the batch slider to 9
- Set delay to 2 seconds (safe for free tier)
Click "Generate 9 Images" and watch the queue process each variation.
- Use arrow keys to navigate images
- Check "Dynamic Selections" to see what was chosen
- Download favorites with embedded metadata
The system comes with 6 pre-installed wildcards:
- artists: Famous artist styles
- styles: Art movements
- moods: Emotional qualities
- lighting: Lighting conditions
- colors: Color schemes
- quality: Quality descriptors
- Auto-Append: Check wildcards to add to all prompts
- Manual Placement: Type
__styles__in your prompt - Click to Add: Click wildcard names to insert
Prompt: "a dragon"
Active: styles, moods, lighting
Result: "a dragon, anime style, mysterious, dramatic lighting"
- Make sure backend is running on port 3001
- Check backend terminal for errors
- Try "Reload from Server" button
- Increase delay between requests
- Use smaller batch sizes
- Wait a few minutes before retrying
- Verify API key is correct
- Check browser console for errors
- Ensure proper internet connection
- Check if port 3001 is in use
- Verify Node.js is installed
- Check backend dependencies installed
- Create custom wildcard collections
- Experiment with combinations
- Study successful selections
- Learn variation syntax:
{option1|option2} - Combine with wildcards for variety
- Use batch generation to test
- Download and re-upload images
- See complete generation history
- Share techniques with metadata
- Find ideal batch sizes
- Tune delays for your tier
- Build prompt templates
- Arrow Keys: Navigate images
- Click Wildcards: Add to prompt
- Drag & Drop: Read metadata
{a|b|c}: Random choice__wildcard__: Use wildcard- Active wildcards: Auto-append
- Free Tier: 3-5 second delay
- First Tests: 5-10 image batches
- Size: Start with 64x64
Ready to create amazing pixel art? Head to Creating Wildcards to build your own collections!