lucataco/flux-kontext-dev 🔢🖼️📝❓ → 🖼️

▶️ 662 runs 📅 Jul 2025 ⚙️ Cog 0.15.9 🔗 GitHub 📄 Paper ⚖️ License
image-editing image-to-image

About

Open-weight version of FLUX.1 Kontext via Hugging Face Diffusers

Example Output

Prompt:

"Change the car color to red, turn the headlights on"

Output

Example output

Performance Metrics

14.62s Prediction Time
14.63s Total Time
All Input Parameters
{
  "seed": -1,
  "image": "https://replicate.delivery/pbxt/NHwfkxwNVUCK9MtHcEgXMrZ9N01ejRZhTAmXpUsIlbIk8xOX/yellow-car-1024.jpg",
  "prompt": "Change the car color to red, turn the headlights on",
  "aspect_ratio": "match_input_image",
  "guidance_scale": 2.5,
  "num_inference_steps": 28
}
Input Parameters
seed Type: integerDefault: -1
Random seed. Set -1 to randomize the seed
image (required) Type: string
Input image to edit
prompt (required) Type: string
Text instruction describing the edit to make
aspect_ratio Default: match_input_image
Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
guidance_scale Type: numberDefault: 2.5Range: 1 - 10
Guidance scale for generation. Higher values follow the prompt more closely.
num_inference_steps Type: integerDefault: 28Range: 1 - 50
Number of inference steps
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Using seed: 47159
Editing image with prompt: 'Change the car color to red, turn the headlights on'
Generation `height` and `width` have been adjusted to 832 and 1232 to fit the model requirements.
  0%|          | 0/28 [00:00<?, ?it/s]
  4%|▎         | 1/28 [00:00<00:12,  2.14it/s]
  7%|▋         | 2/28 [00:00<00:09,  2.61it/s]
 11%|█         | 3/28 [00:01<00:10,  2.36it/s]
 14%|█▍        | 4/28 [00:01<00:10,  2.26it/s]
 18%|█▊        | 5/28 [00:02<00:10,  2.20it/s]
 21%|██▏       | 6/28 [00:02<00:10,  2.18it/s]
 25%|██▌       | 7/28 [00:03<00:09,  2.16it/s]
 29%|██▊       | 8/28 [00:03<00:09,  2.14it/s]
 32%|███▏      | 9/28 [00:04<00:08,  2.13it/s]
 36%|███▌      | 10/28 [00:04<00:08,  2.13it/s]
 39%|███▉      | 11/28 [00:05<00:08,  2.12it/s]
 43%|████▎     | 12/28 [00:05<00:07,  2.12it/s]
 46%|████▋     | 13/28 [00:05<00:07,  2.12it/s]
 50%|█████     | 14/28 [00:06<00:06,  2.12it/s]
 54%|█████▎    | 15/28 [00:06<00:06,  2.12it/s]
 57%|█████▋    | 16/28 [00:07<00:05,  2.11it/s]
 61%|██████    | 17/28 [00:07<00:05,  2.11it/s]
 64%|██████▍   | 18/28 [00:08<00:04,  2.11it/s]
 68%|██████▊   | 19/28 [00:08<00:04,  2.11it/s]
 71%|███████▏  | 20/28 [00:09<00:03,  2.11it/s]
 75%|███████▌  | 21/28 [00:09<00:03,  2.11it/s]
 79%|███████▊  | 22/28 [00:10<00:02,  2.11it/s]
 82%|████████▏ | 23/28 [00:10<00:02,  2.11it/s]
 86%|████████▌ | 24/28 [00:11<00:01,  2.11it/s]
 89%|████████▉ | 25/28 [00:11<00:01,  2.12it/s]
 93%|█████████▎| 26/28 [00:12<00:00,  2.12it/s]
 96%|█████████▋| 27/28 [00:12<00:00,  2.11it/s]
100%|██████████| 28/28 [00:13<00:00,  2.12it/s]
100%|██████████| 28/28 [00:13<00:00,  2.14it/s]
Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.
Version Details
Version ID
e2a2a6f122724dd95ecc0e8e42c586cbdd512847de7851225ceefba2da197188
Version Created
July 2, 2025
Run on Replicate →