Make Basic Pipe (Inspire)
Checkpoint, both prompts, and wildcards into one BASIC_PIPE
- vae_opt
- basic_pipe
- cache_key
A BASIC_PIPE is the Impact Pack's bundle-of-everything wire: model, clip, vae, positive, negative, all carried down a single connection so nodes like FaceDetailer and the Regional Sampler can take one input instead of five. This node builds that pipe in one shot - load the checkpoint, write both prompts, and it emits the BASIC_PIPE ready to plug in. The twist is it uses Wildcard Encode for the prompts, so your positive and negative can carry wildcards, dynamic {a|b|c} choices, and inline <lora:…> tags.
If your workflow leans on the Impact Pack, this is a genuine tidy-up. Instead of a Load Checkpoint plus two encoders plus a pipe-packer, one node produces the pipe everything downstream wants, with the full wildcard/LoRA prompt handling baked in. It's the kind of quality-of-life consolidation the whole Inspire Pack is built around.
How it works
Pick a ckpt_name and it loads the checkpoint. Your positive_wildcard_text and negative_wildcard_text run through the same Advanced CLIP encoding that Wildcard Encode uses, expanding wildcards and applying any inline LoRAs to the model and clip. It packs model, clip, vae, and the two conditionings into a basic_pipe and also returns a cache_key string tied to the checkpoint (useful with the pack's backend caching).
The inputs and outputs that matter
- ckpt_name - the checkpoint to load (empty dropdown = nothing in
models/checkpoints). - positive_wildcard_text / negative_wildcard_text - the two prompts, wildcard- and inline-LoRA-aware.
- wildcard_mode -
populate(reroll),fixed, orreproduce, same as Wildcard Encode. - weight_interpretation -
comfy,A1111,compel,comfy++,down_weight. - stop_at_clip_layer - CLIP skip (default -2, the anime/Illustrious convention).
Outputs: basic_pipe (into FaceDetailer, Regional Sampler, Regional Prompt Simple, etc.) and cache_key.
Installing it
ComfyUI Manager: search "Inspire Pack", install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack
Restart after. Because it builds an Impact Pack type and encodes like Wildcard Encode, it wants the same friends installed: the Impact Pack (for BASIC_PIPE and wildcards) and BlenderNeko's Advanced CLIP Text Encode.
Where people get tripped up
The output is a BASIC_PIPE, which is an Impact Pack type - it's not much use unless you're feeding an Impact node (or an Inspire node that consumes a pipe). If nothing downstream accepts a pipe, you don't need this; a plain checkpoint loader and encoders are simpler. And the wildcard/LoRA handling only pays off with the Impact Pack and Advanced CLIP encoder present, so install those alongside it. One more: stop_at_clip_layer defaults to -2, which is right for anime-lineage models but will subtly soften results on models tuned for -1 - set it to match your checkpoint rather than leaving it on autopilot.
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| ckpt_name | COMBO | 0 options: | |
| ckpt_key_opt | STRING | — | |
| positive_wildcard_text | STRING | — | |
| negative_wildcard_text | STRING | — | |
| Add selection to | BOOLEAN | true | — |
| Select to add LoRA | COMBO | 1 options: Select the LoRA to add to the text | |
| Select to add Wildcard | COMBO | 1 options: Select the Wildcard to add to the text | |
| wildcard_mode | COMBO | populate | populate: Before running the workflow, it overwrites the existing value of 'populated_text' with the prompt processed from 'wildcard_text'. In this mode, 'populated_text' cannot be edited. fixed: Ignores wildcard_text and keeps 'populated_text' as is. You can edit 'populated_text' in this mode. reproduce: This mode operates as 'fixed' mode only once for reproduction, and then it switches to 'populate' mode. |
| positive_populated_text | STRING | — | |
| negative_populated_text | STRING | — | |
| token_normalization | COMBO | 4 options: none, mean, length, length+mean | |
| weight_interpretation | COMBO | comfy++ | 5 options: comfy, A1111, compel, comfy++, down_weight |
| stop_at_clip_layer | INT | -2-24–-1 | — |
| seed | INT | 00–18446744073709550000 | — |
| vae_optopt | VAE | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| basic_pipe | BASIC_PIPE | — |
| cache_key | STRING | — |