Nodes/ComfyUI-Desert-Pixel-Nodes/DP Random Crazy Prompt Generator
ComfyUI Node

DP Random Crazy Prompt Generator

A slot machine for weird prompts

By DesertPixelAi·Created 2 years ago·Updated about a year ago· 25
DP Random Crazy Prompt Generator
    • prompt
    style_craziness1
    generation_moderandomize

    Sometimes you don't have an idea, you just want to generate. This node is a slot machine: pull the lever and it hands you a wild, unpredictable prompt string ready to drop into your text encoder. It's a cure for blank-canvas paralysis and a fun way to stress-test a new checkpoint against inputs you'd never have written yourself.

    It lives in DesertPixelAi's Desert Pixel pack, in the little family of "random generator" nodes the pack ships. None of these are precision instruments - they're idea fountains - and this is the most freewheeling of the bunch.

    How it works

    Under the hood it stitches a prompt together from internal word lists, and the whole thing is controlled by exactly two knobs, which is refreshing.

    • style_craziness (1–5) - how far out there the result goes. At 1 you get something coherent and buildable; crank it to 5 and it starts throwing genuinely surreal combinations at the wall.
    • generation_mode - randomize re-rolls a fresh prompt every time you queue, so each run is a new surprise. fixed locks the current one in place, which matters more than it sounds: it's how you stop the prompt from changing while you tune everything else (seed, sampler, LoRA strength) against one idea.

    The single output, prompt (STRING), goes straight into a CLIP Text Encode. That's the whole node.

    The inputs and outputs that matter

    There are only two inputs and both matter, so there's no "the few that count" - it's all of them. Set style_craziness for how unhinged you want it, and use generation_mode to decide whether you're exploring (randomize) or refining (fixed).

    The workflow that actually works: run in randomize until something intriguing scrolls past, flip to fixed to freeze it, then iterate on your generation settings. Treat it as a brainstorming partner, not a finished-prompt machine - the output is raw material you'll usually trim.

    How to install it

    ComfyUI Manager is the easy route: search Desert Pixel, install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes
    

    Restart ComfyUI. No model downloads - the word lists ship with the pack. It appears under the DP category.

    Common issues & troubleshooting

    It won't stop changing. That's randomize doing its job - every queue re-rolls. Switch generation_mode to fixed once you've found a prompt worth keeping, or you'll never be able to A/B anything.

    The output is chaos and the images are a mess. That's the node's personality, not a bug - especially at craziness 4–5. Dial it down toward 1–2 for prompts your checkpoint can actually render, and remember the output is a starting point to edit, not gospel.

    It doesn't understand a subject or style you want. It can't - there's no input for your own text here. This is a pure generator. If you want to style your own prompt instead of rolling a random one, that's a different node in the pack (DP Prompt Styler); if you want to mix your idea with randomness, feed this node's output into another text node downstream.

    CategoryDP/text

    Inputs (2)

    NameTypeDefaultDescription
    style_crazinessINT11–5
    generation_modeCOMBOrandomize2 options: fixed, randomize

    Outputs (1)

    NameTypeDescription
    promptSTRING