FLUX 3 Klein Text to Image API: AI Image Generator

Generate 1K, 2K, and 4K images with the FLUX 3 Klein API. Set aspect ratio, output format, prompt enhancement, seed, and image count from one endpoint.

Interactive model controls

Generate images with Black Forest Labs FLUX 3 Klein through a single asynchronous API. Choose 1K, 2K, or 4K output, nine aspect ratios, PNG/JPEG/WebP format, prompt enhancement, and up to four images per request.

📝

Overview

About this model

The FLUX 3 Klein text-to-image API turns a prompt into one to four images through an asynchronous REST endpoint. Choose 1K, 2K, or 4K output, nine aspect ratios, PNG/JPEG/WebP, and optional prompt enhancement or a seed. It is a simple route for product visuals, concept art, campaign assets, and rapid creative iteration. Compare the wider FLUX Klein API lineup with the FLUX.2 models on FLUX.2 and other FLUX 3 capabilities on FLUX 3.

1Product imagery: Create studio-style product scenes in several output resolutions.
2Campaign concepts: Generate alternate image options for ads and landing pages.
3Concept art: Explore visual directions with prompt enhancement and repeatable seeds.
4Content pipelines: Request up to four images in a single asynchronous API call.
💰

Pricing & Value

Cost analysis

muapiapp$0.009 / $0.014 / $0.036 per image (1K / 2K / 4K)

One asynchronous endpoint; total scales with num_images.

Fal.ai$0.009 / $0.014 / $0.036 per image (1K / 2K / 4K)

Matches the planned pricing schedule shown in the supplied reference screenshot.

ReplicateNot compared

No current like-for-like public rate was verified for this page.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Describe the image or the edit to apply (up to 5,000 characters).

Default ValueA sculptural glass perfume bottle on a warm limestone plinth, soft editorial light, crisp product photography.
Aspect RatioEnum (9 options)

Output framing.

Default Value1:1
ResolutionEnum (3 options)

Requested output resolution.

Default Value1K
Output FormatEnum (3 options)

Image encoding for each generated output.

Default Valuepng
Number of Imagesinteger

Number of images to generate (1–4). Price is charged per output image.

Default Value1
Seedinteger

Optional reproducibility seed.

Default Value-
Enhance Promptboolean

Let the model refine the prompt before generation.

Default Valuetrue
📖

Implementation Guide

Developer documentation

How to Use the FLUX 3 Klein Text-to-Image API

  1. Write a prompt. Describe the subject, composition, lighting, style, and details you want. The prompt can contain up to 5,000 characters.

  2. Choose output settings. Select resolution (1K, 2K, or 4K), aspect_ratio, output_format, and num_images (1–4). Set seed to repeat a variation and use enhance_prompt to let the model refine your prompt. Pricing is per output image: $0.009 at 1K, $0.014 at 2K, and $0.036 at 4K.

  3. Submit and retrieve the result.

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

# Poll the asynchronous task
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
  -H "x-api-key: YOUR_API_KEY"

The result contains an outputs array of image URLs. For image-guided changes, use the FLUX 3 Klein edit endpoint.

❓

Common Questions

Frequently asked

What is the FLUX 3 Klein API?

It is an asynchronous image generation API for FLUX 3 Klein. Submit a text prompt and choose output resolution, aspect ratio, image format, and other supported settings.

What resolutions can I request?

Choose 1K, 2K, or 4K. The selected resolution determines the per-image price.

How much does FLUX 3 Klein image generation cost?

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

Can I generate more than one image per call?

Yes. Set `num_images` from 1 to 4. The returned `outputs` array contains the generated image URLs.

Which aspect ratios and file types are supported?

The text-to-image endpoint supports 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, and 9:21. Outputs can be PNG, JPEG, or WebP.