ComfyUI Extension: ComfyUI-Simple-Prompt-Batcher
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
A simple and efficient ComfyUI custom node that allows batch processing of multiple prompts in a single queue with automatic model loading optimization.
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI Simple Prompt Batcher
A simple and efficient ComfyUI custom node that allows you to batch process multiple prompts in a single queue. Perfect for testing variations, exploring different ideas, or running systematic prompt experiments.
π Features
- β Simple text input - One prompt per line, no complex syntax
- β Automatic batching - All prompts run in a single queue
- β Optimized performance - Models stay loaded between inferences
- β Unlimited prompts - Add as many lines as you need
- β Clean console output - Shows prompt count and preview
- β No empty lines - Automatically filters blank entries
π Installation
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "Simple Prompt Batcher"
- Click Install
- Restart ComfyUI
Method 2: Manual Installation
-
Navigate to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/ -
Clone this repository:
git clone https://github.com/ai-joe-git/ComfyUI-Simple-Prompt-Batcher.git -
Restart ComfyUI
-
The node will appear as "π Simple Prompt Batcher" in the node menu under
utils/text
π‘ Usage
Basic Workflow
-
Add the node to your workflow
- Search for "Simple Prompt Batcher" or "π Simple Prompt Batcher"
- Add it to your canvas
-
Enter your prompts in the text area (one per line):
a beautiful sunset over mountains a cat sleeping on a couch a futuristic city at night a serene forest landscape -
Connect the output to CLIPTextEncode (or any text input node)
[Simple Prompt Batcher] β [CLIPTextEncode] β [Your Workflow] -
Queue the prompt ONCE - ComfyUI will automatically run all prompts in sequence
Example Workflow Structure
π Simple Prompt Batcher
β (prompt output)
CLIPTextEncode (Positive)
β
KSampler
β
VAE Decode
β
Save Image
π Performance Benefits
Without Batching
- Load models (30s) β Generate (25s) β Unload
- Repeat for each prompt
- 8 prompts = ~7 minutes 20 seconds
With Simple Prompt Batcher
- Load models once (30s) β Generate all 8 (8 Γ 25s)
- Models stay loaded between generations
- 8 prompts = ~3 minutes 50 seconds
Result: ~50% time savings on batch processing! π―
π¨ Use Cases
Camera Angle Testing (Video Generation)
Turn the camera to a close-up
Turn the camera to a wide-angle lens
Rotate the camera 45 degrees to the right
Turn the camera to an aerial view
Turn the camera to a low-angle view
Style Variations (Image Generation)
a red sports car in photorealistic style
a red sports car in anime style
a red sports car in watercolor painting style
a red sports car in cyberpunk style
Scene Exploration
a forest in spring with blooming flowers
a forest in summer with lush green leaves
a forest in autumn with golden foliage
a forest in winter with snow-covered trees
Systematic Testing
quality: high, lighting: soft, mood: peaceful
quality: high, lighting: dramatic, mood: intense
quality: high, lighting: natural, mood: casual
quality: high, lighting: studio, mood: professional
π Console Output
When you run the batcher, you'll see helpful output in your console:
[Prompt Batcher] π Batching 5 prompts:
[Prompt Batcher] 1. a beautiful sunset over mountains
[Prompt Batcher] 2. a cat sleeping on a couch
[Prompt Batcher] 3. a futuristic city at night
[Prompt Batcher] 4. a cyberpunk street scene
[Prompt Batcher] 5. a serene forest landscape
βοΈ Technical Details
- Output Type:
STRING(batch list) - Category:
utils/text - Compatibility: Works with any node that accepts text input
- Memory: Efficient - models remain loaded during batch processing
- Format: One prompt per line, empty lines automatically filtered
π§ Requirements
- ComfyUI (latest version recommended)
- No additional dependencies required
π Tips
- No empty lines needed - The node automatically filters them out
- Long prompts supported - No character limit per line
- Preview in console - First 60 characters of each prompt shown
- Compatible with all samplers - Works with any generation workflow
- Combine with other nodes - Use with wildcards, style mixers, etc.
π€ Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Share your use cases
π License
MIT License - Feel free to use in your projects!
π Credits
Created for the ComfyUI community to make batch prompt processing simple and efficient.
π Links
Made with β€οΈ for the ComfyUI community
If you find this node useful, please star the repository! β
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.