Basic inpaint workflow with nodes for cropping the input image. Instead of pushing the entire image into the VRAM, it only puts 512x512 there (or more if the mask is large). Klein 4b does this in seconds, instead of...
Runtime profile
Source description
Basic inpaint workflow with nodes for cropping the input image. Instead of pushing the entire image into the VRAM, it only puts 512x512 there (or more if the mask is large). Klein 4b does this in seconds, instead of tens of seconds. On the 9b model the speed increase is also noticeable. If desired, it can be used on any other model (Qwen, ZiT).
Estimated VRAM requirement
20 GB estimated
12.2 GB of model files. Model file total + 25% loading overhead + 2 GB execution buffer, rounded up.
Requirements
6 requirementsAI-generated commentary
AI-generated explanation based on source and configuration details. Suggestions are clearly labeled.
Use this workflow for image inpainting: it takes an input image and mask, crops the masked area for processing, and produces an inpainted image.
It uses a 512×512 crop, or a larger crop when the mask is large, instead of placing the full image in VRAM.
Provide an image and mask; the output is an inpainted image.
This workflow is version v1.0 and was published by Led Xiii.
The listed model files are flux-2-klein-4b-fp8.safetensors, flux2-vae.safetensors, and qwen_3_8b_fp8mixed.safetensors.
The listed node packs are comfyui_essentials, comfyui-inpaint-cropandstitch, and rgthree-comfy.
The listed node-pack versions are comfyui_essentials 9d9f4bedfc9f0321c19faf71855e228c93bd0dc9, comfyui-inpaint-cropandstitch 3.0.8, and rgthree-comfy 1.0.2512112053.
Flux.2 Klein 4B is the named base model.
The description says it can also be used with Qwen or ZiT.
Before using it, verify that flux2-vae.safetensors is the VAE you intend to use; its listed match is not confirmed.
Suggestion · not verified
No model-use license is listed, so check the usage terms before using it.
Suggestion
Does this need to be edited?
Sign in to send an edit request.
Sources
1 sourceSource excerpts
2 excerptsSource context: 366 downloads · Type Workflows · Base model Flux.2 Klein 4B
Checkpoint · 3.79 GB · SAFETENSORS · fp8 · Hugging Face · black-forest-labs/FLUX.2-klein-4b-fp8
VAE · 321 MB · Hugging Face · Comfy-Org/flux2-dev
Text encoder · 8.07 GB · SAFETENSORS · fp16 · Hugging Face · Comfy-Org/flux2-klein-9B
Node pack · Registry
Node pack · Registry
Source context: 338 downloads · Type Workflows · Base model Flux.2 Klein 4B
Node pack · Registry