Skip to content
WorkflowListedExternal
Open source

Fast inpaint with cropping (Flux Klein 4b, 9b, etc) — v1.0

New version based on Qwen 2.1 (base,25 step). Inpainting resolution has been increased to 768x768.

TaskImage editFamilyFLUXVersionRelease 2707130 — Klein Inpaint with cropped mask.jsonEstimated VRAMNot yet characterizedBgrade

Runtime profile

Access
External workflow
Status
Listed
Version
Klein Inpaint with cropped mask.json
Source
Civitai
Updated
Oct 18, 2026

Source description

Qwen 2.1 description:

New version based on Qwen 2.1 (base,25 step). Inpainting resolution has been increased to 768x768.

v1 (Klein 4b-9b) discription:

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).

What you need

Model files
3.8 GiB known subtotal

Remaining hardware or download-size estimates are not available yet.

Requirements

Models

3

Node packs

3

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 using a mask: it crops the input image for processing and returns an inpainted image.

Flow

  • It puts a 512×512 crop into VRAM, or a larger crop when the mask is large, instead of the full image.

Inputs and outputs

  • Input: an image and a mask. Output: an inpainted image.

Setup

  • Version v1.0 is published by Led Xiii.

Dependencies

  • Required model files are flux-2-klein-4b-fp8.safetensors, flux2-vae.safetensors, and qwen_3_8b_fp8mixed.safetensors.

  • Required node packs are comfyui_essentials, comfyui-inpaint-cropandstitch, and rgthree-comfy.

Configuration

  • The named base model is Flux.2 Klein 4B.

  • It can also be used with Qwen or ZiT.

Cautions

  • Before use, verify that flux-2-klein-4b-fp8.safetensors is the intended model file.

    Suggestion · not verified

  • No usage license is listed; check the applicable terms before using the workflow.

    Suggestion

Does this need to be edited?

Sign in to send an edit request.

Sources

1 source
CivitaiPrimaryVersion 2707130
civitai.com/models/2407694

Verified Oct 18

Source excerpts

3 excerpts

Source context: 673 downloads · Type Workflows · Base model Flux.2 Klein 4B

Source context: 366 downloads · Type Workflows · Base model Flux.2 Klein 4B

Source context: 338 downloads · Type Workflows · Base model Flux.2 Klein 4B