(testing)LoadAndSettingParameters02
The experimental node that replaces your whole loader stack
- ckpt
- stop_at_clip_layer
- vae
- positive_prompt
- negative_prompt
- Latent
- Steps
- CFG
- sampler_name
- scheduler
The "(testing)" in the display name is doing honest work. LoadAndSettingParameters02 is the author's experiment in taking the preset idea all the way: instead of handing values to your existing loaders, it loads the checkpoint itself, encodes your prompts, builds the latent, and hands KSampler everything it needs in one go.
What it replaces
A normal txt2img stack - CheckpointLoaderSimple, CLIPSetLastLayer, a VAE loader, two CLIPTextEncode nodes, EmptyLatentImage - collapses into this single node. Its outputs are ckpt (MODEL), a CLIP, a VAE, positive and negative CONDITIONING, a Latent, plus Steps / CFG / sampler_name / scheduler.
Naming quirk worth knowing before you wire anything: the second output is labeled stop_at_clip_layer, but it's actually the CLIP model with your ClipNum already applied. Don't be fooled - that's what goes into CLIPTextEncode's clip input.
How it works
It loads the checkpoint via ComfyUI's load_checkpoint_guess_config, applies the ClipNum to the CLIP, and loads the VAE - or uses the checkpoint's merged one if the vae dropdown is set to the special "Use_merged_checkpoints" option. It builds a blank latent of [BatchSize, 4, Height//8, Width//8], concatenates PosPromptA + ", " + PosPromptC into a single prompt, and encodes it. That's also why this is the only node in the pack with Width / Height / BatchSize widgets: it's the one constructing the latent, so it needs them.
The layout runs preset dropdown on top, then checkpoint, ClipNum, vae, the four prompt boxes, and the dimensions/step/sampler controls. Same preset mechanism as the rest of the pack - selecting a preset rewrites the widgets and tweaks stick, but because it auto-selects a preset on creation, rebuilding a workflow from a dropped image re-applies it and clobbers your values.
Where it fits
Honestly, it's a quick test rig. One node to switch model, hit go, and A/B a checkpoint - great for that. But it's a beta the README doesn't even bother describing, and hiding the loader stack behind one node makes problems harder to debug. If something looks off, suspect this node first. For anything you'll maintain, the v1 non-testing nodes - or the author's successor pack, ComfyUI_mittimiLoadPreset2 - are the saner choice; the README says this whole repo won't be updated.
Install
Via ComfyUI Manager (search "ComfyUI_mittimiLoadPreset"), or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/mittimi/ComfyUI_mittimiLoadPreset
Restart ComfyUI. Only dependency is toml, no model downloads. Presets live in the pack's presets/ folder and are scanned at startup - add a .toml, restart, and remember to back them up before updating the pack.
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | 3 options: (testing)preset.toml, PRESET TEMPLATE.toml, [Sample] PonyRealismSetting.toml | |
| checkpoint | COMBO | 0 options: | |
| ClipNum | INT | -1-10–-1 | — |
| vae | COMBO | 1 options: Use_merged_checkpoints | |
| PosPromptA | STRING | — | |
| PosPromptC | STRING | — | |
| NegPromptA | STRING | — | |
| NegPromptC | STRING | — | |
| Width | INT | 5128–16384 | — |
| Height | INT | 5128–16384 | — |
| BatchSize | INT | 11–999999 | — |
| Steps | INT | 201–999999 | — |
| CFG | FLOAT | — | |
| SamplerName | COMBO | 34 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +28 | |
| Scheduler | COMBO | 9 options: normal, karras, exponential, sgm_uniform, simple, ddim_uniform, +3 |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| ckpt | MODEL | — |
| stop_at_clip_layer | CLIP | — |
| vae | VAE | — |
| positive_prompt | CONDITIONING | — |
| negative_prompt | CONDITIONING | — |
| Latent | LATENT | — |
| Steps | INT | — |
| CFG | FLOAT | — |
| sampler_name | euler,euler_cfg_pp,euler_ancestral,euler_ancestral_cfg_pp,heun,heunpp2,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_2s_ancestral_cfg_pp,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_cfg_pp,dpmpp_2m_sde,dpmpp_2m_sde_gpu,dpmpp_3m_sde,dpmpp_3m_sde_gpu,ddpm,lcm,ipndm,ipndm_v,deis,res_multistep,res_multistep_cfg_pp,res_multistep_ancestral,res_multistep_ancestral_cfg_pp,gradient_estimation,ddim,uni_pc,uni_pc_bh2 | — |
| scheduler | normal,karras,exponential,sgm_uniform,simple,ddim_uniform,beta,linear_quadratic,kl_optimal | — |