Black Forest Labs Models API

Generation task endpoints. These endpoints allow you to submit generation tasks.

GitHub OpenAPI
Business capability
Generative Media AE-110.20

Operations 25

POST /v1/flux-pro-1.1 Generate an image with FLUX1.1 [pro] #
POST /v1/flux-dev Generate an image with FLUX.1 [dev] #
POST /v1/flux-pro-1.1-ultra Generate an image with FLUX1.1 [pro] ultra mode #
POST /v1/flux-pro-1.0-fill Inpaint an image with FLUX.1 Fill [pro] using an input image and mask #
POST /v1/flux-pro-1.0-expand Expand an image with FLUX.1 Expand [pro] by adding pixels on any side #
POST /v1/flux-pro-1.1-ultra-finetuned Generate an image with FLUX 1.1 [pro] finetune with ultra mode #
POST /v1/flux-2-flex Generate or edit an image with FLUX.2 [flex] #
POST /v1/flux-2-klein-9b Generate or edit an image with FLUX.2 [klein] 9B #
POST /v1/flux-2-klein-9b-preview Generate or edit an image with FLUX.2 [klein] 9B (preview) #
POST /v1/flux-2-klein-4b Generate or edit an image with FLUX.2 [klein] 4B #
POST /v1/flux-2-max Generate or edit an image with FLUX.2 [max] #
POST /v1/flux-2-pro-preview Generate or edit an image with FLUX.2 [pro] (preview) #
POST /v1/flux-2-pro Generate or edit an image with FLUX.2 [pro] #
POST /v1/flux-3-video Generate a video with FLUX 3 #
POST /v1/flux-3-image Generate an image with FLUX 3 #
POST /v1/flux-3-image-klein Generate an image with FLUX 3 Image Klein #
POST /v1/flux-tools/video-upscale-v1 Upscale a video with FLUX 3 #
POST /v1/flux-tools/video-edit-v1 Edit a video with FLUX 3 #
POST /v1/flux-tools/outpainting-v1 Outpaint or extend an image #
POST /v1/flux-tools/vto-v1 Virtual try-on #
POST /v1/flux-tools/vto-v2 Virtual try-on (v2) #
POST /v1/flux-tools/erase-v1 Erase an object from an image #
POST /v1/flux-tools/deblur-v1 Remove blur from an image #
POST /v1/flux-kontext-max Edit or create an image with FLUX.1 Kontext [max] #
POST /v1/flux-kontext-pro Edit or create an image with FLUX.1 Kontext [pro] #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/black-forest-labs:black-forest-labs-models-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

black-forest-labs-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BFL Models API
  description: Authorize with an API key from your user profile.
  version: 0.0.1
servers:
- url: https://api.bfl.ai
  description: BFL API
tags:


# --- truncated at 32 KB (98 KB total) ---
# Full source: https://artifacts.apis.io/black-forest-labs/openapi/black-forest-labs-models-api-openapi.yml