Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

FLUX.1 Kontext [dev]

Flux 2 Kontext Dev by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.
API 文件
bfl/flux-2/kontext/dev

Flux 2 Kontext Dev by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

試用這個模型

Playground

開啟 playground
輸入
The prompt to edit the image.

PNG、JPEG、WebP 或 GIF · 最多 20 MiB

The URL of the image to edit. Max width: 14142px, Max height: 14142px, Timeout: 20s
進階設定
120
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. 範圍:1 到 20。
1050
The number of inference steps to perform. 範圍:10 到 50。
Output format
Determines how the output resolution is set for image editing. - `auto`: The model selects an optimal resolution from a predefined set that best matches the input image's aspect ratio. This is the recommended setting for most use cases as it's what the model was trained on. - `match_input`: The model will attempt to use the same resolution as the input image. The resolution will be adjusted to be compatible with the model's requirements (e.g. dimensions must be multiples of 16 and within supported limits). Apart from these, a few aspect ratios are also supported.
The same seed and the same prompt given to the same version of the model will output the same image every time.
結果
範例
  1. 4f32256b-22fa-4ee3-8a38-31d0fa466211.jpeg

    接下來您想做什麼?

    開啟原始檔

已儲存的範例結果。未要求新的生成。

顯示的執行預估:$0.025。最終費用將依下方模型計費規則計算。

人工偏好

Arena

由盲測並排投票得出的 Elo 評分,與其他圖片與影片模型相比。

排名來源:Artificial Analysis Arena

排行榜
圖片編輯
排名
#79 共 85
Elo
883 ±19
與第 1 名差距
−328

圖片編輯 arena:使用者在不看模型名稱的情況下,從同一張圖片和指令的兩種編輯結果中選出較佳者。

  1. #74FIBO EditBria917±18
  2. #75FLUX.1 Kontext [pro]Black Forest Labs914±18
  3. #76SeedEdit 3.0ByteDance Seed900±18
  4. #77LongCat ImageMeituan896±18
  5. #78Qwen Image EditAlibaba在 SandBase 上887±18
  6. #79FLUX.1 Kontext [dev]Black Forest Labs此模型883±19
  7. #80HiDream-O1-Image-DevHiDream878±14
  8. #81GLM-ImageZ AI828±20
  9. #82BagelBytedance782±23
  10. #83OmniGen V2VectorSpaceLab781±21

FLUX.1 Kontext [dev]

FLUX.1 Kontext [dev] edits a single image from an instruction: change objects, text, or style while keeping the rest consistent.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
imageimage URL, required—Image to edit. JPEG, PNG, or WebP URL.
guidance_scalenumber 1–202.5How strictly to follow the prompt.
num_inference_stepsinteger 10–5028More steps add detail and time.
output_formatjpeg / pngjpegOutput file format.
resolution_modeauto / match_input / 1:1 / 16:9 / 21:9 / 3:2 / 2:3 / 4:5 / 5:4 / 3:4 / 4:3 / 9:16 / 9:21match_inputmatch_input keeps the input size; or choose a ratio.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.025 per image.

RequestPrice
One image$0.025

Failed runs are not charged.

Prompting

  • State the change and what must stay the same.

Limits

  • One input image.

Also on SandBase

Related: bfl/flux-2/dev/edit (FLUX.2, multi-image).