Nodes/Jakkanna/Jakkanna Prompt From List
ComfyUI Node

Jakkanna Prompt From List

Pick one pose prompt out of a list without rebuilding the graph

By teenu·Created 2 months ago·Updated 2 months ago· 6
Jakkanna Prompt From List
    • prompt
    prompts
    index0

    JakkannaPromptFromList is the smallest node in the Jakkanna pack, and honestly it's the one you'll reach for more than you expect. It does exactly one thing: feed it a list of prompts and an index, and it hands back the single prompt at that position. That's it. No model, no API, no key.

    Where it earns its keep is batch pose work. Jakkanna Pose Studio can export prompts as a list - one per pose tab - and once you're generating a whole pose sequence you usually don't want all of them at once. You want frame 3's prompt, or you want to sweep through poses by nudging a number. This node is the index into that list.

    The wiring is the part people trip on. The prompts input is a list (INPUT_IS_LIST is set), so it's meant to receive a list output from a node like Pose Studio - not a single prompt you typed by hand. The index input is an INT from 0 to 127. The upper bound isn't arbitrary: 128 is Pose Studio's pose-tab cap, so the node matches the tool it was built for. Pick a value outside the list's real length and you get a clean ValueError, not a silent empty string. An empty list raises too.

    Inputs and output:

    • prompts - STRING list (forceInput; wire a list-producing node here)
    • index - INT, 0–127, default 0
    • prompt - the single selected STRING, ready for a CLIPTextEncode or any prompt merger

    The one genuinely clever thing: because the node takes a whole list in one shot, you can drive index from a widget and scrub through poses in real time without rerunning the whole upstream graph. That makes it a nice little animation-timing tool too - index 0..N maps cleanly onto frame 0..N.

    Install. It ships in the Jakkanna pack, so install once and it's everywhere:

    cd ComfyUI/custom_nodes
    git clone https://github.com/teenu/ComfyUI-VNCCS-Utils-Maintained
    cd ComfyUI-VNCCS-Utils-Maintained
    pip install -r requirements.txt
    

    Or use ComfyUI Manager and search "Jakkanna". One warning before you do: Jakkanna is a maintained fork of the VNCCS utilities and registers the same node names - don't run it alongside the upstream vnccs-utils in the same ComfyUI instance, or the two packs fight over node registrations.

    Where people get burned: they expect this to do more than index. It doesn't, and that's fine - its whole job is to be the dumb, deterministic selector so the rest of your graph stays simple. If you're coming from a dedicated OpenPose editor, the README's own advice applies: for lightweight 2D keypoint editing you don't need the whole Pose Studio stack. But for pulling one prompt out of a batch, this is the node.

    CategoryJakkanna/pose

    Inputs (2)

    NameTypeDefaultDescription
    promptsSTRING
    indexINT00–127

    Outputs (1)

    NameTypeDescription
    promptSTRING