pipeKSamplerAdvanced v1 (Legacy)
Start/end steps on a ttN pipe
- pipe
- optional_model
- optional_positive
- optional_negative
- optional_latent
- optional_vae
- optional_clip
- xyPlot
- pipe
- model
- positive
- negative
- latent
- vae
- clip
- image
- seed
ComfyUI's KSamplerAdvanced exists because sometimes you don't want to sample all the steps at once - you want to run step 0β15, upscale the latent, then run step 15β20 on top for a hires pass. The tinyterra equivalent for its pipe system was pipeKSamplerAdvanced v1 (ttN pipeKSamplerAdvanced): a legacy sampler that takes a ttN PIPE_LINE, gives you start_at_step / end_at_step control, and returns both a new pipe and every raw slot for downstream use.
It's in the π tinyterra/legacy category, and that label is doing real work here. The v1 advanced sampler was replaced by pipeKSamplerAdvanced_v2, which kept the start/end-step engine but embedded the Advanced CLIP text encoding (prompt boxes right on the node) and swapped in the richer upscale options. If a workflow you downloaded has a v1 in it, it still loads and runs - that's why legacy nodes aren't deleted - but for new graphs you want the v2.
How it works
Feed it a pipe, and its outputs are pipe, model, positive, negative, latent, vae, clip, image and seed. The optional_* inputs (optional_model, optional_positive, optional_negative, optional_latent, optional_vae, optional_clip) are pipe overrides - connect one and it replaces that slot for this sampling run, exactly like pipeEDIT but scoped to the sampler. It also takes a legacy xyPlot input for grid runs.
The controls that matter:
start_at_step/end_at_step- the window of the denoising schedule to run. The classic pattern: a normal sampler does 0β20; a hires pass does 16β20 (or wherever) withadd_noisedisabled and the upscaled latent in.sampler_state- "Sample" or "Hold". Hold stops this node from actually sampling, which is how you keep a shared sampler template in the graph without it running every time.add_noise- enable/disable. Disable it for the second stage of an img2img/hires pass so you don't re-roll the noise.lora_name+lora_model_strength/lora_clip_strength- note the v1 split: model and CLIP strengths are separate floats here (the v2 collapses them into onelora_strength).upscale_method,factor,crop- a simple latent upscale before sampling (nearest/bilinear/area/bicubic/lanczos/bislerp, or None).start_at_step-adjacent:return_with_leftover_noise- enable when a later pass will continue from this latent.image_output/save_prefix- preview or save, same as the rest of the pack.
The one thing it does not have is a prompt box - v1 expects the conditioning already in the pipe. That's the single biggest reason to prefer v2.
Install and gotchas
One-time pack install: ComfyUI Manager β search ComfyUI_tinyterraNodes, or git clone https://github.com/TinyTerra/ComfyUI_tinyterraNodes.git into ComfyUI/custom_nodes, restart. No extra dependencies or downloads.
Gotchas worth knowing: the legacy nodes are SD1.5/SDXL-era, so expect friction on newer architectures - that's the pack's known weak spot. And if you find yourself setting start_at_step/end_at_step constantly, you're the person the v2 was built for; migrating is just swapping the node in and moving your prompt into the box. For old saved workflows, leave it alone and let it run - it still does the job.
Inputs (26)
| Name | Type | Default | Description |
|---|---|---|---|
| pipe | PIPE_LINE | β | |
| lora_name | COMBO | 1 options: None | |
| lora_model_strength | FLOAT | 1.00-10β10 | β |
| lora_clip_strength | FLOAT | 1.00-10β10 | β |
| upscale_method | COMBO | 7 options: None, nearest-exact, bilinear, area, bicubic, lanczos, +1 | |
| factor | FLOAT | 2.000β10 | β |
| crop | COMBO | 2 options: disabled, center | |
| sampler_state | COMBO | 2 options: Sample, Hold | |
| add_noise | COMBO | 2 options: enable, disable | |
| steps | INT | 201β10000 | β |
| cfg | FLOAT | 8.000β100 | β |
| sampler_name | COMBO | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 | |
| scheduler | COMBO | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 | |
| start_at_step | INT | 00β10000 | β |
| end_at_step | INT | 100000β10000 | β |
| return_with_leftover_noise | COMBO | 2 options: disable, enable | |
| image_output | COMBO | 4 options: Hide, Preview, Save, Hide/Save | |
| save_prefix | STRING | ComfyUI | β |
| noise_seedopt | INT | 00β18446744073709550000 | β |
| optional_modelopt | MODEL | β | |
| optional_positiveopt | CONDITIONING | β | |
| optional_negativeopt | CONDITIONING | β | |
| optional_latentopt | LATENT | β | |
| optional_vaeopt | VAE | β | |
| optional_clipopt | CLIP | β | |
| xyPlotopt | XYPLOT | β |
Outputs (9)
| Name | Type | Description |
|---|---|---|
| pipe | PIPE_LINE | β |
| model | MODEL | β |
| positive | CONDITIONING | β |
| negative | CONDITIONING | β |
| latent | LATENT | β |
| vae | VAE | β |
| clip | CLIP | β |
| image | IMAGE | β |
| seed | INT | β |