pipeLoaderSDXL
The full SDXL loader with global/local prompts
- model_override
- clip_override
- optional_lora_stack
- optional_controlnet_stack
- refiner_model_override
- refiner_clip_override
- sdxl_pipe
- model
- positive
- negative
- vae
- clip
- refiner_model
- refiner_positive
- refiner_negative
- refiner_clip
- latent
- seed
- width
- height
- pos_string
- neg_string
SDXL isn't one model with one text encoder - it's a base plus a refiner, and its CLIP is really two encoders: CLIP-L for "local" prompt detail and the OpenCLIP bigG for "global" style and composition. Most loaders hide that. tinyterra's pipeLoaderSDXL v2 (ttN pipeLoaderSDXL_v2) is the version that doesn't: it gives you separate positive_g / positive_l and negative_g / negative_l boxes, loads the base and refiner, applies a stack of LoRAs, and produces an sdxl_pipe ready for pipeKSamplerSDXL.
If you're doing SDXL in tinyterra, this is the loader you want. It's the current-generation version of the legacy pipeLoaderSDXL, and the big upgrade is exactly that split: in v1 you got one prompt string; here you can put the subject in _l and the style in _g the way the model was designed to be fed.
The inputs that matter
ckpt_name(+config_nameif you need a non-default config),vae_name("Baked VAE"),clip_skip(default -2).positive_g/positive_landnegative_g/negative_l- the four prompt boxes. A rough rule: global holds style, mood and medium; local holds the concrete subjects and details. The optionalprepend_positive_g/landprepend_negative_g/linputs let you bolt fixed tags on without editing the boxes.loras- a multiline LoRA stack string (the pack's autocomplete helps here). Multiple LoRAs withmodel_strengthandclip_strengtheach, in one text field - cleaner than ten separate slots, once you get used to it. You can also feed aLORA_STACKin viaoptional_lora_stackinstead, plusoptional_controlnet_stack.refiner_ckpt_name(+refiner_config_name) - the refiner. Set to "None" if you're skipping it.- The aspect/size block, which is where SDXL gets fiddly:
empty_latent_aspect- presets like "1024 x 1024 [S] 1:1", "640 x 1536 [P] 9:21" etc., which setempty_latent_width/heightfor you.conditioning_aspect,conditioning_width/height,crop_width/height,target_aspect,target_width/height- this is SDXL's crop/target conditioning. SDXL conditions on the crop position and target size, and getting these wrong is why SDXL images come out squished or off-center. These fields let you control exactly how the conditioning is scaled to the latent.
positive_ascore/negative_ascore- aesthetic-score conditioning for the refiner (defaults 6 and 2).batch_size,seed.
Outputs
sdxl_pipe plus the full breakdown: model, positive, negative, vae, clip, refiner_model, refiner_positive, refiner_negative, refiner_clip, latent, seed, and the handy width, height, pos_string, neg_string outputs for driving other nodes or filename prefixes.
Install and gotchas
One-time pack install - ComfyUI Manager β search ComfyUI_tinyterraNodes, or clone into ComfyUI/custom_nodes, restart. No extra dependencies; no bundled models.
The usual traps: leave the refiner "None" unless you've actually loaded one (a refiner with nothing behind it errors); and if outputs look slightly wrong, check the conditioning-aspect block before blaming the sampler - mis-set conditioning size is the classic SDXL complaint. And the honest caveat for the whole pack: this loader is SDXL-shaped. GGUF Flux and the newest architectures aren't what tinyterra's pipe nodes were built for, so for those you'll be using native nodes.
Inputs (36)
| Name | Type | Default | Description |
|---|---|---|---|
| ckpt_name | COMBO | 0 options: | |
| config_name | COMBO | Default | 12 options: Default, anything_v3.yaml, v1-inference.yaml, v1-inference_clip_skip_2.yaml, v1-inference_clip_skip_2_fp16.yaml, v1-inference_fp16.yaml, +6 |
| vae_name | COMBO | 1 options: Baked VAE | |
| clip_skip | INT | -2-24β0 | β |
| loras | STRING | β | |
| refiner_ckpt_name | COMBO | 1 options: None | |
| refiner_config_name | COMBO | Default | 12 options: Default, anything_v3.yaml, v1-inference.yaml, v1-inference_clip_skip_2.yaml, v1-inference_clip_skip_2_fp16.yaml, v1-inference_fp16.yaml, +6 |
| positive_g | STRING | β | |
| positive_l | STRING | β | |
| negative_g | STRING | β | |
| negative_l | STRING | β | |
| conditioning_aspect | COMBO | 1x Empty Latent Aspect | 9 options: width x height [custom], 1x Empty Latent Aspect, 2x Empty Latent Aspect, 3x Empty Latent Aspect, 4x Empty Latent Aspect, 5x Empty Latent Aspect, +3 |
| conditioning_width | INT | 204864β16384 | β |
| conditioning_height | INT | 204864β16384 | β |
| crop_width | INT | 00β16384 | β |
| crop_height | INT | 00β16384 | β |
| target_aspect | COMBO | 1x Empty Latent Aspect | 9 options: width x height [custom], 1x Empty Latent Aspect, 2x Empty Latent Aspect, 3x Empty Latent Aspect, 4x Empty Latent Aspect, 5x Empty Latent Aspect, +3 |
| target_width | INT | 10240β16384 | β |
| target_height | INT | 10240β16384 | β |
| positive_ascore | INT | 6 | β |
| negative_ascore | INT | 2 | β |
| empty_latent_aspect | COMBO | 1024 x 1024 [S] 1:1 | 14 options: width x height [custom], 1024 x 1024 [S] 1:1, 640 x 1536 [P] 9:21, 704 x 1472 [P] 9:19, 768 x 1344 [P] 9:16, 768 x 1216 [P] 5:8, +8 |
| empty_latent_width | INT | 102464β16384 | β |
| empty_latent_height | INT | 102464β16384 | β |
| batch_size | INT | 11β64 | β |
| seed | INT | 00β18446744073709550000 | β |
| model_overrideopt | MODEL | β | |
| clip_overrideopt | CLIP | β | |
| optional_lora_stackopt | LORA_STACK | β | |
| optional_controlnet_stackopt | CONTROL_NET_STACK | β | |
| refiner_model_overrideopt | MODEL | β | |
| refiner_clip_overrideopt | CLIP | β | |
| prepend_positive_gopt | STRING | β | |
| prepend_positive_lopt | STRING | β | |
| prepend_negative_gopt | STRING | β | |
| prepend_negative_lopt | STRING | β |
Outputs (16)
| Name | Type | Description |
|---|---|---|
| sdxl_pipe | PIPE_LINE_SDXL | β |
| model | MODEL | β |
| positive | CONDITIONING | β |
| negative | CONDITIONING | β |
| vae | VAE | β |
| clip | CLIP | β |
| refiner_model | MODEL | β |
| refiner_positive | CONDITIONING | β |
| refiner_negative | CONDITIONING | β |
| refiner_clip | CLIP | β |
| latent | LATENT | β |
| seed | INT | β |
| width | INT | β |
| height | INT | β |
| pos_string | STRING | β |
| neg_string | STRING | β |