221 lines
6.3 KiB
Markdown
221 lines
6.3 KiB
Markdown
# Mega Prompt Generator Node
|
|
|
|
The Mega Prompt Generator is a sophisticated ComfyUI node that generates detailed, thematic prompts for image generation. It supports multiple themes and styles with extensive customization options.
|
|
|
|

|
|
[Source](https://civitai.com/user/Isulion/images?sort=Newest)
|
|
|
|
## Installation
|
|
|
|
### Quick Start
|
|
|
|
Use [ComfyUI Manager](https://github.com/ltdrdata/ComfyUI-Manager), got to "<span style="color: #00ff00">Custome Nodes Manager</span>" and search "<span style="color: #00ff00">Isulion</span>" !
|
|
|
|
### Old install
|
|
|
|
```bash
|
|
cd "your_ComfyUI_install_dir"
|
|
cd custom_nodes
|
|
git clone https://github.com/Isulion/ComfyUI_Isulion
|
|
```
|
|
|
|
--------------
|
|
|
|
## Available Nodes
|
|
|
|
## 🎯 Mega Prompt Generator 🎯
|
|
|
|
### Theme Categories
|
|
|
|
Here's a categorized overview of all available themes:
|
|
|
|
#### 1. Art Styles & Techniques
|
|
- 🎨 Abstract
|
|
- 🎨 Concept Art
|
|
- 🖍️ Crayon Art
|
|
- 💻 Digital Art
|
|
- 🎨 Watercolor
|
|
- 🏺 Clay Art
|
|
- ⬜ Minimalist
|
|
- 🎨 Impressionist
|
|
|
|
#### 2. Animation & Entertainment
|
|
- 📺 Animation Cartoon
|
|
- 🎌 Anime
|
|
- 🎬 Dreamworks
|
|
- 🎡 Disney
|
|
- 🍃 Ghibli
|
|
- 💫 Pixar
|
|
- 🎭 Stop Motion
|
|
- 📚 Manga Panel
|
|
- 📚 School Manga
|
|
- 🦸 Marvel
|
|
|
|
|
|
#### 3. Science Fiction & Fantasy
|
|
- 💎 Crystalpunk
|
|
- 🌆 Cyberpunk
|
|
- 🚀 Futuristic Sci-Fi
|
|
- 🌃 Futuristic City
|
|
- ⚔️ Futuristic Battlefield
|
|
- 🌆 Futuristic City Metropolis
|
|
- 🚀 Sci-Fi
|
|
- 🚀 Star Wars
|
|
- ⚙️ Steampunk
|
|
- 🧬 Bio-Organic Technology
|
|
- ⚔️ Fantasy
|
|
- ✨ Enchanted Fantasy
|
|
- 🌊 Underwater Civilization
|
|
|
|
#### 4. Character & Creature Design
|
|
- 👤 Character Designer
|
|
- 😄 Caricature
|
|
- 🦄 Chimera Animals
|
|
- 🐰 Chimera Cute Animals
|
|
- 👗 Curvy Fashion
|
|
|
|
#### 5. Environment & Architecture
|
|
- 🏛️ Architectural
|
|
- 🏠 Interior Spaces
|
|
- 🏙️ Urban Tag
|
|
- 🏠 Village World
|
|
|
|
#### 6. Special Themes & Occasions
|
|
- 🎄 Christmas
|
|
- 🎃 Halloween
|
|
- 👻 Halloween Ethereal
|
|
- 👻 Horror
|
|
- 🐰 Easter
|
|
- 💘 Valentine's Day
|
|
- 🎆 New Year's Eve
|
|
- 🦃 Thanksgiving
|
|
- 🍀 St. Patrick's Day
|
|
- 👹 Dia de los Muertos
|
|
- 🏮 Chinese New Year
|
|
|
|
#### 7. Experimental & Unique
|
|
- 🖼️ Binet Surreal
|
|
- 💫 Ethereal Dreams
|
|
- 🔬 Experimental Art
|
|
- 🧩 Puzzle Dimension
|
|
- 💠 Dimension 3D
|
|
- 🔬 Microscopic
|
|
- 🌪️ Post Apocalyptic
|
|
|
|
#### 8. Photography & Social Media
|
|
- 📸 Essential Realistic
|
|
- 📱 Instagram
|
|
- 📱 Instagram Lifestyle
|
|
- 📱 Selfie
|
|
|
|
#### 9. Vintage & Historical
|
|
- 🕰️ Essential Vintage
|
|
- 👴 Vintage Anthropomorphic
|
|
- 🕴️♂️ Peaky Blinders
|
|
|
|
#### 10. Food & Lifestyle
|
|
- 🍳 Culinary/Food
|
|
- 🥙 Street Food Kebab
|
|
|
|
#### 11. Media & Design
|
|
- 📚 Comic Book
|
|
- 🎬 Cinema Studio
|
|
- 🎯 Logo
|
|
|
|
#### 12. Random
|
|
- 🎲 Dynamic Random
|
|
|
|
### Input Parameters
|
|
|
|
- **Theme**: Select from 40+ themed generators
|
|
- **Complexity**: Choose between simple, detailed, or complex outputs
|
|
- **Randomization**: Enable/disable random generation
|
|
- **Custom Inputs**:
|
|
- 
|
|
- Custom Subject: Define specific subjects
|
|
- Custom Location: Specify scene locations
|
|
|
|
## 🖼️ Load Images Node
|
|
|
|
The Load Images node allows you to load multiple images from a specified directory, making it easy to work with batches of images in your workflow.
|
|
|
|
## 🎭 Image Collage Node
|
|
|
|
The Image Collage node enables you to create visually appealing collages from multiple input images, perfect for showcasing collections or creating mood boards.
|
|
|
|
## Specific Nodes
|
|
|
|
- 🦊 Animal Behavior - Animal actions and poses
|
|
- 🦁 Animal - General animal selection
|
|
- 🐱 Cute Animal - Cute and baby animal selection
|
|
- 👔 Clothing Style - Outfit and fashion descriptions
|
|
- 👨🍳 Character Profession - Occupations and roles
|
|
- 🧝♂️ Fantasy Race - Fantasy species and races
|
|
- ⚔️ Action - Dynamic poses and activities
|
|
- 🎥 Scene Composition - Camera angles and shot types
|
|
- 🌲 Habitat - Natural environments and landscapes
|
|
- 🌅 Time of Day - Time and lighting conditions
|
|
- ⛅ Weather - Weather conditions
|
|
- 🖌️ Art Style - Artistic styles and techniques
|
|
- 😊 Emotion - Emotional characteristics
|
|
- 🏰 Artifact - Magical items and artifacts
|
|
- 🌟 Magical Effect - Spell effects and magical phenomena
|
|
- 🏰 Mythical Location - Fantasy environments
|
|
- 🪐 Alien World - Exotic planet environments
|
|
- 🛸 Spacecraft - Space vehicle descriptions
|
|
- 🤖 Tech - Futuristic technology descriptions
|
|
|
|
### 🔧 Enhancement Nodes
|
|
|
|
- 📝 Prompt Enhancer - More details, mood, composition, lighting, or color enhancements
|
|
- ⛔ Negative Prompt - Creates matching negative prompts with adjustable strictness
|
|
- 🎨 Style Mixer - Combines multiple art styles with adjustable blend modes
|
|
|
|
--------------
|
|
|
|
## Directory Structure
|
|
|
|
```
|
|
ComfyUI_Isulion/
|
|
├── Core_Nodes/ # Core functionality nodes
|
|
├── animals_nodes/ # Animal-related node implementations
|
|
├── character_nodes/ # Character generation nodes
|
|
├── configs/ # Configuration files
|
|
├── enhancement_nodes/ # Enhancement and improvement nodes
|
|
├── fantasy_nodes/ # Fantasy-themed node implementations
|
|
├── scene_nodes/ # Scene generation nodes
|
|
├── scifi_nodes/ # Science fiction themed nodes
|
|
├── theme_handlers/ # Theme-specific handling logic
|
|
├── isucollage_node.py # Collage generation functionality
|
|
├── load_images_node.py # Image loading utilities
|
|
└── mega_prompt_V3.py # Latest version of Mega Prompt generator
|
|
```
|
|
|
|
--------------
|
|
|
|
## FLUX Worflow (old) Examples
|
|
|
|
[More Workflows and Examples](https://civitai.com/articles/8673/discover-the-mega-prompt-generator-for-comfyui)
|
|
|
|
### Basic MegaPrompt (old) Workflow
|
|
|
|

|
|
|
|
### Chimera (with Ollama) (old) Workflow
|
|
|
|

|
|
|
|
### MegaPrompt + Ollama + LoRa (old) Workflow
|
|
|
|

|
|
[LoRa used for this](https://civitai.com/models/673513/will-smith-flux-dev-lora)
|
|
|
|
## 🦙 Ollama Requirements
|
|
|
|
- Ollama_generator node installed in ComfyUI
|
|
|
|
### Environment Variables
|
|
|
|
- OLLAMA_KEEP_ALIVE: 0
|
|
- OLLAMA_ORIGINS: *
|