Flux Kontext Image Editing Native Support
5.0
0 reviewsDescription
https://www.reddit.com/r/StableDiffusion/comments/1lx8lot/kontext_presets_all_system_prompts/
https://huggingface.co/QuantStack/FLUX.1-Kontext-dev-GGUF
https://huggingface.co/mit-han-lab/nunchaku-flux.1-kontext-dev
https://docs.comfy.org/tutorials/flux/flux-1-kontext-dev
If you require high fidelity in image details, please avoid using the following nodes:
https://github.com/Zehong-Ma/ComfyUI-MagCache
https://github.com/ChenDarYen/ComfyUI-NAG
## π€ Prompt Verb Reference Table
| **Verb** Β Β | **Purpose** Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | **Example Prompt** Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β |
|-------------|-------------------------------------------------|------------------------------------------------------------------------------------|
| `Add` Β Β Β | Introduce new elements Β Β Β Β Β Β Β Β Β Β Β Β Β | Add ASCII style text only the single word "In", no additional letters Β Β Β Β Β Β Β |
| `Change` Β Β | Modify attributes or background Β Β Β Β Β Β Β Β | Change the background to a beach, keep the subject in the exact same position and pose |
| `Convert` Β | Transform visual form, style, or material Β Β Β | Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture |
| `Move` Β Β Β | Relocate subject or object Β Β Β Β Β Β Β Β Β Β Β | Move the dog to the left side, keeping its size and pose unchanged Β Β Β Β Β Β Β Β |
| `Preserve` Β | Explicitly define elements to remain untouched Β | Preserve facial expression and body position Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β |
| `Reduce` Β Β | Decrease intensity, size, or complexity Β Β Β Β | Reduce brightness while keeping color palette and composition unchanged Β Β Β Β Β Β |
| `Remove` Β Β | Delete objects or features Β Β Β Β Β Β Β Β Β Β Β | Remove all background people while preserving the subject's position and lighting Β |
| `Replace` Β | Swap one element for another Β Β Β Β Β Β Β Β Β Β | Replace 'joy' with 'BFL', maintain the same font style Β Β Β Β Β Β Β Β Β Β Β Β Β Β |
| `Rotate` Β Β | Turn camera or object perspective Β Β Β Β Β Β Β | Rotate the camera 180 degrees to view from behind Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β |
| `Switch` Β Β | Change orientation or view Β Β Β Β Β Β Β Β Β Β Β | Switch to side profile while keeping facial features unchanged Β Β Β Β Β Β Β Β Β Β |
| `Turn` Β Β Β | Reorient subject's body/facing direction Β Β Β Β | Turn the subject to face forward completely, including both head and body Β Β Β Β Β |
| `Transform` | Overhaul style or scene context Β Β Β Β Β Β Β Β | Transform to 1960s pop art style with bright colors and commercial graphics Β Β Β Β |
---
## β Best Practice Templates with Pitfalls
### 1. Basic Modifications
- β *Incorrect:* "Make the car red" Β
- β *Better:* "Change the car color to red while keeping the environment unchanged"
### 2. Style Transfer
- β *Incorrect:* "Make it a sketch" Β
- β *Better:* "Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture"
### 3. Character Consistency
- β *Incorrect:* "Transform the person into a Viking" Β
- β *Better:* "Change the clothes to be a Viking warrior while preserving facial features"
### 4. Composition Control
- β *Incorrect:* "Put her on a beach" Β
- β *Better:* "Change the background to a beach while keeping the person in the exact same position and pose"
### 5. Text Editing
- β *Incorrect:* "Write BFL instead of joy" Β
- β *Better:* "Replace 'joy' with 'BFL', maintain the same font style"
### 6. View Switching
- β *Incorrect:* "Make it a front view" Β
- β *Better:* "Turn the subject to face forward completely, including both head and body, while maintaining the same outfit, pose, and composition"
### 7. Perspective Rotation
- β *Incorrect:* "Show from behind" Β
- β *Better:* "Rotate the camera 180 degrees to view from behind while keeping the 3D style and lighting consistent"
### 8. Background Adjustment
- β *Incorrect:* "Add indoor background" Β
- β *Better:* "Replace the background with a bright indoor room while preserving lighting, subject position, and scale"
### 9. Lighting & Atmosphere
- β *Incorrect:* "Make it sunny" Β
- β *Better:* "Change to an early morning scene with soft golden sunlight and light mist, keeping architecture unchanged"
---
## π§ Core Prompting Principles
1. **Be Specific and Clear** β Use exact terms to define action and preserved elements
2. **Step-by-step Editing** β Separate large edits into logical, incremental changes
3. **Explicit Preservation** β Always declare what must remain unchanged (pose, lighting, expression, etc.)
4. **Action Verbs First** β Start prompts with strong, direct verbs (`change`, `replace`, `convert`, etc.)
5. **No Ambiguity** β Avoid vague instructions like βmake it betterβ or βtransform itβ without context
> FLUX.1 Kontext performs best when the prompt is precise, concrete, and directive.
Discussion
(No comments yet)
Loading...
Reviews
No reviews yet
Versions (5)
- latest (2 months ago)
- v20250629-120031
- v20250629-104927
- v20250627-102225
- v20250627-092456
Node Details
Primitive Nodes (12)
Anything Everywhere3 (1)
EmptySD3LatentImage (1)
FluxGuidance (2)
FluxKontextImageScale (1)
Image Comparer (rgthree) (2)
ImageStitch (1)
NunchakuFluxDiTLoader (1)
NunchakuTextEncoderLoaderV2 (1)
ReferenceLatent (2)
Custom Nodes (12)
ComfyUI
- VAEDecode (2)
- VAELoader (1)
- ConditioningZeroOut (2)
- KSampler (2)
- VAEEncode (1)
- LoadImage (2)
- CLIPTextEncode (2)
Model Details
Checkpoints (0)
LoRAs (0)