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

FLUX 3 / Image to Image

flux-3-image-to-image

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

参数

必填
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

resolution: string必填

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

常用参数
aspectRatio: string

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

高级参数 (2)
grounding: boolean

Allow web or image search before generation. On by default.

safetyTolerance: integer

Moderation tolerance, 0 strictest to 4, default 2. 0–4

请求预览

{
  "model": "flux-3-image-to-image",
  "input": {
    "aspectRatio": "auto",
    "resolution": "1k",
    "grounding": true,
    "safetyTolerance": 2
  }
}

网页 Playground 使用你的登录会话发送此请求体。在代码中请使用 API Key 发送相同内容。

预计费用

正在加载价格…

任务接收时预留额度,仅成功后扣费。失败任务释放预留额度;结果未确认时会保留额度,直到核实。