Flux.1 Kontext Dev for ComfyUI – The Ultimate Local Editing Workflow
The “Flux.1 Kontext Dev” workflow integrates the brand-new open-source model FLUX.1 Kontext Dev (12B parameters) directly into ComfyUI (v0.3.42+), supporting local execution with no external APIs. Designed for advanced image editing and iterative prompting, it allows detailed transformations while preserving identity, lighting, pose, and composition.
Ideal for creators, developers, and researchers who want a scalable, offline solution for character and scene editing.
✅ Key Features
- Context-aware editing: precisely modify objects, faces, lighting, or background without breaking the visual coherence.
- Subject consistency: preserves identity, expressions, clothing, and geometry across iterations.
- Fully offline: no need for APIs or cloud—runs entirely on your GPU.
- Supports iterative and multi-turn prompting: optimized for step-by-step transformations, LLM-style input adapted to visuals.
- Available in FP8/BF16/FP4/GGUF: compatible with both consumer-grade and pro GPUs (RTX, A100, H100).
📦 What’s Included
- Ready-to-use
.json
ComfyUI workflow - Installation instructions and folder structure
- Prompt examples for editing, restyling, object removal, replacement, and style transfer
- Before/after image samples
👥 Who Is It For?
- AI artists, content creators, digital designers
- ComfyUI power users and workflow developers
- Research teams working on virtual try-on, fashion AI, product editing
- Anyone seeking a high-quality, local editing solution
🚀 Technical Requirements
📁 Required Custom Nodes:
- LayerStyle Advance
https://github.com/chflame163/ComfyUI_LayerStyle - Rgthree UI Enhancements
https://github.com/rgthree/rgthree-comfy - Easy-Use Utility Nodes
https://github.com/yolain/ComfyUI-Easy-Use - UltimateSD Upscaler
https://github.com/ssitu/ComfyUI_UltimateSDUpscale - Detail Daemon (high-res pass control)
https://github.com/Jonseed/ComfyUI-Detail-Daemon - WaveSpeed (token performance enhancement)
https://github.com/chengzeyi/Comfy-WaveSpeed
🎨 Optional Recommended LoRA:
-
FLUX Pro 1.1 Style LoRA – Extreme Detailer
https://civitai.com/models/832683/flux-pro-11-style-lora-extreme-detailer-for-flux-illustriousEnhances fine textures and visual fidelity—perfect for fashion, portrait, and character polish.
📌 Quick Setup Guide
- Update ComfyUI to version v0.3.42 or later
- Download all
.safetensors
model files (see links below) - Place them in the correct folders (
models/checkpoints
,vae
,clip
,text_encoder
) - Install the custom nodes listed above
- Load the
.json
workflow into ComfyUI and start prompting
🔗 Useful Links
- Official FLUX.1 Kontext Dev Blog Post:
https://blog.comfy.org/p/flux1-kontext-dev-day-0-support - Installation guide & folder structure:
https://comfyanonymous.github.io/ComfyUI_examples/flux/ - FLUX.1 Kontext Dev Model (HuggingFace):
https://huggingface.co/bf-labs/FLUX.1-Kontext-dev - Prompt Guide (ComfyUI Wiki):
https://comfyui-wiki.com/en/tutorial/advanced/image/flux/flux-1-kontext - Autoencoder (VAE):
https://huggingface.co/bf-labs/FLUX.1-Kontext-dev/blob/main/ae.safetensors - T5XXL Text Encoder (fp16):
https://huggingface.co/bf-labs/FLUX.1-Kontext-dev/blob/main/t5xxl_fp16.safetensors - CLIP-L Encoder:
https://huggingface.co/bf-labs/FLUX.1-Kontext-dev/blob/main/clip_l.safetensors - ComfyUI (v0.3.42 release):
https://github.com/comfyanonymous/ComfyUI/releases
Update – Multi-Image Workflow for Flux.1 Kontext Dev
This updated ComfyUI workflow allows you to feed multiple images into Flux.1 Kontext Dev with stitched input (vertical or horizontal), enabling multi-reference editing.
It also introduces configurable output resolution, giving you full control over the size and detail of the final image.
Optimized for local workflows – no APIs, no limits.
Ideal for consistent subject editing, virtual try-on, and creative scene composition.
Update 01-07-2025 – Auto Mask & Background Replace
This updated ComfyUI workflow adds automatic subject masking and clean background replacement using Flux.1 Kontext Dev.
Preserves 100% product consistency while replacing the environment with your custom prompt – perfect for e-commerce, automotive galleries, and product catalogs.
Supports batch or single-image use. No APIs required – fully local.
Ideal for visual unification without touching the original subject.
Update 01-07-2025 – Lighting & Weather Shift Add-on
This update adds a new micro-workflow to Flux.1 Kontext Dev for ComfyUI, focused on changing ambient light and atmospheric conditions with a single prompt.
Preserves 100% of the subject and composition while simulating different times of day or weather – from sunlight to fog, night, rain, or dramatic backlight.
Perfect for architecture, interiors, fashion scenes, and product moodboards.
No LoRA, no masking, no retrain required – fully local and seamless.
Update 01-07-2025 – Prompt Automator_ Lighting & Weather
This add-on introduces a layer of automation to Flux.1 Kontext DEV for ComfyUI, allowing dynamic control over ambient lighting and weather conditions through a single parametric tag.
• Instantly simulate dawn, golden hour, blue hour, night, fog, rain, or dramatic backlight without altering the subject or framing.
• Delivers consistent and repeatable output through deterministic seed control.
• Perfect for architecture, interior visualization, fashion sets, and product moodboards requiring fast atmospheric variations.
Update 01-07-2025 – CineColor Prompt Generator
Extends the Flux.1 Kontext DEV toolkit with a cinematic color generation system inspired by over 1,000 films, each linked to a distinctive and recognizable visual palette.
• Applies cinematic looks directly through dynamic prompts—no LUTs or post-production grading required.
• Includes tonal, contrast, and saturation shifts inspired by iconic films, from '50s noir to contemporary blockbusters.
• Ideal for fashion editorials, automotive, still life, and high-impact conceptual imagery.
• Edits are focused solely on color grading, preserving the original subject, framing, and composition.
Update 04-07-2025 – Smart Retouch & Replace
Expands the Flux.1 Kontext DEV toolkit with powerful selective editing capabilities, enabling localized image retouch and object replacement with full compositional integrity.
• Integrates the ✂️ Inpaint Crop (Improved) module for precise region-based edits without degrading global quality.
• Modify faces, accessories, backgrounds, or product details with a single contextual prompt.
• Allows for multiple iterations with consistent results, ideal for batch editing and prompt refinement.
• No mirroring, scaling, or recomposition: the original framing and character integrity are preserved.
• Enables ultra-fast creative variations—fashion edits, virtual try-on, advertising assets—with pinpoint control.