Insert any subject into images with mask or text guidance.
Who it's for: creators who want this pipeline in ComfyUI without assembling nodes from scratch. Not for: one-click results with zero tuning — you still choose inputs, prompts, and settings.
Open preloaded workflow on RunComfy
Open preloaded workflow on RunComfy (browser)
Why RunComfy first
- Fewer missing-node surprises — run the graph in a managed environment before you mirror it locally.
- Quick GPU tryout — useful if your local VRAM or install time is the bottleneck.
- Matches the published JSON — the zip follows the same runnable workflow you can open on RunComfy.
When downloading for local ComfyUI makes sense — you want full control over models on disk, batch scripting, or offline runs.
How to use (local ComfyUI)
1. Load inputs (images/video/audio) in the marked loader nodes.
2. Set prompts, resolution, and seeds; start with a short test run.
3. Export from the Save / Write nodes shown in the graph.
Expectations — First run may pull large weights; cloud runs may require a free RunComfy account.
Overview
Updated 6/16/2025: ComfyUI version updated to v0.3.40 for improved stability and compatibility. Insert Anything brings powerful reference-based image editing to ComfyUI, allowing you to seamlessly integrate elements from reference images into target scenes. Unlike other solutions that focus on specific tasks or require complex setup, this unified workflow supports both mask-guided and text-guided editing through an intuitive in-context approach. Create stunning face swaps, virtual try-ons, artistic compositions, and more - all while maintaining perfect visual harmony between the inserted elements and their surroundings. The Nunchaku version is optimized for lower VRAM usage (as low as 10GB), making advanced image editing accessible on more hardware configurations.
Important nodes:
SourceReferenceCR Prompt TextSrc_mask_optionRef_mask_optionLayerMask: Load SegmentAnything ModelsLayerMask: SegmentAnythingUltra V3detail_dilateprocess_detailmax_megapixels
Notes
Insert Anything in ComfyUI | Reference-Based Seamless Image Editing — see RunComfy page for the latest node requirements.
Description
Initial release — Insert-Anything.
