black-forest-labs/flux-3-image-klein

Flux 3 Image Klein

图像理解

FLUX 3 Image Klein is an open-weights image generation and editing model from Black Forest Labs. It is suited for text-to-image, multi-reference editing that keeps characters and subjects consistent across images, reference-based style transfer, and text rendering. At 5.6B parameters, it is the smaller, faster member of the FLUX 3 Image family.

输入模态文本 / 图像
输出模态图像
支持协议
发布日期—

能力与模态

当前模型版本支持的输入输出能力

输入模态
文本
图像
输出模态
图像

模型价格

价格与能力以接口实时数据为准

按量计费
图像输出
$0.008 / 张
768p
图像输出
$0.009 / 张
1k
图像输出
$0.011 / 张
1.5k
图像输出
$0.014 / 张
2k
图像输出
$0.036 / 张
4k

API 接口

当前模型可以使用的调用端点

原生协议 2

/v1/images/edits
/v1/images/generations

API 接入示例

选择协议与语言,配置 API Key 后运行

调用接口

先在环境变量中配置平台密钥 AI_GATEWAY_API_KEY · 适用于 Bash / zsh / WSL。

POSThttps://api.tikway.ai/v1/images/generations
curl --fail-with-body 'https://api.tikway.ai/v1/images/generations' \
  -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "black-forest-labs/flux-3-image-klein",
  "prompt": "A quiet coastal town at sunrise, soft natural light"
}'
查看完整接入文档

模型接入常见问题

调用 Flux 3 Image Klein 应填写哪个模型 ID?

本页模型 ID 为 black-forest-labs/flux-3-image-klein。按对应协议原样复制,不能用展示名称代替,也不要自行增删前缀。

Flux 3 Image Klein 支持哪些 API 协议?

目录当前列出的协议为:OpenAI。查看本页调用示例中的完整端点、鉴权方式和参数;不同协议不能直接共用请求体。

接入教程

AI API 中转 · 多模型接入AI API 费用怎么算?Tikway Token 计费与报错排查Tikway 模型与费用核对:模型 ID、调用记录与证据边界