YepAPI

Command Palette

Search for a command to run...

Black Forest LabsImage Generation/v1/media/queue

FLUX.2 Max

FLUX.2 Max for hero-grade AI images from $0.15 per image — the family's highest-fidelity tier via one API key.

The highest-fidelity FLUX.2 tier. Maximum detail, texture, and prompt fidelity for hero images and print-grade creative, with reference-image editing and PNG or JPEG output.

No credit card required. Takes 30 seconds.

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Enter a prompt and generate an image with FLUX.2 Max.

POST/v1/media/queue

Drop image or click to upload

For image-to-image editing

Response
Hit "Send Request" to see the response

Pricing

Per-image: from $0.15/image

Endpoint

/v1/media/queue

Strengths

Maximum fidelity

FLUX.2 Max is the top tier of the family, spending more compute per image for finer texture, cleaner edges, and fewer artifacts than Pro.

Hero and print work

Detail holds up when an image is used large — campaign key art, print collateral, and above-the-fold web heroes.

Complex scene control

Handles multi-subject prompts, specific camera and lighting direction, and long descriptive prompts without losing the brief.

Editing built in

Accepts a reference image so you can push an existing asset to Max quality or restyle it while keeping the composition.

Quick start

Copy this snippet and start making calls with FLUX.2 Max.

// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "black-forest-labs/flux.2-max",
    "prompt": "Editorial still life of a cracked geode on raw linen, single hard key light from the left, deep amethyst crystals catching a rim of gold, seamless charcoal backdrop, shot on medium format",
    "options": {
      "aspectRatio": "1:1"
    }
  }),
});
const { data } = await res.json();
const jobId = data.jobId;

// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }

Why use FLUX.2 Max through YepAPI?

One API key for all models — no separate accounts
No monthly minimums — pay per call
Switch models with one line of code
Simple REST API — works from any language
Unified billing across all providers
No rate limits for most use cases

FLUX.2 Max API — the highest-fidelity FLUX tier

FLUX.2 Max is the premium tier of Black Forest Labs' FLUX.2 family. It trades a higher per-image price for finer texture, cleaner geometry, and stronger adherence to long, specific prompts — the tier to reach for when an image will be printed or shown large.

On YepAPI you generate FLUX.2 Max images from `/v1/media/queue` with one key at $0.15 per image, and you can draft on FLUX.2 Pro or Klein and re-render the winners on Max without changing a line of integration code.

Start generating in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

The highest-fidelity FLUX.2 tier. Maximum detail, texture, and prompt fidelity for hero images and print-grade creative, with reference-image editing and PNG or JPEG output.

Pricing for FLUX.2 Max through YepAPI is based on usage. No monthly minimums — you only pay for what you use.

Sign up for a free API key, then send requests to the /v1/media/queue endpoint.

Ready to use FLUX.2 Max?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models