Nodes/comfy-easy-grids/Int List from Text Field
ComfyUI Node

Int List from Text Field

Paste in a hundred seeds and go

By shockz0rz·Created 3 years ago·Updated 2 years ago· 27
Int List from Text Field
    • current value
    • list
    • list text
    index1
    int_list

    The widget version of Int List gives you six slots and six little number boxes. Int List from Text Field gives you one big text box and room for up to 100 integers. If you've ever wanted to slam a hundred seeds into a grid run without dragging a hundred widgets, this is the node you've been looking for.

    How it works

    Type your integers into the int_list text area, set index (1-based, max 100), and out come the same three results as the widget node:

    • current value - the selected integer (INT)
    • list - the full parsed list (INT_LIST)
    • list text - every value as a string (STRING_LIST)

    Parsing is shared with the float sibling and it's forgiving on purpose: commas, semicolons, colons, and whitespace all count as separators, so 10, 20; 30: 40 50 parses into [10, 20, 30, 40, 50]. That makes pasting a column of seeds from a text file or spreadsheet a non-event - just drop it in. One caveat: any non-integer token raises an error rather than being ignored. That's actually a favor - a silent skip would quietly shorten your grid.

    When to reach for it

    Seed farming is the killer use. ComfyUI's conventions docs hammer the same advice - test on a fixed seed, then vary one thing - and when the thing you're varying is the seed itself, this node is the cleanest way to run a batch of distinct seeds through a loop. Wire Create Image Grid's y_index into index, lock everything else, and each cell gets the next seed in your list.

    Same story for any integer sweep that outgrows six values: step counts, CFG values, batch sizes. Short, hand-tuned lists still suit the widget node better; this one is for when the list is long, imported, or both.

    Installing it

    Part of comfy-easy-grids - install the pack once and all its nodes come along. ComfyUI Manager: search "comfy-easy-grids". Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/shockz0rz/comfy-easy-grids
    

    Restart ComfyUI. No requirements.txt, no model downloads. Under "EasyGrids" in the Add Node menu.

    Troubleshooting

    A parse error means a non-integer snuck into the box - a decimal point, a letter, a stray word. Seeds and steps should be whole numbers; if you genuinely need decimals, you want the float variant of this node instead. And remember the clamp: an index past the end of your list returns the last value silently, so a grid that stops varying near the end means your list is shorter than the loop is asking for.

    CategoryEasyGrids

    Inputs (2)

    NameTypeDefaultDescription
    indexINT11–100
    int_listSTRING

    Outputs (3)

    NameTypeDescription
    current valueINT
    listINT_LIST
    list textSTRING_LIST