Nodes/ComfyUI-Photoreal-Prompt-Builder/Group Action List (kppb)
ComfyUI Node

Group Action List (kppb)

Two-person and group scenes, queued as a batch

By artokun·Created 7 months ago·Updated 3 months ago· 27
Group Action List (kppb)
    • list
    • count
    arm around friend laughingfalse
    cheers-ing drinks togetherfalse
    dancing together at partyfalse
    feeding each other foodfalse
    group hugfalse
    group selfiefalse
    having brunch with friendsfalse
    having coffee with friendfalse
    holding hands walkingfalse
    hugging friendfalse
    karaoke with friendsfalse
    leaning on friend's shoulderfalse
    linking arms walkingfalse
    piggyback ridefalse
    playful pushing friendfalse
    posing back to backfalse
    sharing earbuds listening to musicfalse
    sharing umbrellafalse
    shopping togetherfalse
    sitting on boyfriend's lapfalse
    slow dancingfalse
    toasting champagnefalse
    walking arm in armfalse
    whispering in earfalse
    custom_entries

    Single-subject prompts are easy. The moment you put two or more people in a frame, Klein has to decide who's doing what to whom - and if you don't say it clearly, it invents. Group Action List (kppb) hands you a checkbox panel of 24 social scenes so you don't have to word them yourself: group selfie, hugging friend, arm around friend laughing, cheers-ing drinks together, dancing together at party, slow dancing, having brunch with friends, holding hands walking, piggyback ride, whispering in ear, toasting champagne, karaoke with friends, sharing umbrella and more. Tick the ones you want queued.

    What it's for

    Group actions are the "narrative in one clause" category - they define both the relationship and the activity. The values are short enough to feed directly into a prompt's action/situation text, and they match the pack's group-action vocabulary, so they compose with the Prompt Builder cleanly. Pair a group action with a scene from the Scene List and you can grid out "which locations work for a slow dance" without touching a single free-text box.

    How it works

    Same list-node pattern you've seen across this pack: boolean per action, a custom_entries box for your own (one per line), and two outputs:

    • list - the selected group actions.
    • count - the number selected, to size the batch.

    Connect list to a ComfyLab XY Plot Queue dimension and count to the step count. If you're not batch-building, you can also just read the strings - "leaning on friend's shoulder" is already a perfectly usable prompt fragment for a single generation.

    Installing

    Nothing different:

    cd ComfyUI/custom_nodes
    git clone https://github.com/artokun/ComfyUI-Photoreal-Prompt-Builder.git comfyui-klein-photoreal-promptbuilder
    

    Restart, no pip deps, under conditioning/klein - or "Photoreal Prompt Builder" in ComfyUI Manager.

    Two things before you queue. First, the ComfyLab-Pack install quirk: Manager can't auto-resolve XYPlotQueue, so install "ComfyLab Pack" manually. Second - and this matters more here than on any other list node - multi-subject prompts are where the "which person does what" confusion lives. If the grid comes back with actions applied to the wrong person, your subject descriptions need tightening, and word order matters: name who's doing the action before who's receiving it. The node gives you a clean verb; you still have to hand it a clear cast.

    Categoryconditioning/klein

    Inputs (25)

    NameTypeDefaultDescription
    arm around friend laughingBOOLEANfalse
    cheers-ing drinks togetherBOOLEANfalse
    dancing together at partyBOOLEANfalse
    feeding each other foodBOOLEANfalse
    group hugBOOLEANfalse
    group selfieBOOLEANfalse
    having brunch with friendsBOOLEANfalse
    having coffee with friendBOOLEANfalse
    holding hands walkingBOOLEANfalse
    hugging friendBOOLEANfalse
    karaoke with friendsBOOLEANfalse
    leaning on friend's shoulderBOOLEANfalse
    linking arms walkingBOOLEANfalse
    piggyback rideBOOLEANfalse
    playful pushing friendBOOLEANfalse
    posing back to backBOOLEANfalse
    sharing earbuds listening to musicBOOLEANfalse
    sharing umbrellaBOOLEANfalse
    shopping togetherBOOLEANfalse
    sitting on boyfriend's lapBOOLEANfalse
    slow dancingBOOLEANfalse
    toasting champagneBOOLEANfalse
    walking arm in armBOOLEANfalse
    whispering in earBOOLEANfalse
    custom_entriesSTRING

    Outputs (2)

    NameTypeDescription
    listLIST
    countINT