FLUX.1 Pro

by Stability AI

State-of-the-art image generation with exceptional quality and prompt adherence.

Parameters
12B
Category
image
Available Serverless

Run queries immediately, pay only for usage

$0.05in|$0.05out

Per 1M Tokens

Try this modelView documentation

About this model

FLUX.1 Pro is the premium image generation model offering the highest quality outputs with exceptional prompt adherence. It produces photorealistic images, illustrations, and artwork with fine details and accurate text rendering. The model supports various aspect ratios and resolutions up to 2K.

Capabilities

PhotorealismText RenderingStyle ControlHigh ResolutionPrompt Adherence

Use Cases

  • Marketing Assets
  • Product Visualization
  • Art Creation
  • Social Media Content

Model Details

Provider
Stability AI
Model ID
black-forest-labs/FLUX.1-pro
Parameters
12B
Category
image

API Usage

Use the DOS API to integrate FLUX.1 Pro into your applications. Our API is compatible with OpenAI's client libraries for easy migration.

Model ID

black-forest-labs/FLUX.1-pro

Python

python
from dos import DOS

client = DOS()

response = client.chat.completions.create(
    model="black-forest-labs/FLUX.1-pro",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ]
)

print(response.choices[0].message.content)

cURL

bash
curl https://api.dos.ai/v1/chat/completions \
  -H "Authorization: Bearer $DOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "black-forest-labs/FLUX.1-pro",
    "messages": [
      {"role": "user", "content": "Hello, how are you?"}
    ]
  }'

Node.js

javascript
import DOS from 'dos-ai';

const client = new DOS();

const response = await client.chat.completions.create({
  model: "black-forest-labs/FLUX.1-pro",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ]
});

console.log(response.choices[0].message.content);

Related Models