Save Image With Alpha
KJNodes/imageOutput Node
SaveImageWithAlphaSaves an image and mask as .PNG with the mask as the alpha channel.
Example
JSON Example
{
"class_type": "SaveImageWithAlpha",
"inputs": {
"images": [
"node_id",
0
],
"mask": [
"node_id",
0
],
"filename_prefix": "ComfyUI"
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
images | IMAGE | required | - | - |
mask | MASK | required | - | - |
filename_prefix | STRING | required | - | "ComfyUI" |
Outputs
This node has no outputs.
Was this page helpful?