Flux SRPO API

flux/srpo
FLUX.1 Srpo generates high-resolution images from text prompts, with a key strength in rendering exceptional detail and maintaining style accuracy.
Output
$0.0325 / MP (variable)
Released
Oct 13, 2025

Overview

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.

API Pricing

  • $0.0325 per megapixel

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.

Code Sample

Comparison with Other Models

Vs. ByteDance BAGEL: SRPO T2I offers 5x faster generation on megapixel output and greater textual accuracy in detailed scenes.
Vs. OpenAI GPT-4o Image: Delivers superior resolution detail and style consistency with a cost-effective pricing model ($0.023625 per megapixel vs. higher cost per image).
Vs. FLUX.1 Kontext Pro: While Kontext Pro excels in contextual editing and character consistency, SRPO T2I is optimized for highly detailed, direct text-to-image creation with greater resolution scalability.

API Integration

Accessible via AI/ML API. Documentation: available here.

Uptime and performance

  • Uptime (7d): 100%

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

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.

‍

How to use Flux SRPO API

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

r = requests.post(
    "https://api.aimlapi.com/v1/images/generations",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "flux/srpo",
      "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/srpo",
    "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/srpo","prompt":"A cat holding a sign that says hello"}'

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

Flux SRPO API Pricing

TypePrice
Output
$0.0325 / MP (variable)

Flux SRPO Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Text-to-Image Arena
866
Human preference Elo from blind pairwise comparisons of generated images, measured independently by Artificial AnalysisSourceSeptember 21, 2026

Flux SRPO vs other models

ModelInputOutputContextBest for
Flux SRPO
This page
$0.0325 / 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 SRPO takes image, text as input and returns image.

Flux SRPO is priced at $0.0325 / MP (variable).

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

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

Flux SRPO was built by Black Forest Labs.

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

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

Start building with Flux SRPO

Get API Key
1000+ models, one API.