FLUX.1 Pro API
State-of-the-art image generation with unmatched prompt adherence and photorealistic quality.
Parameters
12B
Context
N/A
Organization
Black Forest Labs
Quick Start
Start using FLUX.1 Pro in minutes. VoltageGPU provides an OpenAI-compatible API — just change the base_url.
from openai import OpenAI
client = OpenAI(
base_url="https://api.voltagegpu.com/v1",
api_key="YOUR_VOLTAGE_API_KEY"
)
response = client.images.generate(
model="black-forest-labs/FLUX.1-pro",
prompt="A futuristic city skyline at sunset with flying cars and neon signs, photorealistic, 8k",
n=1,
size="1024x1024"
)
image_url = response.data[0].url
print(f"Generated image: {image_url}")curl -X POST https://api.voltagegpu.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VOLTAGE_API_KEY" \
-d '{
"model": "black-forest-labs/FLUX.1-pro",
"prompt": "A futuristic city skyline at sunset with flying cars and neon signs, photorealistic, 8k",
"n": 1,
"size": "1024x1024"
}'Pricing
| Component | Price | Unit |
|---|---|---|
| Image Generation | $0.055 | per image |
New accounts receive $5 free credit. No credit card required to start.
Capabilities & Benchmarks
FLUX.1 Pro generates images at resolutions from 256x256 to 2048x2048 with industry-leading quality. It excels at photorealistic images, artistic styles, text rendering within images, complex compositions with multiple subjects, accurate human anatomy, and consistent lighting. The model supports aspect ratio control, guidance scale adjustment, and seed-based reproducibility.
About FLUX.1 Pro
FLUX.1 Pro is the flagship image generation model from Black Forest Labs, the team behind Stable Diffusion. It delivers state-of-the-art image quality with exceptional prompt adherence, photorealistic rendering, and creative versatility. Built on a novel rectified flow transformer architecture, FLUX.1 Pro generates high-resolution images (up to 2048x2048) with remarkable detail, accurate text rendering, and natural lighting. It surpasses Midjourney v6, DALL-E 3, and Stable Diffusion XL in head-to-head quality comparisons.
Use Cases
Marketing & Advertising
Generate professional product images, ad creatives, and social media content.
Web & App Design
Create UI mockups, hero images, icons, and design assets programmatically.
E-commerce
Generate product photography, lifestyle shots, and catalog images at scale.
Game & Entertainment
Create concept art, character designs, environments, and game assets.
Content Creation
Generate blog illustrations, thumbnails, and visual content for media platforms.
API Reference
Endpoint
https://api.voltagegpu.com/v1/images/generationsHeaders
| Authorization | Bearer YOUR_VOLTAGE_API_KEY | Required |
| Content-Type | application/json | Required |
Model ID
black-forest-labs/FLUX.1-proUse this value as the model parameter in your API requests.
Example Request
curl -X POST https://api.voltagegpu.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VOLTAGE_API_KEY" \
-d '{
"model": "black-forest-labs/FLUX.1-pro",
"prompt": "A futuristic city skyline at sunset with flying cars and neon signs, photorealistic, 8k",
"n": 1,
"size": "1024x1024"
}'Related Models
FLUX.1 Pro — Related Resources
Confidential Compute
Run this model on hardware-sealed GPUs with Intel TDX attestation.
Confidential AI Inference
OpenAI-compatible API with TEE-attested model serving.
Pricing
Confidential Compute and AI Inference pricing with no hidden fees.
Browse Confidential GPUs
H200, H100, B200 with hardware-sealed Intel TDX compute.
Frequently Asked Questions
How does FLUX.1 Pro compare to Midjourney?
FLUX.1 Pro matches or exceeds Midjourney v6 in image quality while being available via API for programmatic access. It offers better prompt adherence, more accurate text rendering in images, and more consistent results. At $0.055/image, it is also more cost-effective for batch generation.
What resolutions does FLUX.1 Pro support?
FLUX.1 Pro supports resolutions from 256x256 up to 2048x2048 pixels. You can specify any aspect ratio, and the model will generate images at the closest supported resolution. Common sizes include 1024x1024, 1024x768, and 1920x1080.
Can FLUX.1 Pro render text in images?
Yes, FLUX.1 Pro is one of the best models for rendering text within images. It can accurately display text on signs, labels, book covers, and other surfaces, though very long text strings may still have occasional errors.
How fast is FLUX.1 Pro image generation?
FLUX.1 Pro typically generates a 1024x1024 image in 3-8 seconds on VoltageGPU's infrastructure, depending on the complexity of the prompt and current load.
Does FLUX.1 Pro have content filters?
VoltageGPU applies standard content safety filters to all image generation requests. The model will not generate harmful, illegal, or explicit content.
Start using FLUX.1 Pro today
Get $5 free credit when you sign up. No credit card required. Deploy in under 30 seconds with our OpenAI-compatible API.