Flux pro API

flux-pro
FLUX.1 [pro]: The ultimate AI image generation model for professionals.
Output
$0.065 / MP (variable)
Released
Oct 13, 2025

Overview

FLUX.1 [pro] Description

Basic Information

Model Name: FLUX.1 [pro]

Developer/Creator: Black Forest Labs

Release Date: August 2024

Version: 1.0

Model Type: Text-to-Image Generation

‍

Overview:

FLUX.1 [pro] is a state-of-the-art AI model designed for professional-grade image generation from text descriptions. It pushes the boundaries of visual creativity and quality, delivering stunning results that rival human-created artwork.

Key Features:
  • 12 billion parameter model for exceptional detail and quality
  • Hybrid architecture combining multimodal and parallel diffusion transformer blocks
  • Rotary positional embeddings and parallel attention layers for enhanced performance
  • Unmatched image quality, outperforming popular models like Midjourney v6.0, DALL·E 3 (HD), and SD3-Ultra
  • FLUX models can generate images in various sizes and resolutions, from 0.1 megapixel up to 2 megapixels.
Intended Use:

FLUX.1 [pro] is tailored for professional applications where top-tier image generation is essential. It caters to graphic designers, digital artists, creative professionals, and anyone seeking to harness the power of AI for their visual projects.

Technical Details

Architecture:

FLUX.1 [pro] utilizes a hybrid architecture that combines multimodal and parallel diffusion transformer blocks, scaling up to 12 billion parameters. This innovative approach leverages flow matching to improve upon previous diffusion models, delivering superior performance and hardware efficiency.

Training Data:

The model was trained on a diverse dataset of high-quality images and associated text descriptions, ensuring a broad understanding of visual concepts and the ability to generate a wide range of subjects and styles.

Performance Metrics:

In rigorous comparisons, FLUX.1 [pro] consistently outperformed popular models in terms of visual quality, prompt responsiveness, and output diversity. Its advanced capabilities make it the go-to choice for professional-level image generation.

Usage

API Documentation: Link

‍

Ethical Guidelines:

Black Forest Labs is committed to responsible AI development and usage. FLUX.1 [pro] comes with strict guidelines prohibiting the creation of false information, non-consensual imagery, or any content that could harm individuals or groups. This commitment ensures that the model is used ethically and contributes positively to society.

Licensing:

FLUX.1 [pro] is available under a commercial license, allowing for professional and commercial use.

Uptime and performance

  • Uptime (24h): 100%
  • Uptime (7d): 86.0%
  • Availability (24h): 100%
  • Error rate (24h): 0%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

Professional image creation

Generate marketing visuals, high-fidelity concept art, or publication-ready graphics.

High-resolution output

Produce large-format images (up to 4 MP) for print, editorial, or banner applications.

Rapid creative iteration

Utilize fast generation speed to explore multiple versions in real-time design workflows.

Image post-processing

Inpaint, outpaint, or stylize existing images using integrated Flux toolset.

Controlled prompt fidelity

Perfect for applications requiring precise adherence to user instructions (e.g., architecture, design briefs).

‍

How to use Flux pro API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to flux-pro.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/images/generations",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "flux-pro",
      "prompt": "A cat holding a sign that says hello"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "flux-pro",
    "prompt": "A cat holding a sign that says hello"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"flux-pro","prompt":"A cat holding a sign that says hello"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Flux pro API Pricing

TypePrice
Output
$0.065 / MP (variable)

Flux pro vs other models

ModelInputOutputContextBest for
Flux pro
This page
$0.065 / MP (variable)
Image generation at scale
$0.325 / 1M tokens
$78 / 1M tokens
128K tokens
Image generation at scale
$6.5 / 1M tokens
$39 / 1M tokens
Image generation at scale
$0.325 / gen
Image generation at scale
$0.0195 / MP (variable)
Image generation at scale

Frequently asked questions

Flux pro takes image, text as input and returns image.

Flux pro is priced at $0.065 / MP (variable).

Flux pro is billed per generation — a fixed charge per output rather than by prompt length.

Yes, Flux pro accepts image input as well as a text prompt.

Flux pro was built by Black Forest Labs.

Send a request to https://api.aimlapi.com/v1/images/generations with flux-pro as the model id.

Yes. Flux pro is served through AI/ML API, so the same key and endpoint format used for other models applies.

Its model ID is flux-pro.

Start building with Flux pro

Get API Key
1000+ models, one API.