ComfyUI Extension: comfyui-shadow-outline
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
One node for ComfyUI that takes an image with alpha after background removal and returns either shadow only or outline only.
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI Shadow/Outline Node
One node for ComfyUI that takes an IMAGE with alpha after background removal and returns either:
- shadow only
- outline only
Install
- Create this folder:
ComfyUI/custom_nodes/comfyui-shadow-outline - Put these files into it:
__init__.pyshadow_effect_node.py
- Restart ComfyUI
Node location
image/wps -> Shadow Or Outline From Alpha
Input
image— PNG/IMAGE with alpha after rembg or any other background removal step
Modes
shadow— creates a separate shadow from the silhouetteoutline— creates a separate outline without the original subject
General settings
threshold— removes weak alpha noise before creating the effect
Outline settings
outline_thickness— outline thicknessoutline_feather— softens outline edgesoutline_r/g/b— outline coloroutline_opacity— outline opacity
Shadow settings
shadow_blur— shadow softnessshadow_expand— silhouette expansion before blurshadow_offset_x,shadow_offset_y— shadow offsetshadow_opacity— shadow opacityshadow_r/g/b— shadow color
Recommended values
For shadow
mode = shadowthreshold = 10shadow_blur = 18shadow_expand = 4shadow_offset_x = 0shadow_offset_y = 16shadow_opacity = 0.28shadow_r/g/b = 0/0/0
For outline
mode = outlinethreshold = 10outline_thickness = 8outline_feather = 2outline_opacity = 1.0outline_r/g/b = 0/0/0
Important
This node expects the input image to already contain an alpha channel. If the image has no alpha channel, the effect will be generated from the full rectangular image area.
Tips
- Increase
thresholdif rembg leaves faint edge noise. - Increase
outline_featherfor softer sticker-like outlines. - Increase
shadow_expandfor a wider shadow shape. - Increase
shadow_blurfor a softer shadow.
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.