ComfyUI Node: Attn2 SVD Prompt Injection

Authored by DataCTE

Created

Updated

89 stars

Category

advanced/model

Inputs

model MODEL
all CONDITIONING
time_embed CONDITIONING
label_emb CONDITIONING
input_blocks_0 CONDITIONING
input_blocks_1 CONDITIONING
input_blocks_2 CONDITIONING
input_blocks_3 CONDITIONING
input_blocks_4 CONDITIONING
input_blocks_5 CONDITIONING
input_blocks_6 CONDITIONING
input_blocks_7 CONDITIONING
input_blocks_8 CONDITIONING
middle_block_0 CONDITIONING
middle_block_1 CONDITIONING
middle_block_2 CONDITIONING
output_blocks_0 CONDITIONING
output_blocks_1 CONDITIONING
output_blocks_2 CONDITIONING
output_blocks_3 CONDITIONING
output_blocks_4 CONDITIONING
output_blocks_5 CONDITIONING
output_blocks_6 CONDITIONING
output_blocks_7 CONDITIONING
output_blocks_8 CONDITIONING
weight FLOAT
start_at FLOAT
end_at FLOAT

Outputs

MODEL

Extension: Prompt Injection Node for ComfyUI

This custom node for ComfyUI allows you to inject specific prompts at specific blocks of the Stable Diffusion UNet, providing fine-grained control over the generated image. It is based on the concept that the content/subject understanding of the model is primarily contained within the MID0 and MID1 blocks, as demonstrated in the B-Lora (Content Style implicit separation) paper. Features. Inject different prompts into specific UNet blocks Three different node variations for flexible workflow integration Customize the learning rate of specific blocks to focus on content, lighting, style, or other aspects Potential for developing a 'Mix of Experts' approach by swapping blocks on-the-fly based on prompt content

Authored by DataCTE

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more