bflCertifiedReleased 10/01/2024

FLUX.1 Fill [pro]

A state-of-the-art inpainting model, enabling editing and expansion of real and generated images given a text description and a binary mask. 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.050per image
24h uptime100.00%
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-pro-1.0-fill",
  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
bfl00——$0$0Read —Write —1 featuresNoNoGlobalCertified

Uptime

24 hours

Request success rate per provider.

bfl100.00%

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-pro-1.0-fill",
  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 Fill [pro] 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.050

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-max512——Read —Write —05/29/2025
bfl/flux-kontext-pro512——Read —Write —05/29/2025
bfl/flux-pro-1.1-ultra0——Read —Write —11/01/2024