Nodes/ComfyUI-RvTools_v2/Random Prompt (All)
ComfyUI Node

Random Prompt (All)

A Random Prompt Generator That Creates Its Own Wildcard Library

By r-vage·Created about a year ago·Updated 5 months ago· 23
Random Prompt (All)
    • prompt
    AdelAi_Filmsdisabled
    AdelAi_FXdisabled
    AdelAi_Camerasdisabled
    Mandisabled
    AdelAi_Lightingdisabled
    Animalsdisabled
    Fictional_Characterdisabled
    Humanoidsdisabled
    Shotstyledisabled
    Camerasdisabled
    Vehiclesdisabled
    AdelAi_Stylesdisabled
    Artistsdisabled
    Lightingdisabled
    Artists_Specialdisabled
    Locationsdisabled
    Womandisabled
    Angle_of_Viewdisabled
    AdelAi_Artistsdisabled
    seed0

    You know the drill: you're out of ideas, so you load up a wildcard pack and let randomness throw a prompt at the wall. Random Prompt (All) is a different take on the same idea - instead of parsing __tag__ syntax inside your prompt text, it's a dropdown menu where each category has a disabled/random/specific-choice toggle, and it builds the prompt for you. And here's the twist: on its first run it generates its own wildcard library inside your ComfyUI install.

    How it works

    The node is based on code from "jice" (credited right in the source), and it maintains a folder of plain-text wildcard files at ComfyUI/models/wildcards/RvTools_v2/all/. On first use, if that folder doesn't exist, the node creates it and writes out a set of .txt files covering roughly twenty categories - Woman, Man, Fictional Character, Humanoids, Animals, Vehicles, Shotstyle, Angle of View, Locations, Artists, Cameras, Lighting, and a big AdelAi block (Artists, Styles, FX, Lighting, Cameras, Films). Each dropdown in the UI maps to one of those files, and the node picks a random line from every category you enable, then joins them into the output prompt string.

    The inputs are all the same shape: disabled (skip it), a 🎲random marker, or a specific choice from that file's lines - e.g. AdelAi_Films offers agfa apx 400, cinestill 800t, kodak ultra max 800 and the rest. The one numeric input is seed (optional, default 0), which lets you reproduce a given random roll.

    The single prompt output is a STRING you feed to a CLIP Text Encode. Because the data lives in models/wildcards, you can edit those .txt files yourself and the dropdowns will pick up your additions on the next load - that's the part that makes it a genuine library rather than a one-shot gimmick.

    Where it shines

    This is a great "break the block" node for tag-based models (SDXL, Illustrious, Pony) and for cinematic/photo styles specifically - the AdelAi categories carry real film stock and camera names that read well in a prompt. Pair it with a fixed seed when you land on a prompt you like, so you can rebuild it exactly. It's also handy for batch testing: set a couple of categories to random, leave the rest fixed, and generate variations.

    Installing it

    It ships in ComfyUI-RvTools_v2 - Manager → search "ComfyUI-RvTools_v2", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/r-vage/ComfyUI-RvTools_v2
    # restart ComfyUI
    

    No downloads needed; the wildcard files are generated on first run. If you ever want the originals back after editing, delete the RvTools_v2/all folder and the node recreates it.

    Gotchas

    Because the files are generated into your models folder, a clean reinstall of the pack won't restore edits you made - back up any custom .txt files you care about. And since this is a [RvTools]-suffixed node from an unmaintained pack (README points to ComfyUI_Eclipse as the successor), shared workflows referencing the old naming can confuse Manager's auto-install. If a downloaded workflow says "Random Prompt by jice" is missing, that's usually the old-repo name; the [RvTools] version is the one you're looking at.

    Category🫦 RvTools II/ Text

    Inputs (20)

    NameTypeDefaultDescription
    AdelAi_FilmsCOMBOdisabled20 options: disabled, 🎲random, agfa apx 400 , agfa vista , agfacolor pro 200 , cinestill 800t , +14
    AdelAi_FXCOMBOdisabled35 options: disabled, 🎲random, anaglyph 3d photography , bloom effect , bokeh effect , chromatic aberration , +29
    AdelAi_CamerasCOMBOdisabled31 options: disabled, 🎲random, aaton ltr cinema , arri alexa 65 cinema , bolex h16 cinema , canon eos 5d digital , +25
    ManCOMBOdisabled26 options: disabled, 🎲random, a assassin man , a athletic man , a beautiful man , a biker man , +20
    AdelAi_LightingCOMBOdisabled52 options: disabled, 🎲random, artificial indoor lighting , backlighting , bounced lighting , bright and sunny , +46
    AnimalsCOMBOdisabled177 options: disabled, 🎲random, Camel , Cardinal , Cat , Cavalier King Charles Spaniel , +171
    Fictional_CharacterCOMBOdisabled316 options: disabled, 🎲random, 2B from Nier , 9S from Nier , A2 from Nier , Abed Nadir , +310
    HumanoidsCOMBOdisabled121 options: disabled, 🎲random, Aasimar , AI , Alien , Altmer , +115
    ShotstyleCOMBOdisabled51 options: disabled, 🎲random, aerial shot , aerial view , angle from above , angle from below , +45
    CamerasCOMBOdisabled44 options: disabled, 🎲random, canon 5d mark 4 , canon ef , canon eos 5d mark 4 , canon r5 , +38
    VehiclesCOMBOdisabled107 options: disabled, 🎲random, 2 wheeled vehicle , 3 wheeled vehicle , 4 wheeled vehicle , 6 wheeled vehicle , +101
    AdelAi_StylesCOMBOdisabled32 options: disabled, 🎲random, Abstract Photography , Action Photography , Analogue Photography , Artistic Photography , +26
    ArtistsCOMBOdisabled3593 options: disabled, 🎲random, style by a. j. casson , style by aaron douglas , style by aaron horkey , style by aaron jasinski , +3587
    LightingCOMBOdisabled49 options: disabled, 🎲random, accent lighting , ambient lighting , back lit , backlight , +43
    Artists_SpecialCOMBOdisabled21 options: disabled, 🎲random, style by anton semenov , style by chris leib , style by dale chihuly , style by eric canete , +15
    LocationsCOMBOdisabled891 options: disabled, 🎲random, great wall of china , a beachfront boardwalk , a botanical garden in bloom , a bustling marketplace , +885
    WomanCOMBOdisabled27 options: disabled, 🎲random, a assassin woman , a assassin woman , a athletic woman , a beautiful woman , +21
    Angle_of_ViewCOMBOdisabled25 options: disabled, 🎲random, back view , close-up , establishing shot , extreme close-up , +19
    AdelAi_ArtistsCOMBOdisabled90 options: disabled, 🎲random, style by Alberto Seveso , style by Alejandro Jodorowsky , style by Alex Timmermans , style by Alfred stieglitz , +84
    seedoptINT00–1125899906842624

    Outputs (1)

    NameTypeDescription
    promptSTRING