This workflow is not state of the art anymore, please refer to the Flux.1 Fill and the official comfyui workflows for your inpainting and outpainting needs. Details below:
Perfil de ejecución
Descripción de la fuente
Notice
This workflow is not state of the art anymore, please refer to the Flux.1 Fill and the official comfyui workflows for your inpainting and outpainting needs. Details below:
Black forest labs has since released official flux 1 tools: https://blackforestlabs.ai/flux-1-tools/
The tools include the Flux.1 Fill [dev] model which is better than the alimama controlnet used in this workflow.
There is native comfyui support for the flux 1 tools: which you should use for your inpainting and outpainting needs.
Comentario generado por IA
Explicación generada por IA basada en los detalles de la fuente y la configuración. Las sugerencias están claramente identificadas.
Flux Inpaint and Outpaint Workflow is a ComfyUI workflow for inpainting and outpainting, using an image and mask information and providing image previews and saved images.
The graph includes LoadImage for an image, with ImageToMask and MaskComposite for mask handling.
PreviewImage and SaveImage are listed for image previews and saved images.
The instructions place FLUX.1-Turbo-Alpha.safetensors in models/loras/flux and FLUX.1-dev-Controlnet-Inpainting-Beta-fp8.safetensors in models/controlnet.
For a 16GB VRAM setup, the instructions say to rename diffusion_pytorch_model.safetensors and convert it to FP8 with Kijai’s script.
The listed model files are ae.safetensors; FLUX.1-dev-Controlnet-Inpainting-Beta-fp8.safetensors; FLUX.1-Turbo-Alpha.safetensors; flux1-dev-fp8-e4m3fn.safetensors; t5xxl_fp8_e4m3fn_scaled.safetensors; and ViT-L-14-BEST-smooth-GmP-TE-only-HF-format.safetensors.
The listed add-ons are ComfyUI-KJNodes and comfyui_segment_anything.
The author describes alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta and alimama-creative/FLUX.1-Turbo-Alpha as the model pair for eight-step inpainting and outpainting in one workflow.
The author lists automatic segmentation as an option for systems with more than 16GB VRAM.
Before setup, verify the diffusion model filename: the instructions name flux1-dev-fp8-e4m3fb.safetensors, while the listed model file is flux1-dev-fp8-e4m3fn.safetensors.
Sugerencia · sin verificar
The author says this workflow is no longer state of the art and will not be updated; for current inpainting or outpainting, they point to Flux.1 Fill and the official ComfyUI workflows.
Sugerencia
¿Es necesario editarlo?
Inicia sesión para solicitar una edición.
Fuentes
1 fuenteExtractos de fuentes
3 extractosSource context: 10215 downloads · Type Workflows · Base model Flux.1 D
You can grab the official comfyui inpaint and outpaint workflows from: https://comfyanonymous.github.io/ComfyUI_examples/flux/ by downloading the images (workflow embedded within the images) and opening them in comfyui.
If you have low VRAM, you can download the fp8 version of the Flux.1 Fill [dev] model from here: https://civitai.com/models/969431/flux-fill-fp8
This workflow will not be updated anymore because there is nothing I have to add to the official comfyui inpaint and outpaint workflows.
Introduction
The latest version of this workflow uses
alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta
alimama-creative/FLUX.1-Turbo-Alpha
to achieve 8 steps inpainting and outpainting within the same workflow.
Models
FLUX.1-Turbo-Alpha.safetensors (models/loras/flux) https://huggingface.co/alimama-creative/FLUX.1-Turbo-Alpha
FLUX.1-dev-Controlnet-Inpainting-Beta-fp8.safetensors (models/controlnet) https://huggingface.co/alimama-creative/FLUX.1-dev-Controlnet-Inpainting-Beta
Download diffusion_pytorch_model.safetensors, rename the file and use Kijai's script ( https://huggingface.co/Kijai/flux-fp8/discussions/7#66ae0455a20def3de3c6d476 ) to convert to FP8 to be able to fit into 16GB VRAM.
flux1-dev-fp8-e4m3fb.safetensors (models/diffusion_models/flux): https://huggingface.co/Kijai/flux-fp8/tree/main
t5xxl_fp8_e4m3fn_scaled.safetensors (models/clip): https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main
ViT-L-14-BEST-smooth-GmP-TE-only-HF-format.safetensors (models/clip): https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/tree/main
Custom Nodes
segment anything (if you have > 16GB VRAM and want to use automatic segmentation)
Various ComfyUI Nodes by Type
KJNodes for ComfyU
Requisito de VRAM estimado
Estimación no disponible
320 MB en 1 de 12 archivos de modelos. Total de archivos de modelos + 25 % de sobrecarga de carga + 2 GB de margen de ejecución, redondeado hacia arriba.
Requisitos
36 requisitosae.safetensors
EncontradoVAE · 320 MB · SAFETENSORS · Unknown
DualCLIPLoader
PosibleText encoder · Unknown
FLUX.1-dev-Controlnet-Inpainting-Beta-fp8.safetensors
Archivo sin verificarControlNet · Unknown
FLUX.1-Turbo-Alpha.safetensors
No resueltoLoRA · Unknown
flux1-dev-fp8-e4m3fn.safetensors
Archivo sin verificarCheckpoint · Unknown · SHA-256 47d8dbdc6da6
GroundingDinoModelLoader (segment anything)
Archivo sin verificarSegmentation · Unknown · comfyui_segment_anything
GroundingDinoSAMSegment (segment anything)
Archivo sin verificarSegmentation · Unknown · comfyui_segment_anything
SAMModelLoader (segment anything)
Archivo sin verificarSegmentation · Unknown · comfyui_segment_anything
t5xxl_fp8_e4m3fn_scaled.safetensors
Archivo sin verificarText encoder · Unknown
VAEDecode
PosibleVAE · Unknown
VAELoader
PosibleVAE · Unknown
ViT-L-14-BEST-smooth-GmP-TE-only-HF-format.safetensors
No resueltoText encoder · Unknown
Any Switch (rgthree)
No resueltoPaquete de nodos · Unknown
BasicScheduler
PosiblePaquete de nodos · Unknown
CFGGuider
No resueltoPaquete de nodos · Unknown
Source context: 10205 downloads · Type Workflows · Base model Flux.1 D
Source context: 10194 downloads · Type Workflows · Base model Flux.1 D
Paquete de nodos · Unknown
ConditioningZeroOut
PosiblePaquete de nodos · Unknown
ControlNetInpaintingAliMamaApply
No resueltoPaquete de nodos · Unknown
ControlNetLoader
PosiblePaquete de nodos · Unknown
EmptySD3LatentImage
No resueltoPaquete de nodos · Unknown
GetImageSizeAndCount
PosiblePaquete de nodos · Unknown
Paquete de nodos · Unknown
ImageAndMaskPreview
PosiblePaquete de nodos · Unknown
ImagePadForOutpaint
PosiblePaquete de nodos · Unknown
ImageToMask
PosiblePaquete de nodos · Unknown
JWImageResizeToClosestSDXLResolution
No resueltoPaquete de nodos · Unknown
KSamplerSelect
PosiblePaquete de nodos · Unknown
LoadImage
PosiblePaquete de nodos · Unknown
LoraLoader
PosiblePaquete de nodos · Unknown
MaskComposite
PosiblePaquete de nodos · Unknown
MaskToImage
PosiblePaquete de nodos · Unknown
PreviewImage
PosiblePaquete de nodos · Unknown
RandomNoise
No resueltoPaquete de nodos · Unknown
SamplerCustomAdvanced
No resueltoPaquete de nodos · Unknown
SaveImage
PosiblePaquete de nodos · Unknown
UNETLoader
PosiblePaquete de nodos · Unknown