Comic Sampler Override (experimental)
Test a new cfg or step count without touching your JSON
- comic_script
- comic_script
In this pack, the JSON script is the single source of truth for how every panel gets sampled - steps, cfg, sampler, scheduler all come from default_sampler and per-panel sampler_override, not from generator widgets. That's clean, but it makes experimentation annoying: tweak a sampler and you're editing JSON and re-validating. Comic Sampler Override is the escape hatch. Drop it between the loader and the batch generator, set a couple of widgets, and it rewrites the sampler settings on every panel before the generator ever sees them. The "experimental" tag in the title is fair warning - it's a convenience node, not a necessity, and the pure passthrough path is "don't add this node at all."
How the sentinels work
Every widget has a sentinel value meaning "don't override":
- sampler_name / scheduler -
(keep) - steps -
0 - cfg -
0.0 - denoise -
-1.0
Leave them all at defaults and the node is a perfect passthrough; the script comes out untouched. Change any one and only that value is applied to every panel. Want to test the whole comic at 25 steps instead of 40? Set steps=25, leave everything else, queue.
The catch you'll trip on
Because the override applies to every panel, it also clobbers panels that had their own sampler_override in the JSON. That's deliberate - the source calls it "most recent user intent" - but it means you can't use this node to fix one stubborn panel while leaving the rest alone. One panel needs different settings? Edit that panel's sampler_override in the JSON instead. This is a batch-wide blunt instrument.
Inputs and output
The inputs are the COMIC_SCRIPT plus the five override widgets. The sampler and scheduler dropdowns are the standard ComfyUI names - euler, dpmpp_2m, dpmpp_sde, dpmpp_3m_sde, ddim, and the uni_pc family, with karras, exponential, sgm_uniform, and so on - so anything you'd pick on a normal KSampler is available. Note the ranges: steps up to 200, cfg 0–30 (with 0.0 reserved as the keep-sentinel, which matches reality since a real cfg of 0 is useless), denoise -1 to 1 but only 0–1 counts as an override.
The single output, comic_script, is the modified script - wire it into ComicBatchGenerator. Remember that the generator's panel cache hashes sampler settings, so changing an override invalidates every panel and forces a full re-render. That's expected: different sampler, different pixels.
Install
Same pack, same ritual:
cd ComfyUI/custom_nodes
git clone https://github.com/tackcrypto1031/tk_comfyui_comic_tool.git
cd tk_comfyui_comic_tool
pip install Pillow jsonschema numpy
or via ComfyUI Manager by searching the pack title "tk_comfyui_batch_image", then restart. You'll find it under comic/util. No models, no heavy dependencies.
When to actually use it
This is a "test before you commit" tool. Batch-verify that the comic looks right at dpmpp_2m karras 25 steps before baking those settings into the JSON's default_sampler. Once you've found settings you like, put them in the script and delete the node - one less moving part, and the JSON stays the truth. For everything else, it's the fastest way to answer "what if I drop cfg to 4 and add 10 steps?" without an edit-validate-queue cycle.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| comic_script | COMIC_SCRIPT | — | |
| sampler_name | COMBO | (keep) | 17 options: (keep), euler, euler_ancestral, heun, dpm_2, dpm_2_ancestral, +11 |
| scheduler | COMBO | (keep) | 7 options: (keep), normal, karras, exponential, sgm_uniform, simple, +1 |
| steps | INT | 00–200 | — |
| cfg | FLOAT | 0.00–30 | — |
| denoise | FLOAT | -1.00-1–1 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| comic_script | COMIC_SCRIPT | — |