---
title: "Flux Kontext"
method: POST
path: "/generate/image/bfl/flux-1-kontext-dev"
tags: ["Image"]
---

# Flux Kontext

`POST /generate/image/bfl/flux-1-kontext-dev`

Frontier model designed for image editing, optimized for Krea

## Headers

- `X-Webhook-URL` string, uri

## Request body

- object
  - `prompt` string, required
  - `seed` number
  - `steps` integer
  - `width` number
  - `height` number
  - `image_url` string, uri, nullable — Can be an external URL, base64 data URI, or uploaded asset URL.
  - `guidance_scale` number — Classifier-free guidance scale. Higher values follow the prompt more strictly. Default 3.0.
  - `style_images` object[] — Image prompts to use for the generation
    - `strength` number, required
    - `url` string, uri — Can be an external URL, base64 data URI, or uploaded asset URL.
  - `strength` number — Denoising strength when an input image is provided. 0 keeps the input image, 1 fully replaces it.

## Response `200`

The resulting job data. This will be returned in a pending state until the job is completed. See [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the results.

- object
  - `job_id` string, uuid, required
  - `status` 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` unknown, required
  - `result` unknown, required
  - `error` object
    - `code` string, required
    - `message` string

## Other responses

- `400` — The request body is invalid.
- `401` — You are not authenticated.
- `402` — You have run out of credits.
- `429` — You have reached the maximum number of concurrent jobs.

## Changes

- **2026-08-27** `dd9cc1c73731` — 1 breaking, 4 info
  - the `prompt` request property's minLength was increased from `0` to `1`
  - the `seed` request property default value changed from `317061788` to `1337`
  - the `steps` request property default value changed from `25` to `28`
  - the `height` request property's max was increased from `2368.00` to `8192.00`
  - …1 more
- **2026-08-26** `d1036e4be259` — 1 info
  - the `seed` request property default value changed from `3092248665` to `317061788`
- **2026-08-25** `c03d7b931978` — 1 info
  - the `seed` request property default value changed from `3378512399` to `3092248665`
- **2026-08-24** `8f0a18de01df` — 1 info
  - the `seed` request property default value changed from `734594549` to `3378512399`
- **2026-08-24** `acacd475540b` — 1 info
  - the `seed` request property default value changed from `3179271128` to `734594549`

[Full history](https://skmtc.dev/krea/apis/krea-api/changes/generate/image/bfl/flux-1-kontext-dev/post.md)

---

[API](https://skmtc.dev/krea/apis/krea-api.md) · [All operations](https://skmtc.dev/krea/apis/krea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/krea/krea-api/revisions/2294c76359be/schema)
