bflCertifiedReleased 05/29/2025

FLUX.1 Kontext Max

FLUX.1 Kontext creates images from text prompts with unique capabilities for character consistency and advanced editing. It also edits images using simple text prompts. No complex workflows or fine-tuning needed. This provider gives the option to change the moderation level for inputs and outputs. The control is under safety tolerance and is by default 2 on a range from 0 (more strict) through 6 (more permissive).

View API reference ↓
PriceFrom$0.080per image
24h uptime98.29%
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.images.generate({
  model: "bfl/flux-kontext-max",
  prompt: "A lighthouse at dusk, oil painting",
  size: "1024x1024",
});

// Base64 only: images are returned, never stored.
const png = Buffer.from(res.data[0].b64_json, "base64");

Providers

Dispatch routes requests across these providers and fails over between them without changing the model. Restrict or order providers with team Directives. Prices are gateway list prices before the platform fee.

ProviderContextMax outputLatencyThroughputInputOutputCacheCapabilitiesZDRNo trainingRegionsStatus
bfl5120——$0$0Read —Write —1 featuresNoNoGlobalCertified

Uptime

24 hours

Request success rate per provider.

bfl98.29%

Getting started

Create a key on the API Keys page and set it as IB_API_KEY. See the quickstart.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.images.generate({
  model: "bfl/flux-kontext-max",
  prompt: "A lighthouse at dusk, oil painting",
  size: "1024x1024",
});

// Base64 only: images are returned, never stored.
const png = Buffer.from(res.data[0].b64_json, "base64");

FLUX.1 Kontext Max answers POST /v1/images/generations, and edits images with POST /v1/images/edits, not chat completions. It is billed per image.

Price per image

OutputPrice
Default$0.080

More models by bfl

ModelContextInputOutputCacheRelease
bfl/flux-3-image-klein0——Read —Write —10/15/2026
bfl/flux-3-image0——Read —Write —10/05/2026
bfl/flux-2-klein-4b0——Read —Write —01/15/2026
bfl/flux-2-klein-9b0——Read —Write —01/15/2026
bfl/flux-2-max67K——Read —Write —12/16/2025
bfl/flux-2-flex0——Read —Write —11/25/2025
bfl/flux-2-pro67K——Read —Write —11/25/2025
bfl/flux-kontext-pro512——Read —Write —05/29/2025
bfl/flux-pro-1.1-ultra0——Read —Write —11/01/2024
bfl/flux-pro-1.10——Read —Write —10/02/2024