flux-3-image

别名Flux 3 Image
由 Black Forest Labs 提供图像

Flux 3 Image 支持文生图、参考图编辑、多图组合及提示词框选,可使用网页搜索辅助,最高 4K。

更新于:
参考图最多 10 张每个请求
分辨率4K最高输出档
返回方式异步凭 jobId 查询图像
计费优惠 40%官方定价
Forest streetwear — official Black Forest Labs flux-3-image showcaseForest streetwear示例 01
Mohair profile — official Black Forest Labs flux-3-image showcaseMohair profile示例 02
Rain-track racers — official Black Forest Labs flux-3-image showcaseRain-track racers示例 03
Chair construction diagram — official Black Forest Labs flux-3-image showcaseChair construction diagram示例 04
生成示例

Flux 3 官方成图示例

Adapted visual description; original generation prompt not published. Studio portrait with red lettering on a cream uniform and a vivid blue backdrop.

Adapted visual description; original generation prompt not published. A textured botanical poster with playful walking seedlings and decorative headline typography.

Adapted visual description; original generation prompt not published. A streetwear figure with an oversized hood and pink trousers on a woodland path.

Adapted visual description; original generation prompt not published. Fashion portrait combining reflective blue fibers, pastel checks, and dark studio lighting.

Adapted visual description; original generation prompt not published. Aerial landscape photography of a waterfall surrounded by dense vegetation and a winding trail.

Adapted visual description; original generation prompt not published. Overhead fashion photography with sculptural red fabric and tropical greenery.

Adapted visual description; original generation prompt not published. A collectible stamp featuring runners, textured paper, and a deep green presentation.

Adapted visual description; original generation prompt not published. An overhead editorial portrait with headphones, braided hair, and saturated orange lighting.

Adapted visual description; original generation prompt not published. A playful minimalist character constructed from a hat, eyes, and small legs.

模型能力

flux-3-image 能做什么

文生图

描述场景并明确选择宽高比和分辨率档位。

参考图编辑

通过 images 修改细节、调整画风或组合最多 10 张参考图。

提示词中的构图框

在提示词中用 0–1000 归一化坐标指明元素位置或编辑区域。

各模型的控制选项

Image 支持 grounding;Klein 支持成对宽高、随机种子、JPEG 或 PNG 输出,以及 1–16 个采样步。

计费

按操作计费,单位为 quota

按模型、操作和输出设置扣除 quota。

Flux 3 Image 生成与编辑官方定价
模型TTAPI 计费计费单位
flux-3-image比官方价低 40% / 张
API 请求

请求头与提交参数

使用 TTAPI 密钥,按下方字段向接口发送请求。

生成POST
/bfl/v1/flux-3-image

提交 Flux 3 异步任务,以生成、编辑或组合图像。

查看接口文档
查询结果GET
/flux/fetch

凭 jobId 查询任务状态及生成图像。

查看接口文档
POSThttps://api.ttapi.io/bfl/v1/flux-3-image

请求头

TT-API-KEYstring必填

填写 TTAPI API 密钥。

Content-Typestring必填

使用 application/json。

请求体

promptstring必填

描述新图或要修改的内容,按 image 1、image 2 等顺序引用输入图。可在提示词中用 0–1000 网格标记布局框,顺序为上、左、下、右。

imagesstring | string[]选填

文生图可省略。编辑和组合可传 1 至 10 张 HTTP(S) 或 Base64 图像,每张至少 256×256 像素。

aspect_ratioenum选填

默认 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。auto 参考提示词或第一张参考图,纯文本默认 1:1。

resolutionenum选填

可选 768sq、1k、1.5k、2k 或 4k,默认 1k。实际像素尺寸随宽高比而变。

safety_toleranceinteger选填

范围 0 到 7,默认 2,数值越低越严格。上限以接口和组织权限为准。

groundingboolean选填

默认 true,允许通过网页和图像搜索辅助生成。设为 false 后只使用提示词。

webhook_urlstring选填

异步回调 URL。提交返回 jobId,可用回调或 Flux Fetch 取得图像。

查看 TTAPI 接入文档
接入示例

发送请求并获取结果

复制当前模型的请求地址、鉴权请求头和请求体。

curl --request POST \
  --url https://api.ttapi.io/bfl/v1/flux-3-image \
  --header "TT-API-KEY: $TTAPI_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"prompt":"Editorial photograph of a ceramic tea set on a linen table, soft daylight and realistic textures.","aspect_ratio":"3:4","resolution":"1k","grounding":false}'