跳到主要内容
Black Forest Labs检查中

FLUX 3 Klein / Image to Image

flux-3-klein-image-to-image

图生图输出: 图像输入: 文本 + 图像
正在加载价格…
官方原价 · 未验证

模型能力

Edit images using text instructions and reference images.

Resolution-based pricing · up to 4K

输入参数

仅列出此模型接受的字段。必填字段必须提供。

字段类型必填默认值可选值与约束
imageUrls
string[]必填—

Reference images, 1-10. One for single-image edit; multiple are referenced as Image 1 / Image 2 in order. Each image must be at most 16,777,216 pixels (about 4096x4096; total pixels, not side length), otherwise it is rejected.

≤ 10 items · HTTPS image URL or media:<uuid>

prompt
string必填—

Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits.

1–20000 chars

aspectRatio
string可选"auto"

Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.

可选值: "auto", "21:9", "2:1", "16:9", "3:2", "7:5", "4:3", "5:4", "1:1", "4:5", "3:4", "5:7", "2:3", "9:16", "1:2", "9:21"

resolution
string必填"1k"

Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.

可选值: "768sq", "1k", "1.5k", "2k", "4k"

seed
integer可选—

Random seed. Leave empty for random.

0–2147483647

steps
integer可选16

Sampling steps 1-16, default 16. Fewer is faster but may lower quality; price unchanged.

1–16

outputFormat
string可选"jpeg"

Output image format.

可选值: "jpeg", "png"

safetyTolerance
integer可选2

Moderation tolerance, 0 strictest to 4, default 2.

0–4

限制与行为

  • 仅支持异步:先提交任务,再轮询结果。
  • imageUrls: ≤ 10 items
  • prompt: 1–20000 chars
  • seed: 0–2147483647
  • steps: 1–16
  • safetyTolerance: 0–4
  • 媒体输入接受公开 HTTPS URL,或 POST /api/v1/media 返回的 media:<uuid> 引用。