3.2 KiB
3.2 KiB
- Top
- Node / Image Node / Text Node / XYPlot Node / Float Palet
- Workflow
Node
🍅 Image Node
D2 Preview Image
- Click the
Popup Imagebutton to display the full-screen gallery
D2 Load Image
- Load Image node that can extract prompts from images
- Compatible with images created in StableDiffusion webui A1111 and NovelAI
- Includes a button to open mask editor
Input
image_path- Loads file when image path is input
- Used for connection with
D2 Folder Image Queue
Output
IMAGE / MASK- Image and mask
width / height- Image size
positive/negative- Prompts
Note: Prompts may not be retrievable depending on workflow configuration. For example, they cannot be retrieved without a node containing the string "KSampler" (e.g., Tiled KSampler).
D2 Load Folder Images
- Batch loads and outputs images from a folder
- Used with
D2 Grid Imageetc. - Use
D2 Folder Image Queuefor sequential processing
Input
folder- Specify folder in full path
extension- Specify like
*.jpgto load only JPEG images - Can also specify patterns like
*silver*.webp
- Specify like
D2 Folder Image Queue
- Outputs paths of images in a folder
- Automatically executes Queue for the number of images when Queue is run
Input
folder- Image folder
extension- Specify file name filter
*.*: All images*.png: PNG format only
start_at- Image number to start processing
auto_queuetrue: Automatically execute remaining Queuesfalse: Execute only once
Output
image_path- Full path of image
D2 Grid Image
- Outputs grid images
- Supports both horizontal and vertical alignment
Input
max_columns- Number of images to align horizontally
- When
swap_dimensionsistrue, this becomes the number of vertical images
grid_gap- Spacing between images
swap_dimensionstrue: Vertical alignmentfalse: Horizontal alignment
trigger_count- Outputs grid image when the number of input images reaches this specified value
Image count- Number of input images
Reset Images- Discards all input images
D2 Image Stack
- Outputs multiple input images together
- Can input up to 50 images
Input
image_count- Can increase/decrease number of inputs. Maximum 50
D2 EmptyImage Alpha
- Adds alpha channel (transparency) to EmptyImage