
Must be between 3 and 5000 characters.
0/5000Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image).
Output image resolution.
A configurable parameter. Defaults to true in the Playground.

Explore different use cases and parameter configurations
Must be between 3 and 5000 characters.
0/5000Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image).
Output image resolution.
A configurable parameter. Defaults to true in the Playground.

Explore different use cases and parameter configurations
Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 10MB; Maximum files: 8
Input reference images (1-8 images).
Must be between 3 and 5000 characters.
0/5000Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image).
Output image resolution.
A configurable parameter. Defaults to true in the Playground.

Explore different use cases and parameter configurations
Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 10MB; Maximum files: 8
Input reference images (1-8 images).
Must be between 3 and 5000 characters.
0/5000Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image).
Output image resolution.
A configurable parameter. Defaults to true in the Playground.

Explore different use cases and parameter configurations
README
Complete guide to using FLUX.2
来自Black Forest Labs的实惠Flux 2与Flux 2 Pro API

curl https://api.kie.ai/api/v1/jobs/createTask \-H "Authorization: Bearer $KIE_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "flux-2/pro-text-to-image","input": {"prompt": "A glass teapot on a sunlit wooden table, photorealistic","aspect_ratio": "1:1","resolution": "1K"}}'
从FLUX.1到FLUX.2 — Kie AI Flux 2 API的重大更新


Flux 2.0 API图像细节的更高的图像保真度

Flux 2 AI API改进了文本渲染

FLUX.2 API中的更强提示执行能力

Flux 2图像生成器的现实世界知识

FLUX.2 API的4MP分辨率与灵活比例
Kie AI 上的 FLUX 2 Pro 和 FLUX 2 Flex API
FLUX.2 [Pro] API提供稳定可靠的生产级结果
FLUX.2 [Flex] API为希望获得更多控制功能的开发者提供支持
FLUX.2 [Dev] — 完整模型权重,支持本地运行
比较 FLUX 2 Pro、FLUX 2 Flex 与 FLUX 2 Dev 模型
| 功能 | FLUX 2 Pro | FLUX 2 Flex | FLUX 2 Dev |
|---|---|---|---|
| Best for | Production workflows | Maximum quality & fine-grained control | Local development & full customization |
| Speed | Fast generation | Higher latency (quality-focused) | Depends on your hardware |
| Multi-reference | Up to 8 on Kie AI | Up to 8 on Kie AI | Recommended maximum of 6 references |
| Controls | Standard settings | Adjustable steps & guidance | Full model-level control |
| Text-to-image | Supported | Supported | Supported (open-weight) |
| Image editing | Supported | Supported | Supported (open-weight) |
如何使用 FLUX.2 API — 免费体验 Flux 沙盒快速入门
- 1
步骤 1 — 在 Kie AI 沙盒中体验 FLUX.2 API
首先直接在 Kie AI 沙盒中探索 FLUX.2 API 功能。上传图片,尝试多参考编辑功能,实时预览 FLUX 2 图像生成器的效果。这让你可以清晰感受到光照、一致性与文本渲染效果。 - 2
步骤 2 — 注册账户并获取你的 FLUX 2 API 密钥
登录 Kie AI 仪表盘并生成独特的 FLUX 2 API 密钥,用于所有请求,包括文本生成图像、编辑和多参考工作流。请妥善保管密钥,防止未经授权的使用。 - 3
步骤 3 — 在你的应用中集成 FLUX.2 API 接口
通过你的 API 密钥向 Kie AI 的 FLUX.2 API 接口发起请求。传递提示、图像参考、纵横比或编辑指令。Flux 2 AI API 返回高质量的 4MP 输出,具备强一致性、清晰排版和稳定细节,适合生产环境使用。
为何选择将 FLUX.2 API 集成到 Kie AI
- 1
免费积分,立刻开启 FLUX.2 API 使用
Kie AI 为你提供免费积分,让你可以免费体验 FLUX.2 API 工作流。进行文本生成图像测试,检查多参考稳定性,并在升级之前确认输出质量。帮助团队快速验证创意,降低项目开发风险。 - 2
FLUX 2 AI API 在线沙盒测试
Kie AI 提供在线 Flux 沙盒,让你无需硬件和设置即可测试 FLUX 2 AI API。直接在浏览器中生成图像、上传参考、尝试编辑工具和探索提示控制。所有操作都在云端运行,输出快速且稳定。 - 3
FLUX.2 API 集成所有领先模型
通过 FLUX.2 API,Kie AI 为你提供一个集成平台,访问顶级图像模型。你可以在 Flux 2、GPT-Image、Nano Banana Pro 和其他 API 之间轻松切换,无需繁琐集成。这种一体化设置加速了生产流程,并能根据工作流灵活扩展。
通过 Flux 2 API 实现的真实应用案例
使用 Flux 2 图像生成器创作产品摄影和电商视觉设计
通过 Flux 2 AI API 创作营销创意与活动素材
使用 FLUX.2 API 创作 UI 模拟图、信息图表和布局设计
使用 Flux 2 Pro 创作一致的角色场景和故事板
Flux 2 与 Nanobanana Pro — 你应该选择哪个模型来适配你的工作流?

何时选择 Flux 2 更为合适
