ComfyUI_Isulion Random Prompt Generator
ComfyUI Nodes that generate prompts and many more.
Nodes (41)
A text box with wires
Shove any image URL straight into your workflow
Turn a pile of generations into a mood board, without the manual layout
The node that makes your scenes move
Five dropdowns to a habitable alien planet
Give your animal shots something to actually do
A 100-animal dropdown for when you can't decide what to draw
Roll a legendary sword for your fantasy shot
An art-style roulette for when you're stuck
Blur Out the Bit You Can't Post
Turn Civitai API text back into actual pixels
Search Civitai's model catalog without leaving your graph
Pull today's hottest Civitai images into your workflow
Stop typing 'ornate robes' by hand
A cuteness-focused animal picker
Give your character a feeling to wear
Time-travel your prompt, one era at a time
Pick your fantasy race without the lore dump
Where does your subject actually live? Picking habitats without the blank-page stare
Feed a whole folder into a workflow โ the Isulion directory loader explained
Fire, ice, or 'mystic circles' โ the lazy way to add magic to a fantasy prompt
The Isulion Mega Prompt V3, dissected
The Prompt Slot Machine That Re-Rolls on Every Queue
The Isulion Multiple Prompt Generator rolls a full batch
Dragon's lair or goblin market? Rolling the dice on where your fantasy scene happens
A negative prompt generator โ but know which models still listen to one
The QR-code stamping node (yes, that's what it's for)
Wizard, zookeeper, or software developer โ the job-roulette for character prompts
The one-word prompt enhancer โ set your expectations accordingly
A Dropdown for Every Prompt You Ever Saved
Save the Prompt You'll Want Again Next Week
Real, scannable QR codes generated locally โ no API, no key, no fuss
Composition as a dice roll
Yes, it really shuts down your PC โ read this before you wire it in
From 'stealth frigate' to 'living ship' โ rolling a whole spaceship, prefix and all
Yes, It's Space Invaders. Yes, It's Inside a Node.
The most honest 'style mixer' you'll ever use โ it joins two phrases
Quantum blades, gravity guns, and the other 58 sci-fi gadgets this node rolls
Golden Hour, Blue Hour, Witching Hour โ pick a mood by the clock
Full video prompts with camera moves, lighting, and 83 themes
Weather control for your prompts, minus the meteorology
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.
Installation
ComfyUI Manager (recommended): open the Custom Nodes Manager, search for Isulion and install.
Manual install:
cd your_ComfyUI_install_dir/custom_nodes
git clone https://github.com/Isulion/ComfyUI_Isulion
Restart ComfyUI, then refresh the browser page. The only extra Python dependency is requests (see requirements.txt); everything else comes with ComfyUI.
Interactive nodes
These two nodes draw their own interface inside the node (their frontend lives in web/).
๐น๏ธ Isulion Mega Prompt V4 โ "Prompt Jackpot"
A slot machine that writes your prompt. Five reels each draw one part of the prompt from the Isulion themes, and the node has a single output: prompt.
How to use it
- Add ๐น๏ธ Isulion Mega Prompt V4 (category
Isulion/Core) and connectpromptto your text encoder (e.g.CLIPTextEncode). - Pull the PULL lever to preview draws in the browser, without running the workflow.
- Queue the workflow: the machine spins again on every run, and the screen shows exactly the prompt that was sent.
| Control | What it does |
|---|---|
| Reels | THEME (โ โถ to browse, ๐ to search the 109 themes), SUBJECT, PLACE, STYLE, EFFECTS |
| ๐ Lock | A locked reel never moves, neither with the lever nor when the workflow runs. Picking a theme locks it; leave it unlocked for a random theme each time. |
| โ๏ธ Your own text | On SUBJECT and PLACE: your text stays on every draw and the theme rebuilds the wording around it. โ clears it. |
| ๐ / ๐ซ On / off | PLACE, STYLE and EFFECTS can be switched off: they turn grey and leave the prompt. |
| SIMPLE / DETAILED / COMPLEX | From no quality boilerplate, to a few detail words, to a richer block (composition, textures, lighting). |
| LoRA | Fixed text always added at the end, e.g. a trigger word or <lora:name:0.8>. |
| PROMPT screen | Each reel has its colour. Click a piece to re-draw only that reel. COPY copies the prompt; EDIT freezes a hand-written prompt, sent as-is on every run until you pull the lever again. |
| Last draws | The last 5 draws. Click one to load it back; โ keeps it as a favourite, on top of the list. The footer shows the draw counter and the seed. |
| ? | Built-in help in English or French; the language you choose is remembered. |
The machine state (theme, locks, your texts, complexity, LoRA) is saved with the workflow. Mega Prompt V3 is still available, unchanged, for existing workflows.
๐พ Isulion Space Invaders
A small Space Invaders game you play inside the node, for while the queue runs.
<p align="center"> <img src="assets/readme/space_invaders.png" alt="Space Invaders game running inside a ComfyUI node" width="380"> </p>- Click the game to give it focus, then Enter or Space to start (Enter to play again after a game over).
- โ โ or A D to move, Space to fire, P to pause. The game pauses when it loses focus and only reads the keyboard while it has focus, so ComfyUI shortcuts keep working.
- Outputs:
high_score(INT),last_score(INT) andsummary(STRING). Scores are saved with the workflow, so your best score can feed a seed or a prompt.
Prompt generators
๐ Isulion Mega Prompt V3
The classic generator: pick a theme and a complexity, and it builds a detailed prompt. Unlike V4, it also exposes each part on its own output (prompt, subject, environment, style, effects, seed).
Inputs
- Theme: one of the 109 themes, or ๐ฒ Dynamic Random
- Complexity: simple, detailed or complex
- Randomization: enable or disable random generation
- Custom subject / custom location: force your own subject or place, and let the theme describe the rest
- include environment / style / effects: leave any part out of the prompt
๐ Isulion Multiple Prompt Generator produces one prompt per theme in a single run: tick the themes you want (or use a selection mode) and it outputs a list of prompts with their theme names.
<details> <summary><b>All 109 themes, by category</b></summary>1. Art Styles & Techniques
- ๐จ Abstract
- ๐จ Concept Art
- ๐๏ธ Crayon Art
- ๐ผ๏ธ Digital Art
- ๐ฌ Experimental Art
- ๐ง Glassmorphism
- ๐จ Impressionist
- ๐ Inflatable World
- ๐งถ Knitted World
- ๐ง Liquid Chrome
- โฌ Minimalist
- ๐บ Clay Art
- โ๏ธ Papercraft
- ๐จ Watercolor
- ๐ชฉ Y2K Retro-Futurism
2. Animation & Entertainment
- ๐บ Animation Cartoon
- ๐ Anime
- ๐ฌ Cinema Studio
- ๐ Comic Book
- ๐ก Disney
- ๐ฌ Dreamworks
- ๐ฑ Giant Cat-zilla
- ๐ Ghibli
- ๐ฏ Logo
- ๐บ Manga Panel
- ๐ฆธ Marvel
- ๐ฌ Nolan Epic
- ๐พ 16-Bit Pixel Art
- ๐ซ Pixar
- ๐ School Manga
- ๐ญ Stop Motion
- ๐น๏ธ Voxel Low-Poly
3. Science Fiction & Fantasy
- ๐งฌ Bio-Organic Technology
- ๐ชผ Bioluminescent Jelly
- ๐ง๏ธ Cinematic Neon Rain
- ๐ Crystalpunk
- ๐ Cyber Hypebeast
- ๐ Cyberpunk
- โจ Enchanted Fantasy
- โ๏ธ Fantasy
- โ๏ธ Futuristic Battlefield
- ๐ Futuristic City
- ๐ Futuristic City Metropolis
- ๐ Futuristic Sci-Fi
- โ๏ธ Miura Dark Fantasy
- ๐ Psychedelic Cyber Fungus
- ๐ Sci-Fi
- ๐ Star Wars
- โ๏ธ Steampunk
- ๐ Underwater Civilization
- ๐ฉป X-Ray Anatomy
4. Character Art
- ๐ Caricature
- ๐ค Character Designer
- ๐ฆ Chimera Animals
- ๐ฐ Chimera Cute Animals
5. Architectural & Spaces
- ๐๏ธ Architectural
- ๐ Interior Spaces
- ๐๏ธ Urban Tag
- ๐ Village World
6. Dark & Horror
- ๐ป Halloween Ethereal
- ๐ป Horror
- โ๏ธ Miura Dark Fantasy
- ๐น VHS Found Footage
7. Holiday Themes
- ๐ฎ Chinese New Year
- ๐ Christmas
- ๐น Dia de los Muertos
- ๐ฐ Easter
- ๐ Halloween
- ๐ป Halloween Ethereal
- ๐ New Year's Eve
- ๐ St. Patrick's Day
- ๐ฆ Thanksgiving
- ๐ Valentine's Day
8. Nature & Environment
- ๐ Astrophotography
- ๐ฟ Nature
- ๐ฟ Overgrown Ruins
- ๐ Underwater Civilization
9. Photography & Fashion
- ๐ฌ Analog 35mm Film
- ๐ Curvy Fashion
- ๐ธ Essential Realistic
- ๐ฑ Fisheye Action Cam
- ๐ฑ Instagram
- ๐ฑ Instagram Lifestyle
- ๐ฑ Selfie
10. Food
- ๐ณ Culinary/Food
- ๐ Food Apocalypse
- ๐ฅ Street Food Kebab
11. Vintage & Historical
- ๐งบ 50s Commercial
- ๐ชฉ Disco Medieval
- ๐ฐ๏ธ Essential Vintage
- ๐๏ธ Historical Monuments
- ๐ด๏ธ Peaky Blinders
- ๐ Retro Vaporwave Mall
- ๐ด Vintage Anthropomorphic
- ๐ธ Vintage 1800s Photography
12. Surreal & Dreams
- ๐ผ๏ธ Binet Surreal
- ๐ Dimension 3D
- โจ Ethereal Dreams
- ๐ Glitch Core
- ๐๏ธ IKEA Backrooms
- ๐ฌ Microscopic
- ๐งฉ Puzzle Dimension
- ๐ฆ Rubber Duck Supremacy
- ๐ Spectral Mist
- ๐ฆ Unboxing Surrealism
13. Post-Apocalyptic
- ๐ช๏ธ Post Apocalyptic
14. Random
- ๐ฒ Dynamic Random
Bonus Themes
- ๐งธ Starter Pack
- ๐ Space Colony
- ๐๏ธ Tropical Paradise
- ๐ง Skinny Blonde Girl
- โ๏ธ Medieval
- ๐๏ธ Spartan 300
Want to add your own theme? See the Theme Creation Guide.
All nodes
| Category | Nodes | |---|---| | Interactive | ๐น๏ธ Isulion Mega Prompt V4 ยท ๐พ Isulion Space Invaders | | Prompt generators | ๐ Isulion Mega Prompt V3 ยท ๐ Isulion Multiple Prompt Generator ยท ๐ฅ Isulion Video Prompt Generator (camera angle, lighting, quality presets for video models) | | Animals | ๐ฆ Animal Selector ยท ๐ฐ Cute Animal Selector ยท ๐ฆ Animal Behavior Generator (actions and poses) | | Scene | ๐ณ Habitat Generator ยท ๐ค๏ธ Weather Generator ยท ๐ Time of Day Generator ยท ๐ผ๏ธ Art Style Generator ยท โก Action Generator ยท ๐ฌ Scene Composition (camera angles, shot types) | | Character | ๐จโ๐ผ Profession Generator ยท ๐งโโ๏ธ Fantasy Race Generator ยท ๐ Clothing Generator ยท โณ Epoch Generator (historical periods) | | Fantasy | โจ Magical Effect Generator ยท ๐ฐ Mythical Location Generator ยท โ๏ธ Artifact Generator (magical items) | | Sci-Fi | ๐ค Tech Generator ยท ๐ฝ Alien World Generator ยท ๐ธ Spacecraft Generator | | Enhancement | ๐ Emotion Generator ยท ๐จ Style Mixer (blend several art styles) ยท ๐ซ Prompt Enhancer (details, mood, composition, lighting, colour) ยท โ Negative Prompt Generator (adjustable strictness) | | Image | ๐ผ๏ธ Image Collage ยท ๐ Load Images from Directory ยท ๐ Censored Part ยท โง IsulionOverlay (overlays and watermarks) ยท ๐งฉ QRCode Generator ยท ๐ผ๏ธ Display Image From URL | | Utilities | ๐ Custom Text Node ยท ๐พ Prompt Vault Save ยท ๐๏ธ Prompt Vault Load ยท ๐ค Isulion Shutdown | | Civitai | ๐ Civitai Model Explorer ยท ๐ฅ Civitai Trending ยท ๐ผ๏ธ Civitai Image Display |
In the node search, the full names start with "Isulion" (e.g. Isulion Weather Generator), except ๐ Custom Text Node.
Notes on some nodes
- ๐ Load Images from Directory loads every image of a folder as a batch. Folders are resolved strictly inside ComfyUI's
inputdirectory; absolute paths outside it are rejected. - ๐ผ๏ธ Image Collage builds a collage from several input images, for collections or mood boards.
- ๐ Censored Part censors part of an image with blur, pixelate, pixelate + blur, black bar or noise. Pick the area with a painted mask (MaskEditor) or the built-in rectangle widgets; supports mask grow/shrink, invert and edge feathering, and outputs the censor mask for inpainting.
- ๐ผ๏ธ Display Image From URL downloads an image and shows it in the queue. URL download nodes only accept http(s) and refuse private or internal network addresses.
- ๐ค Isulion Shutdown shuts ComfyUI down when a workflow finishes. It does nothing unless the environment variable
ISULION_ENABLE_SHUTDOWN=1is set. - ๐ Civitai Explorer / ๐ฅ Civitai Trending authenticate with the
CIVITAI_API_TOKENenvironment variable; there is no API key widget, so tokens never end up in shared workflow files.
๐๏ธ Prompt Vault
A shared library of named prompt fragments, stored in ComfyUI's user directory (ComfyUI/user/isulion/prompt_vault.json) so your entries survive node updates. Until your first save, the example entries from Core_Nodes/prompt_vault.example.json are offered.
- ๐พ Isulion Prompt Vault Save stores the
textwidget (typed, or connected from any STRING node such as Mega Prompt) undername, and passes the text through unchanged so it can go straight on to your encoder. Saving an existing name updates it. - ๐๏ธ Isulion Prompt Vault Load picks a stored entry from a dropdown and outputs its text.
The vault path can be changed with the ISULION_PROMPT_VAULT environment variable. A missing or corrupt vault file gives an empty vault instead of breaking the queue.
Note: the load node's dropdown is filled at page load, so newly saved entries appear after a browser refresh (Ctrl+Shift+R). Meanwhile you can type any entry name in the widget: it accepts free text, and the load node re-runs whenever the vault file changes.
Example workflows
Drag a file from example_workflows/ onto the ComfyUI canvas:
| Workflow | Contents |
|---|---|
| Simple_Megaprompt_V4.workflow.json | Mega Prompt V4 and Space Invaders. No other node pack needed. |
| Simple_Megaprompt_V3.workflow.json | Mega Prompt V3 and a text display. |
| Full_Flux_Megaprompt_v3.workflow.json | Mega Prompt V3 driving a full FLUX (GGUF) text-to-image pipeline. |
| Multiple Mega Prompt.json | Multiple Prompt Generator: one prompt per selected theme. |
| Isulion_Civitai_Nodes_Workflow.json | Civitai Trending and Civitai Image Display (set CIVITAI_API_TOKEN). |
| All_Isulion_Nodes_Workflow.json | A tour of most nodes of the pack. |
Except for the V4 one, these workflows use ShowText|pysssss from ComfyUI-Custom-Scripts to display text. Install that pack, or replace those nodes with any text-display node. The FLUX workflow also needs the GGUF loader nodes and the FLUX models it references.
Older FLUX examples
More workflows and examples on Civitai
Basic MegaPrompt (old) workflow
Chimera (with Ollama) (old) workflow
MegaPrompt + Ollama + LoRA (old) workflow
The Ollama workflows need the Ollama_generator node in ComfyUI, with the environment variables OLLAMA_KEEP_ALIVE=0 and OLLAMA_ORIGINS=*.
Directory structure
ComfyUI_Isulion/
โโโ __init__.py # node registration, version, WEB_DIRECTORY
โโโ Core_Nodes/
โ โโโ mega_prompt_V3.py # Mega Prompt V3
โ โโโ mega_prompt_v4.py # Mega Prompt V4 (machine state, roll, prompt assembly)
โ โโโ mega_prompt_v4_routes.py # /isulion/megaprompt_v4/* HTTP routes used by the lever
โ โโโ mega_prompt_all_themes.py # Multiple Prompt Generator
โ โโโ space_invaders_node.py
โ โโโ theme_handlers/ # one handler per theme
โ โโโ configs/ # theme word lists (JSON) and config manager
โ โโโ animals_nodes/ character_nodes/ scene_nodes/
โ โโโ fantasy_nodes/ scifi_nodes/ enhancement_nodes/
โ โโโ civitai_nodes/
โ โโโ โฆ # image and utility nodes (collage, load images, QR code, vaultโฆ)
โโโ web/ # frontend of the interactive nodes
โ โโโ mega_prompt_v4.js # slot machine widget
โ โโโ mega_prompt_v4_core.js # pure helpers and EN/FR texts
โ โโโ space_invaders.js
โโโ example_workflows/
โโโ Docs/ # Theme Creation Guide
โโโ assets/readme/ # README images
โโโ tests/ # Python tests, tests/js for the V4 widget
Development
python3 tests/run_all.py
Runs the whole suite without pytest (it works with pytest too). It also runs the JavaScript tests of the V4 widget, node tests/js/test_mega_prompt_v4.mjs (skipped when Node.js is not installed).
See CHANGELOG.md for the release history and breaking changes.