pipeKSamplerAdvanced
PipeKSamplerAdvanced with prompts built in
- pipe
- optional_model
- optional_positive
- optional_negative
- optional_latent
- optional_vae
- optional_clip
- input_image_override
- adv_xyPlot
- pipe
- model
- positive
- negative
- latent
- vae
- clip
- images
- seed
- plot_image
pipeKSamplerAdvanced_v2 (ttN pipeKSamplerAdvanced_v2, displayed as pipeKSamplerAdvanced) is the workhorse of the tinyterra pipe system: the one node that samples, upscales, saves, and even writes its own prompts, all inside a ttN pipe. It's the v2 of the legacy advanced sampler, and the upgrade list is exactly what you'd want - embedded Advanced CLIP text encoding, a proper hires-fix path, and full XY-plot support.
If you're doing multi-stage SD1.5/SDXL work with tinyterra, this is the node you'll reach for most. It's the pipe counterpart of ComfyUI's KSamplerAdvanced, but instead of raw wires it eats and emits a PIPE_LINE, which keeps the graph small when you're chaining two or three passes.
How it works
The node pulls model, conditioning, latent and VAE from the incoming pipe (overridable via optional_model, optional_positive, optional_negative, optional_latent, optional_vae, optional_clip), applies an optional LoRA, runs the step window you specify, decodes through the VAE, and pushes the result through preview/save and back into a fresh pipe.
The two features that separate it from the v1:
- Embedded prompt boxes.
positiveandnegativetext fields withtoken_normalizationandweight_interpretationdropdowns (comfy / A1111 / compel / comfy++ / down_weight) - the vendored ADV_CLIP_emb encoding, so(keyword:1.3)syntax works if you flip interpretation to A1111. - A real hires path.
upscale_methodoffers[latent]modes and[hiresFix]modes (the latter with anupscale_model_name), plus arescaleblock to push the decoded result to a target size. The classic two-stage recipe - sample at low res,[latent]-upscale with afactor, then run a second pass over just the top of the schedule withadd_noisedisabled - all lives in one node.
The inputs that matter
steps,start_at_step,end_at_step- the sampling window. First pass 0β20, then a hires continuation 16β20 withadd_noiseoff.add_noise+noise-noiseis a 0β1 float; drop it below 1 for a partially-denoised continuation.return_with_leftover_noise- enable when a later pass continues from this latent.lora_name+lora_strength- single strength here (the v1 split model/clip strengths into two).cfg,sampler_name,scheduler(includes AYS SD1/SDXL/SVD presets),denoise-adjacent controls.image_output,save_prefix,file_type,embed_workflow- preview/save with full format control and the pack's%date%/%widget%prefix parsing.
Outputs: pipe, model, positive, negative, latent, vae, clip, images, seed, and plot_image (activated when you connect an adv_xyPlot - the pack's grid engine, which the community leans on heavily for LoRA weight testing). There's also input_image_override for img2img-style runs.
Install and gotchas
One-time pack install - ComfyUI Manager β search ComfyUI_tinyterraNodes, or clone into ComfyUI/custom_nodes, restart. No deps, no model downloads.
Gotchas: the default positive/negative boxes contain the literal strings "Positive"/"Negative" - clear them or you'll bake the word into every render. And remember this is an SD1.5/SDXL-era node; the [latent]/[hiresFix] split doesn't map cleanly onto the newest architectures, the pack's known weak spot. For old v1 workflows, the node will version-flag on load - that's by design, and migrating just means moving your prompts into the node.
Inputs (34)
| Name | Type | Default | Description |
|---|---|---|---|
| pipe | PIPE_LINE | β | |
| lora_name | COMBO | 1 options: None | |
| lora_strength | FLOAT | 1.00-10β10 | β |
| upscale_method | COMBO | None | 13 options: None, [latent] nearest-exact, [latent] bilinear, [latent] area, [latent] bicubic, [latent] lanczos, +7 |
| upscale_model_name | COMBO | 1 options: None | |
| factor | FLOAT | 2.000β10 | β |
| rescale | COMBO | 4 options: by percentage, to Width/Height, to longer side - maintain aspect, None | |
| percent | INT | 500β1000 | β |
| width | INT | 102464β16384 | β |
| height | INT | 102464β16384 | β |
| longer_side | INT | 102464β16384 | β |
| crop | COMBO | 2 options: disabled, center | |
| add_noise | COMBO | 2 options: enable, disable | |
| noise | FLOAT | 1.000β1 | β |
| steps | INT | 201β10000 | β |
| start_at_step | INT | 00β10000 | β |
| end_at_step | INT | 100000β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 | 13 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +7 | |
| return_with_leftover_noise | COMBO | 2 options: disable, enable | |
| image_output | COMBO | 5 options: Hide, Preview, Save, Hide/Save, Disabled | |
| save_prefix | STRING | ComfyUI | β |
| file_type | COMBO | png | 7 options: png, jpg, jpeg, tiff, tif, webp, +1 |
| embed_workflow | BOOLEAN | true | β |
| noise_seedopt | INT | 00β18446744073709550000 | β |
| optional_modelopt | MODEL | β | |
| optional_positiveopt | CONDITIONING | β | |
| optional_negativeopt | CONDITIONING | β | |
| optional_latentopt | LATENT | β | |
| optional_vaeopt | VAE | β | |
| optional_clipopt | CLIP | β | |
| input_image_overrideopt | IMAGE | β | |
| adv_xyPlotopt | ADV_XYPLOT | β |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| pipe | PIPE_LINE | β |
| model | MODEL | β |
| positive | CONDITIONING | β |
| negative | CONDITIONING | β |
| latent | LATENT | β |
| vae | VAE | β |
| clip | CLIP | β |
| images | IMAGE | β |
| seed | INT | β |
| plot_image | IMAGE | β |