Back to Nodes
Flux Kontext Dev

Flux Kontext Dev

Official

An open-weight, text-guided image editing model.

Nodespell AI
AI / Image / Black Forest Labs

An open-weight, text-guided image editing model.

Model Overview

FLUX.1 Kontext is a cutting-edge, open-weight model designed for advanced image editing using text prompts. It allows users to modify images with high precision and creativity, offering superior control and quality compared to many other image editing models.

Best At

This model excels at a wide range of image editing tasks, including:

  • Style Transfer: Applying artistic styles like watercolor, oil painting, or sketches.
  • Object and Clothing Modifications: Changing hairstyles, adding accessories, or altering colors.
  • Text Editing: Precisely replacing text within images (e.g., on signs or labels).
  • Background Swapping: Seamlessly changing the environment while maintaining the subject's integrity.
  • Character Consistency: Ensuring a subject's appearance remains consistent across multiple edits.

Limitations / Not Good At

While powerful, the model may perform less optimally with:

  • Highly abstract or nonsensical prompts.
  • Extremely complex scenes requiring fine-grained control over numerous small elements simultaneously.
  • Generating entirely new, photorealistic images from scratch (it's primarily an editing tool).

Ideal Use Cases

  • E-commerce: Modifying product images, changing backgrounds, or adding details.
  • Marketing: Creating visually appealing ad creatives and social media graphics.
  • Content Creation: Illustrating blog posts, articles, or presentations with unique visuals.
  • Graphic Design: Iterating on designs, changing text elements, or applying artistic effects.
  • Personalization: Customizing photos with specific stylistic changes or edits.

Input & Output Format

  • Input: An input image (JPEG, PNG, GIF, WEBP) and a text prompt describing the desired edits. Optional parameters include aspect ratio, inference steps, guidance scale, seed, output format, output quality, and safety checker disabling.
  • Output: A URI pointing to the edited image.

Performance Notes

  • The go_fast parameter can speed up generation at the cost of slight quality degradation for challenging prompts.
  • Offers control over num_inference_steps and guidance for balancing speed and quality.
  • Setting output_quality impacts file size and fidelity for formats like JPG, but not for PNG.

Model Examples (3)

Example Index01 / 03
Example 01

Example 1

Editorial wardrobe and background variation.

Source Inputs02
Prompt

Restyle the portrait as a clean editorial head-and-shoulders image with a charcoal suit jacket and cool gray background, keeping the face, gaze, crop, and realistic lighting.

Input Image
Example input
Parameters07
Prompt
Restyle the portrait as a clean editorial head-and-shoulders image with a charcoal suit jacket and cool gray background, keeping the face, gaze, crop, and realistic lighting.
Guidance
2.5
Aspect Ratio
match_input_image
Output Format
webp
Output Quality
80
Num Inference Steps
30
Disable Safety Checker
false
Image EditCharacterWardrobePortrait
Response
 output
Inputs (2)

Prompt

String

Text description of what you want to generate, or the instruction on how to edit the given image.

Multi InputMin: 0Max: 100

Input Image

String

Image to use as reference. Must be jpeg, png, gif, or webp.

Min: 0Max: 100
Parameters (8)

Seed

Number

Random seed for reproducible generation. Leave blank for random.

Default: -1

Prompt

String

Text description of what you want to generate, or the instruction on how to edit the given image.

Default:

Guidance

Number

Guidance scale for generation

Default: 2.5

Aspect Ratio

String

Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.

Default: match_input_image

Output Format

String

Output image format

Default: webp

Output Quality

Number

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Default: 80

Num Inference Steps

Number

Number of inference steps

Default: 30

Disable Safety Checker

Boolean

Disable NSFW safety checker

Default: false
Outputs (1)

Output

Inferred

Output

Nodespell

Nodespell

London

Building the future. Join us!

Creator profile

Type

Node

Status

Official

Package

Nodespell AI

Category

AI / Image / Black Forest Labs

Input

ImageText

Output

Image

Keywords

Image EditStyle TransferAspect ControlResolution Control
Use in Workflow