在线黑森林实验室·FLUX.2 系列20 个端点

FLUX.2 API — 生成、编辑、Klein 和 LoRA

在 Muapi 上使用 FLUX.2,通过一个异步 API 实现 Dev、Flex、Pro、Klein 4B、Klein 9B、Turbo、LoRA 支持和风格训练端点。

FLUX.2 Pro

高质量的生成和编辑2 个模型
文生图在线Featured
专业版

FLUX 2 Pro

FLUX.2 FLUX 2 Pro is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.032/request
体验模型
图像编辑在线
专业版

FLUX 2 Pro Edit

FLUX.2 FLUX 2 Pro Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.032/request
体验模型

FLUX.2 柔性

灵活的质量和控制2 个模型
文生图在线
Flex

FLUX 2 Flex

FLUX.2 FLUX 2 Flex is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.09/request
体验模型
图像编辑在线
Flex

FLUX 2 Flex Edit

FLUX.2 FLUX 2 Flex Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.09/request
体验模型

FLUX.2 开发

核心生成和编辑2 个模型
文生图在线Featured
Dev

FLUX 2 Dev

FLUX.2 FLUX 2 Dev is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.015/request
体验模型
图像编辑在线
Dev

FLUX 2 Dev Edit

FLUX.2 FLUX 2 Dev Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.031/request
体验模型

FLUX.2 克莱因 4B 涡轮

快速紧凑生成2 个模型
文生图在线
克莱因 4B 涡轮

FLUX 2 Klein 4b Turbo

FLUX.2 FLUX 2 Klein 4b Turbo is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image快速
$0.0052/request
体验模型
图像编辑在线
克莱因 4B 涡轮

FLUX 2 Klein 4b Turbo Edit

FLUX.2 FLUX 2 Klein 4b Turbo Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image快速
$0.0078/request
体验模型

FLUX.2 Klein 9B Turbo

快速更大规模的一代2 个模型
文生图在线
Klein 9B Turbo

FLUX 2 Klein 9b Turbo

FLUX.2 FLUX 2 Klein 9b Turbo is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image快速
$0.0065/request
体验模型
图像编辑在线
Klein 9B Turbo

FLUX 2 Klein 9b Turbo Edit

FLUX.2 FLUX 2 Klein 9b Turbo Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image快速
$0.0104/request
体验模型

FLUX.2 克莱因 4B

紧凑的生成和编辑2 个模型
文生图在线
Klein 4B

FLUX 2 Klein 4b

FLUX.2 FLUX 2 Klein 4b is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.0104/request
体验模型
图像编辑在线
Klein 4B

FLUX 2 Klein 4b Edit

FLUX.2 FLUX 2 Klein 4b Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.0156/request
体验模型

FLUX.2 Klein 9B

更大的克莱因生成和编辑2 个模型
文生图在线
克莱因9B

FLUX 2 Klein 9b

FLUX.2 FLUX 2 Klein 9b is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.013/request
体验模型
图像编辑在线
克莱因9B

FLUX 2 Klein 9b Edit

FLUX.2 FLUX 2 Klein 9b Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.0208/request
体验模型

FLUX.2 LoRA 支持

应用自定义 LoRA4 个模型
LoRA 支持在线
LoRA 支持

FLUX 2 Klein 4b Text To Image LoRA

FLUX.2 FLUX 2 Klein 4b Text To Image LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.02/request
体验模型
LoRA 支持在线
LoRA 支持

FLUX 2 Klein 9b Text To Image LoRA

FLUX.2 FLUX 2 Klein 9b Text To Image LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.025/request
体验模型
LoRA 支持在线
LoRA 支持

FLUX 2 Klein 4b Edit LoRA

FLUX.2 FLUX 2 Klein 4b Edit LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.025/request
体验模型
LoRA 支持在线
LoRA 支持

FLUX 2 Klein 9b Edit LoRA

FLUX.2 FLUX 2 Klein 9b Edit LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.03/request
体验模型

FLUX.2 style training

Train custom style LoRAs2 个模型
训练在线
风格训练

FLUX 2 Klein 4b Style LoRA Trainer

FLUX.2 FLUX 2 Klein 4b Style LoRA Trainer is a live Muapi endpoint for LoRA training. Submit it with one API key and poll the shared result endpoint.

LoRA weights
$4.50/request
体验模型
训练在线
风格训练

FLUX 2 Klein 9b Style LoRA Trainer

FLUX.2 FLUX 2 Klein 9b Style LoRA Trainer is a live Muapi endpoint for LoRA training. Submit it with one API key and poll the shared result endpoint.

LoRA weights
$4.00/request
体验模型

什么是 FLUX.2 API?

FLUX.2 是较新的 Black Forest Labs 映像系列,包含 Dev、Flex、Pro 和紧凑型 Klein 变体。 Muapi 在一个 API 密钥下公开生成和编辑端点。

选择 Pro 或 Flex 来实现更高质量的工作,选择 Dev 来实现核心工作流程,选择 Klein 来实现紧凑推理,选择 Turbo 来实现延迟问题。包括 LoRA 支持和风格培训。

FLUX.2 API 功能

生成和编辑

使用 Dev、Flex、Pro 和 Klein 端点来获取提示优先和参考驱动的图像。

紧凑型克莱因型号

比较 4B、9B 和 Turbo Klein 变体的速度和成本。

LoRA支持

应用自定义文本到图像并在推理时编辑 LoRA。

Style training

使用列出的训练器端点训练 Klein 风格的 LoRA。

快速入门——FLUX.2 API

使用 JSON 提交 FLUX.2 图像任务,保存请求 ID,并轮询标准结果端点。

1. 提交 FLUX.2 作业

该示例使用 FLUX.2 Pro 文本转图像;切换用于编辑或 Klein 变体的 slugs。

2. 轮询结果

从输出中读取完整的图像 URL。

FLUX.2 API FAQ

FLUX.1 和 FLUX.2 有什么区别?

FLUX.2 是较新的系列,具有 Pro、Flex、Dev、Klein、Turbo、LoRA 支持和风格训练变体。

什么是 FLUX.2 Klein 模型?

Klein 4B 和 9B 变体提供紧凑的生成和编辑选择,以及用于更快迭代的 Turbo 选项。

FLUX.2可以使用LoRA吗?

是的。该目录包括文本到图像和编辑 LoRA 端点以及样式训练器。

使用 FLUX.2 构建

通过一个 API 密钥连接 FLUX.2 生成、编辑、Klein、Turbo 和 LoRA 工作流程。