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

FLUX.2 Klein 9B / Image to Image

flux-2-klein-9b-image-to-image

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

模型能力

Edit an image from a text instruction.

Optional custom size · fixed price

输入参数

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

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

HTTPS image URL or media:<uuid>

prompt
string必填—
aspectRatio
string必填"9:16"

可选值: "1:1", "3:4", "4:3", "9:16", "16:9", "2:3", "3:2", "custom", "auto"

customWidth
integer可选1024

256–1536

customHeight
integer可选1024

customHight

256–1536

outputFormat
string必填"png"

可选值: "png", "jpeg", "webp(lossless)", "webp(lossy)"

限制与行为

  • 仅支持异步:先提交任务,再轮询结果。
  • customWidth: 256–1536
  • customHeight: 256–1536
  • 媒体输入接受公开 HTTPS URL,或 POST /api/v1/media 返回的 media:<uuid> 引用。