Integer List Generator | Deforum
Batch a list of integers without hand-typing
- INT
If you've built even one animation workflow, you know the pain this node kills: every frame wants its own seed, and typing out 12345, 12346, 12347... by hand is exactly the kind of thing that makes you quit at midnight. Integer List Generator | Deforum takes a start value and a count and hands you a ready-made list of integers - the boring, necessary plumbing that every frame loop is secretly made of.
The inputs are the three you'd guess. start_int is where the list begins (default 0, capped at 4.29 billion), quantity is how many values you want (up to 10,000), and control_mode picks between two behaviors: increment and random. In increment mode it's dead simple - you get start_int, start_int+1, start_int+2, and so on until you have quantity values. In random mode things get more interesting: your start_int becomes a master seed. The first value in the list is always start_int itself, and every value after is drawn from a PRNG seeded by it, so the same start_int produces the same "random" list every single run. That determinism is the whole reason to use this node instead of a bare random picker - your animation stays reproducible, which matters when you're chasing a flicker that only shows up on frame 87.
The output is a single INT list, and that's the thing to wire into the next stage. Feed it to a loop's seed slot, drop it into Make List | Deforum and its siblings if you want to pair each seed with a prompt or denoise value, or use a Get Int From List | Deforum to pull one value at a time. Because this pack is built around generating frames in a loop, the natural pattern is: this node makes the seed list up front, the loop pulls one seed per iteration, and every frame is deterministic given the workflow.
Installing it is installing the whole pack, since it ships as part of deforum-comfy-nodes. In ComfyUI Manager search for "ComfyUI-Deforum" (the pyproject display name) or deforum-comfy-nodes, install, restart. Or the manual route:
cd ComfyUI/custom_nodes
git clone https://github.com/deforum-art/deforum-comfy-nodes
Then restart ComfyUI. There are no extra Python dependencies and no model downloads - this pack is pure Python on top of ComfyUI's own torch, which is a genuine relief after you've installed animation tooling that drags in ffmpeg and PyAV. It was formerly hosted at XmYx/deforum-comfy-nodes; it now lives under the deforum-art org, same code.
The gotcha to remember is that random mode is seeded, not actually chaotic - bump start_int by one and you get a completely different but still reproducible sequence. Use that. If a run looks wrong, change the seed, rerun, and you can bisect your way to the bad frame instead of rerolling the dice every time. For a beginner the increment mode is usually enough; random mode earns its keep once you want variety without giving up reproducibility.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| start_int | INT | 00–4294967295 | — |
| quantity | INT | 51–10000 | — |
| control_mode | COMBO | 2 options: increment, random |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |