Models/Black Forest Labs/FLUX Klein API
LiveBlack Forest Labs · FLUX 3 Klein and FLUX.2 Klein16 endpoints

FLUX 3 Klein API — FLUX Klein Image Generation & Editing

Use the FLUX 3 Klein API for prompt-based image generation and reference-guided editing, alongside FLUX.2 Klein 4B, 9B, Turbo, LoRA, and style-training endpoints. Choose 1K, 2K, or 4K outputs through one asynchronous API.

FLUX 3 Klein

Text-to-image generation and image editing at 1K, 2K, and 4K2 models
Text to ImageLiveFeatured
FLUX 3 Klein

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.

1K–4K
$0.009 / 1K · $0.014 / 2K · $0.036 / 4K
Try Model
Image EditingLive
FLUX 3 Klein

FLUX 3 Klein Image Edit

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.

1K–4K
$0.009 / 1K · $0.014 / 2K · $0.036 / 4K
Try Model

FLUX.2 Klein 4B

Compact text-to-image and reference editing2 models
Text to ImageLive
FLUX.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
Try Model
Image EditingLive
FLUX.2 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
Try Model

FLUX.2 Klein 9B

Larger Klein generation and editing variants2 models
Text to ImageLive
FLUX.2 Klein 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
Try Model
Image EditingLive
FLUX.2 Klein 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
Try Model

FLUX.2 Klein 4B Turbo

Fast compact generation and editing2 models
Text to ImageLive
Klein 4B Turbo

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.

ImageFast
$0.0052/request
Try Model
Image EditingLive
Klein 4B Turbo

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.

ImageFast
$0.0078/request
Try Model

FLUX.2 Klein 9B Turbo

Fast 9B generation and editing2 models
Text to ImageLive
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.

ImageFast
$0.0065/request
Try Model
Image EditingLive
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.

ImageFast
$0.0104/request
Try Model

FLUX.2 Klein LoRA API

Apply custom LoRAs to generation and editing4 models
LoRA SupportLive
LoRA Support

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
Try Model
LoRA SupportLive
LoRA Support

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
Try Model
LoRA SupportLive
LoRA Support

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
Try Model
LoRA SupportLive
LoRA Support

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
Try Model

FLUX.2 Klein LoRA Training

Train custom Klein style LoRAs2 models
TrainingLive
Style Training

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
Try Model
TrainingLive
Style Training

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
Try Model

What is the FLUX Klein API?

The FLUX Klein API brings the compact Black Forest Labs image family to one developer endpoint catalog. FLUX 3 Klein adds text-to-image generation and instruction-based editing with 1K, 2K, or 4K output, multiple image results, aspect-ratio controls, and PNG, JPEG, or WebP formats. FLUX.2 Klein remains available in 4B, 9B, Turbo, LoRA inference, and style-training variants.

Use the FLUX 3 Klein API when you want resolution-selectable image generation or edits in a straightforward asynchronous workflow. Compare the 4B and 9B FLUX.2 Klein options for a different model generation, or browse the broader [FLUX.2 API](/flux-2) and [FLUX 3 API](/flux-3) catalogs. Each Muapi request uses the same API key, request ID, result polling endpoint, and optional webhook pattern.

FLUX Klein API capabilities

FLUX 3 Klein image generation

Create images from text prompts at 1K, 2K, or 4K with nine aspect ratios, three output formats, prompt enhancement, and up to four results per request.

FLUX 3 Klein image editing

Send 1–10 reference image URLs and a natural-language edit prompt. Choose automatic or fixed framing and request up to four outputs.

FLUX.2 Klein variants

Compare 4B, 9B, and Turbo text-to-image and editing models, plus the listed LoRA inference endpoints.

One API workflow

Submit an asynchronous request, poll its result ID, or provide a webhook URL for completion notifications.

Quick start — FLUX 3 Klein API

Generate or edit images with FLUX 3 Klein, then retrieve image URLs from the standard Muapi result endpoint.

1. Generate an image with FLUX 3 Klein

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"}

Select resolution, aspect ratio, output format, and image count. The listed price is per output image.

2. Edit a reference image with FLUX 3 Klein

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"}'

Provide one to ten publicly accessible reference image URLs and describe the requested edit.

3. Poll the result

curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
  -H "x-api-key: YOUR_API_KEY"

Read completed image URLs from the outputs array.

FLUX 3 Klein API FAQ

What is the FLUX 3 Klein API?

It is an asynchronous API for generating images from prompts and editing reference images with the FLUX 3 Klein model. The endpoint supports 1K, 2K, and 4K image outputs.

How much does the FLUX 3 Klein API cost?

Muapi charges $0.009 per 1K output image, $0.014 per 2K output image, and $0.036 per 4K output image. A request for multiple outputs is charged per image.

Can I use FLUX Klein for image editing?

Yes. Call `flux-3-klein-edit-image`, provide 1–10 public URLs in `images_list`, and describe the edit in `prompt`. FLUX.2 Klein also has separate editing endpoints in the catalog.

How many images can one FLUX 3 Klein request return?

Set `num_images` from 1 to 4. Pricing is calculated per generated output image.

Which image formats and aspect ratios are supported?

Choose PNG, JPEG, or WebP. Text-to-image supports 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, and 9:21. Editing also supports `auto` framing.

How is FLUX 3 Klein different from FLUX.2 Klein?

This catalog lists FLUX 3 Klein for 1K–4K text-to-image generation and editing, and FLUX.2 Klein for 4B/9B and Turbo image, editing, LoRA, and training endpoints. They are separate model generations with different available endpoints.

Build with the FLUX Klein API

Use one API key to generate and edit images with FLUX 3 Klein, then compare its requests with FLUX.2 Klein variants.