REAL TIME INPAINTING WORKFLOW — v1.0
Just rolled out a real-time inpainting pipeline using SAM2 and Comfystream , running on an 4090 via RunPod. Followed this guide to get runpod template and required models.
Runtime profile
- Access
- External workflow
- Status
- Listed
- Source
- Civitai
- Updated
- Sep 7, 2026
Source description
Real-Time Inpainting Workflow
Just rolled out a real-time inpainting pipeline using SAM2 and Comfystream , running on an 4090 via RunPod. Followed this guide https://pipelines.livepeer.org/docs/technical/getting-started/install-comfystream#remote-gpu to get runpod template and required models.
Custom nodes:
SAM2 for segmentation: https://github.com/neverbiasu/ComfyUI-SAM2
Inpainting modules :
Crop Stitch: https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch
Impact Pack: https://github.com/ltdrdata/ComfyUI-Impact-Pack
I'll be sharing more real-time workflows soon— follow me on X to stay updated !
What you need
Hardware and download-size estimates are not available yet.
Requirements
Models
9CLIPLoader
PossibleText encoder · Unknown
CLIPText/model.fp16.safetensors
Not resolvedText encoder · Hugging Face · CLIPText/model.fp16.safetensors
control_v11f1p_sd15_depth_fp16.safetensors
Not resolvedControlNet · Unknown
GroundingDinoModelLoader (segment anything2)
File unverifiedSegmentation · Unknown
GroundingDinoSAM2Segment (segment anything2)
File unverifiedSegmentation · Unknown
SAM2ModelLoader (segment anything2)
File unverifiedSegmentation · Unknown
TorchCompileLoadVAE
File unverifiedVAE · Unknown
VAEDecode
PossibleVAE · Unknown
VAELoader
PossibleVAE · Unknown
Node packs
17CLIPTextEncode
PossibleNode pack · Unknown
ControlNetApplyAdvanced
PossibleNode pack · Unknown
ControlNetLoader
PossibleNode pack · Unknown
DepthAnythingTensorrt
FoundNode pack · Unknown
DifferentialDiffusion
Not resolvedNode pack · Unknown
Node pack · Unknown
GrowMask
PossibleNode pack · Unknown
ImageResize+
PossibleNode pack · Unknown
ImpactGaussianBlurMask
FoundNode pack · Unknown
InpaintCropImproved
FoundNode pack · Unknown
InpaintModelConditioning
PossibleNode pack · Unknown
InpaintStitchImproved
FoundNode pack · Unknown
KSampler
PossibleNode pack · Unknown
LoadImage
PossibleNode pack · Unknown
PreviewImage
PossibleNode pack · Unknown
TensorRTLoader
FoundNode pack · Unknown
TorchCompileLoadControlNet
FoundNode pack · Unknown
AI-generated commentary
AI-generated explanation based on source and configuration details. Suggestions are clearly labeled.
Purpose
Use this workflow to inpaint an input image: LoadImage names the image input, SAM2 handles segmentation, Crop Stitch and Impact Pack are the inpainting modules, and PreviewImage is the named preview output.
Flow
Other listed processing nodes include InpaintCropImproved, InpaintStitchImproved, KSampler, and VAEDecode.
Inputs and outputs
LoadImage is the named image input, and PreviewImage is the named preview output.
Setup
The described setup uses Comfystream on a 4090 via RunPod and links a remote-GPU guide for the RunPod template and required models.
Dependencies
Named node packs include ComfyUI-SAM2, ComfyUI-Inpaint-CropAndStitch, and ComfyUI-Impact-Pack.
Other listed node packs are ComfyUI-Depth-Anything-Tensorrt, ComfyUI-Torch-Compile, ComfyUI-Stream-Pack, and ComfyUI_TensorRT.
Other listed node names are CLIPLoader; CLIPTextEncode; ControlNetApplyAdvanced; ControlNetLoader; DepthAnythingTensorrt; DifferentialDiffusion; FeatureBankAttentionProcessor; GroundingDinoModelLoader (segment anything2); GroundingDinoSAM2Segment (segment anything2); GrowMask; I
Configuration
The listed base model is SD 1.5.
Cautions
Before use, check that your local files include CLIPText/model.fp16.safetensors and control_v11f1p_sd15_depth_fp16.safetensors.
Suggestion · not verified
Does this need to be edited?
Sign in to send an edit request.
Sources
1 source
Sources
1 sourceSource excerpts
1 excerpt
Source excerpts
1 excerptSource context: 142 downloads · Type Workflows · Base model SD 1.5
