FLUX 3 Klein Text to Image
FLUX 3 Klein FLUX 3 Klein Text to Image is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
使用 FLUX 3 Klein API 根据提示词生成图像并通过参考图编辑,同时访问 FLUX.2 Klein 4B、9B、Turbo、LoRA 和风格训练端点。通过一个异步 API 选择 1K、2K 或 4K 输出。
FLUX 3 Klein FLUX 3 Klein Text to Image is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
FLUX 3 Klein FLUX 3 Klein Image Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
FLUX Klein API 将 Black Forest Labs 的紧凑型图像模型系列整合到一个开发者端点目录中。FLUX 3 Klein 支持文生图和指令式编辑,可输出 1K、2K 或 4K 图像,并提供多张结果、宽高比控制以及 PNG、JPEG 或 WebP 格式。FLUX.2 Klein 还提供 4B、9B、Turbo、LoRA 推理和风格训练版本。
如果你需要在简单的异步工作流中选择分辨率来生成或编辑图像,可使用 FLUX 3 Klein API。想比较不同一代模型,可查看 FLUX.2 Klein 4B 和 9B;也可浏览更全面的 [FLUX.2 API](/flux-2) 和 [FLUX 3 API](/flux-3) 目录。所有 Muapi 请求都使用相同的 API 密钥、请求 ID、结果查询端点和可选 Webhook 模式。
通过文本提示词生成 1K、2K 或 4K 图像,支持九种宽高比、三种输出格式、提示词增强,以及每次请求最多返回四张图像。
发送 1–10 个参考图像 URL 和自然语言编辑提示词。选择自动或固定取景,并请求最多四张输出图像。
比较 4B、9B 和 Turbo 文生图与编辑模型,以及目录中的 LoRA 推理端点。
提交异步请求、轮询结果 ID,或提供 Webhook URL 接收完成通知。
使用 FLUX 3 Klein 生成或编辑图像,然后通过标准 Muapi 结果端点获取图像 URL。
curl -X POST https://api.muapi.ai/api/v1/flux-3-klein-text-to-image \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A sculptural glass perfume bottle on a warm limestone plinth, soft editorial light","resolution":"2K","aspect_ratio":"4:3","num_images":2}'
# Response: {"request_id":"REQUEST_ID"}选择分辨率、宽高比、输出格式和图像数量。所列价格按每张输出图像计算。
curl -X POST https://api.muapi.ai/api/v1/flux-3-klein-edit-image \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Replace the plain background with a warm limestone studio, preserving the product shape","images_list":["https://example.com/product.jpg"],"resolution":"2K","aspect_ratio":"auto"}'提供 1–10 个可公开访问的参考图像 URL,并描述要进行的编辑。
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \ -H "x-api-key: YOUR_API_KEY"
从 outputs 数组中读取已完成的图像 URL。
这是一个异步 API,可使用 FLUX 3 Klein 模型根据提示词生成图像并编辑参考图像。该端点支持 1K、2K 和 4K 图像输出。
Muapi 每张 1K 输出图像收费 $0.009,每张 2K 收费 $0.014,每张 4K 收费 $0.036。请求多个输出时按图像数量计费。
可以。调用 `flux-3-klein-edit-image`,在 `images_list` 中提供 1–10 个公开 URL,并在 `prompt` 中描述编辑内容。目录中也包含单独的 FLUX.2 Klein 编辑端点。
`num_images` 设置为 1 到 4。费用按生成的每张输出图像计算。
可选择 PNG、JPEG 或 WebP。文生图支持 1:1、4:3、3:4、3:2、2:3、16:9、9:16、21:9 和 9:21。编辑还支持 `auto` 取景。
此目录中的 FLUX 3 Klein 支持 1K–4K 文生图和图像编辑;FLUX.2 Klein 提供 4B/9B 和 Turbo 图像、编辑、LoRA 与训练端点。它们属于不同模型世代,提供的端点也不同。
使用一个 API 密钥通过 FLUX 3 Klein 生成和编辑图像,并与 FLUX.2 Klein 版本的请求进行比较。