Inputs Refine Basic
Basic inputs plus an optional refine checkpoint — no filename baggage
- MODEL
- CLIP
- VAE
- MODEL REFINE
- ckpt name
- ckpt name refine
- sampler
- scheduler
- cfg
- steps
- latent
- width
- height
- seed
- batch size
- speed lora ratio
AUNInputsRefineBasic is the "Basic" version of the refine idea: it keeps the lighter Inputs Basic contract - checkpoint, sampler settings, empty latent - and adds one thing, an optional second model for a refinement pass. No save-prep outputs, no legacy filename sockets. It's the recommended-shaped node for anyone who wants the "generate then refine with a second checkpoint" pattern without the full Inputs node's wall of save machinery.
What it does
Load the main checkpoint with ckpt_name, then optionally refine_ckpt - select 'None' to reuse the main model for refinement. When you pick a separate refine checkpoint you get a second MODEL REFINE output (and ckpt name refine) to feed a refinement sampler. The rest is the Basic contract: sampler/scheduler/cfg/steps, aspect_ratio/width/height with aspect_mode and megapixels/multiple, batch_size, seed, clip_skip, and the SpeedLoRA group.
The SpeedLoRA handling is where refine nodes earn their keep: speed_lora_full_both applies the full strength to both main and refine models, while speed_lora_ratio splits it (main model gets that fraction, refiner gets the rest). Outputs include the resolved speed lora ratio, so you can see what landed where. A SpeedLoRA tuned for composition can fight a refiner; splitting it is often the difference between a cleaner final pass and a muddy one.
Inputs and outputs
Inputs: ckpt_name, refine_ckpt, SpeedLoRA group, clip_skip, sampler/scheduler/cfg/steps, aspect_ratio/width/height/aspect_mode, batch_size, seed, megapixels, multiple.
Outputs: MODEL, CLIP, VAE, MODEL REFINE, ckpt name, ckpt name refine, sampler, scheduler, cfg, steps, latent, width, height, seed, batch size, speed lora ratio.
Installing it
Same pack, same install:
- ComfyUI Manager: search "AUN ComfyUI Nodes", install, restart.
- Manual:
cd custom_nodes && git clone https://github.com/loz2754/AUN-ComfyUI-Nodes, then restart.
Manual installs and a ModuleNotFoundError: cv2 error? pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt.
Common issues
If an old workflow using this node loads with SpeedLoRA widgets that look off, the README's migration note covers it - the input set changed and widgets may need re-checking or reconnecting. Otherwise the same rules as the other Basic nodes: this node has no filename outputs (plan save naming separately), and when the refiner misbehaves, adjust the speed_lora_ratio split before chasing sampler settings.
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| ckpt_name | COMBO | The checkpoint model file to load. | |
| refine_ckpt | COMBO | None | An optional refinement checkpoint to load as a separate refine model. Select 'None' to reuse the main model. |
| speed_lora | BOOLEAN | false | Enable or disable SpeedLoRA optimizations. |
| speed_lora_model | COMBO | None | The SpeedLoRA model to apply. Select 'None' to disable SpeedLoRA. |
| speed_lora_strength | FLOAT | 1.000–3 | Multiplier applied to the selected SpeedLoRA weights. |
| speed_lora_full_both | BOOLEAN | false | Apply the full SpeedLoRA strength to both the main and refine models. |
| speed_lora_ratio | FLOAT | 1.000–1 | Share of the SpeedLoRA strength applied to the main model. The refine model receives the remaining share. |
| clip_skip | INT | -1-24–-1 | Number of last layers of CLIP to skip. -1 is a good default. |
| sampler | COMBO | The sampling algorithm to use. | |
| scheduler | COMBO | The noise schedule to use. | |
| cfg | FLOAT | 2.0-2–100 | Classifier-Free Guidance scale. Higher values increase prompt adherence. |
| steps | INT | 101–10000 | Number of sampling steps. |
| width | INT | 72064–8192 | Image width. Used when 'aspect_ratio' is 'custom'. |
| height | INT | 72064–8192 | Image height. Used when 'aspect_ratio' is 'custom'. |
| aspect_ratio | COMBO | Select a predefined aspect ratio or ratio to automatically set width and height. | |
| aspect_mode | COMBO | Original | Random swaps dimensions 50% of the time, Swap forces a swap, Original keeps the original order. |
| batch_size | INT | 11–64 | Number of latent images to generate in a batch. |
| seed | INT | 0-18446744073709550000–18446744073709550000 | The random seed for generation. |
| megapixels | FLOAT | 1.00.1–16 | Target total megapixels used when a ratio is selected. |
| multiple | INT | 88–128 | Nearest multiple to round computed resolution to. Used with ratio. |
Outputs (16)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |
| CLIP | CLIP | — |
| VAE | VAE | — |
| MODEL REFINE | MODEL | — |
| ckpt name | STRING | — |
| ckpt name refine | STRING | — |
| sampler | * | — |
| scheduler | * | — |
| cfg | FLOAT | — |
| steps | INT | — |
| latent | LATENT | — |
| width | INT | — |
| height | INT | — |
| seed | INT | — |
| batch size | INT | — |
| speed lora ratio | FLOAT | — |