---
title: Flux Klien 9B  API | Text to Image | ModelsLab
description: Flux Klein 9B is a powerful AI text-to-image & image-to-image model that transforms existing images using text prompts.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux-klien-9b.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux-klien-9b.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-05-21T09:25:41.920220Z
---

[![Flux Klien 9B  thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Flux Klien 9B 
---

[by Modelslab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)A distilled version of Flux Klien 9B that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations)

`flux-klein`

Open Source Model [Unlimited Usage](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux-klein/llms.txt) [Learn more](https://modelslab-frontend-v2-927501783998.us-east4.run.app/flux-klien-9b)

Endpoint:Select Endpoint

[API Playground](/models/modelslab/flux-klien-9b)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel Specs

Input
---

Prompt 

A highly detailed, ultra-realistic scene inside a modern McDonald’s restaurant. At the counter stands a friendly anthropomorphic creature resembling a furry monster or gentle beast. The creature has thick golden-brown fur, expressive round eyes, a wide flat nose, and a soft, friendly facial expression.

Advanced Settings Customize your input with more control.

Configure

Add FundsLogin to Generate

**Per image generation** will cost **0.0047$** 
**For premium plan image generation** will **cost 0.00$** i.e **Free.**

Output
---

Idle

Unknown content type

Related Models
---

Discover similar models you might be interested in

 [View all Image Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=imagen)

[![Grok Imagine Text To Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-t2i)[xAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai)

 [Grok Imagine Text To Image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-t2i)

[![Imagen 4 Fast](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/8915ef59-224d-417d-97e0-2f3fce8c34ee.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-4.0-fast-generate)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Imagen 4 Fast

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-4.0-fast-generate)

[![Seedream 4.0 Image to image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/d050da31-b346-4c6c-b087-20fdc87d17b7.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-4.0-i2i)[Bytedance](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus)

 [Seedream 4.0 Image to image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-4.0-i2i)

[![Seedream 4.0 Text to Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/266221eb-e1d3-43c6-a082-35068ec1594a.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-4)[Bytedance](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus)

 [Seedream 4.0 Text to Image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-4)

[![Qwen Image Edit 2511](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/e36eb254-7c09-4db4-a76d-b94719cb230b.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/qwen-edit-2511)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Qwen Image Edit 2511

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/qwen-edit-2511)

[![Flux 2 Pro Text To Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/45b7843a-cc0e-466c-b390-e84a53df15c5.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl/flux-2-pro)[Black Forest Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl)

 [Flux 2 Pro Text To Image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl/flux-2-pro)

[![Flux 2 Pro Image Editing](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/42d25fcd-d558-4bcb-a46a-a678f3f4c1b1.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl/flux-2-pro)[Black Forest Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl)

 [Flux 2 Pro Image Editing

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl/flux-2-pro)

[![Flux](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b445e176-1565-48ec-b0f4-816bd42e3ce5.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Flux

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux)

[HO](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/hidream-o1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Hidream-o1-text2img

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/hidream-o1)

[![Nano banana Text To Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/3b150969-673b-4e9a-8e8b-85210e8a89e7.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana-t2i)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Nano banana Text To Image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana-t2i)

[![Qwen](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/4fb32c7b-02a8-469f-bb10-04aaf1238991.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/qwen)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Qwen

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/qwen)

[![Flux Kontext Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/9b97205b-45b6-4c1b-a839-19f531ab30fa.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl/flux-kontext-pro)[Black Forest Labs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl)

 [Flux Kontext Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/bfl/flux-kontext-pro)

[![Gemini 2.5 Flash (nano banana)](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/2fda7bb1-ecb1-4ab4-a15b-6f2ad7ba715d.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 2.5 Flash (nano banana)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana)

[![Gen4 Text to Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b656bfe5-c402-456b-9980-f7447198887d.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/runway_ml/gen4_image)[Runway ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/runway_ml)

 [Gen4 Text to Image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/runway_ml/gen4_image)

[![Imagen 3 Generate 001](https://images.stablediffusionapi.com/?Image=https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/livewire-tmp/us5gUqiCuyEpVMCJMlHJgFa7aaonYP-metaaW1hZ2VuLTMtZ2VuZXJhdGUtMDAxWzFdLndlYnA=-.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-3.0-generate-001)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Imagen 3 Generate 001

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-3.0-generate-001)

[![RealTime Text To Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a6186100-59c4-4f5e-8a51-e0eeb4228f10.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/realtime_t2i)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [RealTime Text To Image

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/realtime_t2i)

[![Seedream Text to Image](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/5a01da64-7caf-4fc5-bad1-3588c5e0e160.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-t2i)[Bytedance](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus)

 [Seedream Text to Image

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-t2i)

[![Grok Imagine Image Edit](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b94d1192-9d5b-4dd7-be5a-ddc9c10b8a0e.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-i2i)[xAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai)

 [Grok Imagine Image Edit

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-i2i)

About Flux Klien 9B 
---

Flux Klien 9B  is a text to image AI model available on ModelsLab. Access Flux Klien 9B  through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDflux-kleinProviderModelslabCategoryImage ModelsTaskText to ImagePrice$0.004700 per generationAddedMarch 11, 2026

### Key Features

- High-resolution AI image generation from text prompts
- Negative prompt support for precise control
- Multiple output formats and aspect ratios
- Adjustable inference steps and guidance scale
- Batch generation support via API

### Quick Start

Integrate Flux Klien 9B  into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v6/images/text2img"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "flux-klein",
        "prompt": "your prompt here",
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Flux Klien 9B  API costs $0.004700 per generation. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- Product photography and e-commerce visuals
- Marketing and social media content creation
- Concept art and design prototyping
- Custom illustrations and artwork

[Learn more about Flux Klien 9B ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/flux-klien-9b) [Browse Image Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=imagen) [More from Modelslab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Flux Klien 9B FAQ
---

### What is Flux Klien 9B ?

Flux Klien 9B is a text to image AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Flux Klien 9B API?

You can integrate Flux Klien 9B into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "flux-klein" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Flux Klien 9B cost?

Flux Klien 9B costs $0.004700 per generation. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Flux Klien 9B model ID?

The model ID for Flux Klien 9B is "flux-klein". Use this ID in your API requests to specify this model.

### Does Flux Klien 9B have a free tier?

Yes, ModelsLab offers a free tier that lets you try Flux Klien 9B and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-21*