'FLUX.1 Kontext [dev]'
is a 12 billion parameter rectified flow transformer capable of editing images based on text instructions. It was developed by
Black Forest Labs
.
For more info, read BFL's
blog
and
paper
(!).
Key Features
Change existing images based on an edit instruction.
Have character, style and object reference without any finetuning.
Robust consistency allows users to refine an image through multiple successive edits with minimal visual drift.
Trained using guidance distillation, making
FLUX.1 Kontext [dev]
more efficient.
Open weights to drive new scientific research, and empower artists to develop innovative workflows.
# Install diffusers from the main branch until future stable release
pip install git+https://github.com/huggingface/diffusers.git
Image colorization:
import torch
from diffusers import FluxKontextPipeline
from diffusers.utils import load_image
pipe = FluxKontextPipeline.from_pretrained("AlekseyCalvin/Flux_Kontext_Dev_fp8_scaled_diffusers", torch_dtype=torch.bfloat16)
pipe.to("cuda")
input_image = load_image("https://images.squarespace-cdn.com/content/v1/5691c07b69492ec8d7400b4c/1606213149449-YYZKF3NPCITJGMLM3VAG/Boris%2BPoplavsky.jpg")
image = pipe(
image=input_image,
prompt="Colorize this photograph. Crisp intricate textured detailing. Rich tonality. Crisp details. Chromatic richness and range. Make it indistinguishable from a top quality large-format UHD or 50MP+ or 12k+ professional photo taken using a DSLR camera in 2025, upscale quality and carefully restore any blemished or blurred details. Retain facial features and proportions with great fidelity to the source. Add fine textural detailing only where missing. Render tones consistent with real life. Leave everything else about the photo unchanged.",
guidance_scale=2.5
).images[0]
Or customize the prompt for other forms of editing.
Runs of AlekseyCalvin Flux_Kontext_Dev_fp8_scaled_diffusers on huggingface.co
56
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-1
30-day runs
More Information About Flux_Kontext_Dev_fp8_scaled_diffusers huggingface.co Model
More Flux_Kontext_Dev_fp8_scaled_diffusers license Visit here:
Flux_Kontext_Dev_fp8_scaled_diffusers huggingface.co is an AI model on huggingface.co that provides Flux_Kontext_Dev_fp8_scaled_diffusers's model effect (), which can be used instantly with this AlekseyCalvin Flux_Kontext_Dev_fp8_scaled_diffusers model. huggingface.co supports a free trial of the Flux_Kontext_Dev_fp8_scaled_diffusers model, and also provides paid use of the Flux_Kontext_Dev_fp8_scaled_diffusers. Support call Flux_Kontext_Dev_fp8_scaled_diffusers model through api, including Node.js, Python, http.
Flux_Kontext_Dev_fp8_scaled_diffusers huggingface.co is an online trial and call api platform, which integrates Flux_Kontext_Dev_fp8_scaled_diffusers's modeling effects, including api services, and provides a free online trial of Flux_Kontext_Dev_fp8_scaled_diffusers, you can try Flux_Kontext_Dev_fp8_scaled_diffusers online for free by clicking the link below.
AlekseyCalvin Flux_Kontext_Dev_fp8_scaled_diffusers online free url in huggingface.co:
Flux_Kontext_Dev_fp8_scaled_diffusers is an open source model from GitHub that offers a free installation service, and any user can find Flux_Kontext_Dev_fp8_scaled_diffusers on GitHub to install. At the same time, huggingface.co provides the effect of Flux_Kontext_Dev_fp8_scaled_diffusers install, users can directly use Flux_Kontext_Dev_fp8_scaled_diffusers installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Flux_Kontext_Dev_fp8_scaled_diffusers install url in huggingface.co: