Flux SRPO overview
Flux SRPO by Black Forest Labs
The model offers fine-grained control over composition and scene elements, enabling precise and customizable image synthesis.
Flux SRPO specs
- Model ID
flux/srpo- Developer
- Black Forest Labs
- Input
- Text
- Output
- Image
- Endpoint
POST https://api.aimlapi.com/v1/images/generations
FLUX.1 SRPO Description
FLUX.1 SRPO is a state-of-the-art AI model specialized in high-resolution text-to-image generation, optimized for detailed scene creation and artistic style fidelity. Leveraging a finely tuned diffusion architecture, SRPO excels at producing visually rich images from textual descriptions with rapid rendering times and precise control over compositional elements.
Technical Specification
FLUX.1 SRPO Text-to-Image is engineered for efficient megapixel-level image synthesis, delivering exceptional detail and fidelity in complex scenes.
Performance Benchmarks
- Generation Speed: Approximately 12-15 seconds per megapixel.
- Performance: Achieves 6x faster inference compared to leading text-to-image models in the same resolution class.
Performance Metrics
The SRPO Text-to-Image variant consistently ranks among top performers in benchmark tests, with ELO ratings regularly exceeding 1050, underscoring its strength in balancing speed, quality, and detail in text-driven image generation tasks.
Key Capabilities
- High-Resolution Synthesis: Generates sharp, high-detail images at large resolutions suitable for print and digital media.
- Textual Fidelity: Accurately interprets complex and nuanced text prompts to create coherent, contextually rich visuals.
- Style Accuracy: Preserves artistic styles ranging from photorealistic to highly stylized outputs based on prompt conditioning.
- Compositional Control: Allows fine-grained manipulation of scene layout and object positioning through guided prompt inputs.
- Efficient Megapixel Pricing: Optimized cost effectiveness for large image generation projects.
Optimal Use Cases
- Advertising: Producing high-quality campaign visuals with rich detail and clarity at scale.
- Digital Art Creation: Enabling artists to translate detailed text concepts into vivid artwork.
- Editorial Illustration: Rapid generation of thematic images for magazines, books, and online media.
- E-commerce: Creating detailed product visuals that are easily customizable per marketing needs.
- Architectural Visualization: Rendering concept art and design proposals with complex scene elements and text annotations.
Use cases
- Advertising: Producing high-quality campaign visuals with rich detail and clarity at scale.
- Digital Art Creation: Enabling artists to translate detailed text concepts into vivid artwork.
- Editorial Illustration: Rapid generation of thematic images for magazines, books, and online media.
- E-commerce: Creating detailed product visuals that are easily customizable per marketing needs.
- Architectural Visualization: Rendering concept art and design proposals with complex scene elements and text annotations.
Flux SRPO API pricing
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.025 | per Megapixel |
The final price depends on request parameters such as resolution or duration.
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Flux SRPO vs other image models: prices
AI/ML API rates for 5 models, per Megapixel.
| Model | Per Megapixel |
|---|---|
| $0.025 | |
| $0.014 | |
| $0.015 | |
| $0.015 | |
| $0.05 |
How to use the Flux SRPO API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "flux/srpo",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "flux/srpo",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = 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/srpo",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Flux SRPO FAQ
What inputs and outputs does Flux SRPO support?
Flux SRPO takes image, text as input and returns image.
How much does Flux SRPO cost?
Flux SRPO costs $0.025 per Megapixel on AI/ML API, billed as you go with no subscription.
How is Flux SRPO billed?
Flux SRPO is billed per generation, a fixed charge per output rather than by prompt length.
Can Flux SRPO take an existing image as input?
Yes, Flux SRPO accepts image input as well as a text prompt.
Who created Flux SRPO?
Flux SRPO was built by Black Forest Labs.
How do I call Flux SRPO on AI/ML API?
Send a request to https://api.aimlapi.com/v1/images/generations with flux/srpo as the model id.
Is Flux SRPO available through a single API key?
Yes. Flux SRPO is served through AI/ML API, so the same key and endpoint format used for other models applies.
What is the Flux SRPO model ID?
Use flux/srpo as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.



.webp)