---
title: Flux 2 Pro Text To Image API | ModelsLab
description: Photorealistic image editing model delivering up to 4MP resolution with precise multi-reference consistency, exact hex color control, natural language.
url: https://modelslab.com/models/bfl/flux-2-pro.md
canonical: https://modelslab.com/models/bfl/flux-2-pro
type: product
component: Playground/Endpoint/Index
generated_at: 2026-11-12T04:38:58.404785Z
---

[![Flux 2 Pro Text To Image thumbnail](https://assets.modelslab.ai/api-logos/01KMSWRE3S4D4TNYGY3EB8G5SX.avif)](https://modelslab.com/models/bfl)Flux 2 Pro Text To Image
---

[by BFL](https://modelslab.com/models/bfl)Flux 2 Pro is an advanced text-to-image generative model designed for high-precision visual synthesis and professional-grade imaging workflows.

`flux-2-pro`

Closed Source Model [LLMs.txt](https://modelslab.com/models/bfl/flux-2-pro/llms.txt) [Flux 2 Pro Text To Image API](https://modelslab.com/flux-2-pro-text-to-image "Flux 2 Pro Text To Image API")

[API Playground](/models/bfl/flux-2-pro)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel Specs

Input
---

Prompt 

Ultra-realistic cinematic portrait of a girl standing outdoors during golden hour. Soft directional lighting, shallow depth of field, detailed skin texture, natural shadows, high-contrast highlights, volumetric atmosphere. Shot on a high-end camera, 85mm lens, HDR, 8K resolution.

Width 

Height 

**$0.054** per image generation

Login to Generate

Output
---

Idle

Unknown content type

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

![Nano Banana Pro API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/5ee72f26-dfa9-4d26-a546-7d496ef71be7.webp)

[Google](/models/google)

 [Nano Banana Pro](/models/google/nano-banana-pro?config=nano-banana-pro-text2image)

![Gen4 Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b656bfe5-c402-456b-9980-f7447198887d.webp)

[Runway ML](/models/runway_ml)

 [Gen4 Text to Image](/gen4-text-to-image)

![Grok Imagine Image 2.0 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/36454d6f-dd19-4a92-b618-d9332263045f.webp)

[xAI](/models/xai)

 [Grok Imagine Image 2.0 Text To Image](/models/x-ai/grok-imagine-image-2.0-t2i)

![Seedream 5.0 Pro Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/280db637-e26a-4621-a7ea-572ca88c7876.png)

[BytePlus](/models/byteplus)

 [Seedream 5.0 Pro Text To Image](/models/byteplus/seedream-5.0-pro-t2i)

![Nano Banana 2.1 Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/f44e6b5c-f64c-456a-b63f-8fae5728b0f1.webp
)

[Google](/models/google)

 [Nano Banana 2.1 Text To Image](/models/google/gemini-nano-banana-2.1-t2i)

![GPT-Image-2.5 Sunburst - Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/ab94e5f0-8076-4254-a470-6006f72a4967.webp)

[OpenAI](/models/openai)

 [GPT-Image-2.5 Sunburst - Text To Image](/models/openai/gpt-image-2.5-sunburst-t2i)

### Faster Generation

Built for speed when you are iterating on a prompt.

![Grok Imagine Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)

[xAI](/models/xai)

 [Grok Imagine Text To Image](/grok-imagine)

![Wan 2.7 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/aba76d25-b19c-4fee-9123-4cbb29e71646.webp)

[Alibaba](/models/alibaba_cloud)

 [Wan 2.7 Text To Image](/wan-2-7)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

![Flux 3 Klein Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/eeded1dc-53f1-4aab-972b-8c9a4a8304b4.webp)

[ModelsLab](/models/modelslab)

 [Flux 3 Klein Text To Image](/models/modelslab/flux-3-klein)Open Source Model

![Qwen Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/4fb32c7b-02a8-469f-bb10-04aaf1238991.webp)

[ModelsLab](/models/modelslab)

 [Qwen Text to Image](/models/modelslab/qwen?config=qwen-text-to-image)Open Source Model

![Hidream-O1 Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/8b413ab9-adab-4032-8ff5-91911074f3c5.png)

[ModelsLab](/models/modelslab)

 [Hidream-O1 Text to Image](/models/modelslab/hidream-o1)Open Source Model

![Krea-2 turbo Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/c7144b17-55ef-4a8c-93a7-7555d9f45874.png)

[ModelsLab](/models/modelslab)

 [Krea-2 turbo Text to Image](/models/modelslab/krea-2-turbo)Open Source Model

![Seedream 4.0 Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/266221eb-e1d3-43c6-a082-35068ec1594a.webp)

[BytePlus](/models/byteplus)

 [Seedream 4.0 Text to Image](/seedream-40-text-to-image)Closed Source Model

![Seedream 5.0 Lite Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/83ad4cdc-9d13-4b61-9f27-3591213f398e.webp)

[BytePlus](/models/byteplus)

 [Seedream 5.0 Lite Text To Image](/seedream-50-lite-text-to-image)Closed Source Model

Related Models
---

Discover similar models you might be interested in

 [View all Image Models](https://modelslab.com/models?feature=imagen)

![Flux Klien 9B  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/7e7d8420-b899-4e5c-8017-bdce3f7341b5.webp)

[ModelsLab](/models/modelslab) Popular

 [Flux Klien 9B](/models/modelslab/flux-klein)Open Source Model

![Qwen 2.1 Realtime Image Editing API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/e2efce38-e35b-476a-b06e-569fcfeaeb96.webp)

[ModelsLab](/models/modelslab) Popular

 [Qwen 2.1 Realtime Image Editing](/models/modelslab/qwen-image-2.1)Open Source Model

![Gemini 2.5 Flash (nano banana) API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/2fda7bb1-ecb1-4ab4-a15b-6f2ad7ba715d.webp)

[Google](/models/google)

 [Gemini 2.5 Flash (nano banana)](/gemini-25-flash-nano-banana)Closed Source Model

![Flux Kontext Pro API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/9b97205b-45b6-4c1b-a839-19f531ab30fa.webp)

[BFL](/models/bfl)

 [Flux Kontext Pro](/flux-kontext-pro)Closed Source Model

![Out Painting API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/58f8b236-530f-43a5-b5c4-136365516e7f.webp)

[ModelsLab](/models/modelslab)

 [Out Painting](/models/modelslab/outpainting)Open Source Model

![Moss Image Sft Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/7e3c5523-f39d-4b8d-8561-8b1df5b1ee7b.png)

[ModelsLab](/models/modelslab) Popular

 [Moss Image Sft Text to Image](/models/modelslab/moss-image-sft)Open Source Model

View all 17 related models

About Flux 2 Pro Text To Image
---

Flux 2 Pro is an advanced text-to-image generative model designed for high-precision visual synthesis and professional-grade imaging workflows.

### Technical Specifications

Model IDflux-2-pro

ProviderBFL

CategoryImage Models

TaskText to Image

Price$0.054 per generation

AddedNovember 25, 2025

### 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 2 Pro Text To Image into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v7/images/text-to-image"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "flux-2-pro",</div>
<div>        "prompt": "your prompt here",</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

### Pricing

Flux 2 Pro Text To Image API costs $0.054 per generation. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

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

[Flux API](/flux-api) [Learn more about Flux 2 Pro Text To Image](https://modelslab.com/flux-2-pro-text-to-image) [Browse Image Models](https://modelslab.com/models?feature=imagen) [More from BFL](https://modelslab.com/models/bfl) [View Pricing](https://modelslab.com/pricing)

Flux 2 Pro Text To Image FAQ
---

### What is Flux 2 Pro Text To Image?

Flux 2 Pro is an advanced text-to-image generative model designed for high-precision visual synthesis and professional-grade imaging workflows.

### How do I use the Flux 2 Pro Text To Image API?

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

### How much does Flux 2 Pro Text To Image cost?

Flux 2 Pro Text To Image costs $0.054 per generation. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Flux 2 Pro Text To Image model ID?

The model ID for Flux 2 Pro Text To Image is "flux-2-pro". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Flux 2 Pro Text To Image?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*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-11-12*