How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Flux Generation API

Endpoints for submitting image generation requests using FLUX models. Each endpoint targets a specific model variant and returns a task ID for polling.

Flux Generation API is one of 3 APIs that Flux publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Generation. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, and 1 JSON Schema.

This API exposes 5 operations across 5 paths, and defines 7 schemas. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against a single base URL, https://api.bfl.ai/v1.

5 operations 5 paths 7 schemas 5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Base URL
https://api.bfl.ai/v1
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Flux Generation API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Key (apiKeyAuth). By default, every request must be authenticated.

  • apiKeyAuth — API key from the Black Forest Labs developer portal. Pass in the X-Key header for all authenticated requests.

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 POST. Each is listed below with its method, path, parameters, and response codes.

Generation 5

Endpoints for submitting image generation requests using FLUX models. Each endpoint targets a specific model variant and returns a task ID for polling.

POST
/flux-pro-1.1
Generate image with FLUX 1.1 [pro]
generateFluxPro11 body → 200400401422
POST
/flux-pro
Generate image with FLUX.1 [pro]
generateFluxPro body → 200400401422
POST
/flux-dev
Generate image with FLUX.1 [dev]
generateFluxDev body → 200400401422
POST
/flux-schnell
Generate image with FLUX.1 [schnell]
generateFluxSchnell body → 200400401422
POST
/flux-pro-1.1-ultra
Generate image with FLUX 1.1 [pro] Ultra
generateFluxPro11Ultra body → 200400401422

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are FluxProGenerationRequest (9 properties), FluxDevGenerationRequest (8 properties), FluxSchnellGenerationRequest (7 properties), FluxUltraGenerationRequest (6 properties). Each schema is shown below with its type and property counts.

TaskResponse
object
Response returned when an image generation task is accepted. Contains the task ID and a polling URL for checking status.
2 properties
ErrorResponse
object
Error response returned when a request fails.
2 properties
FluxProGenerationRequest
object
Request body for FLUX.1 [pro] and FLUX 1.1 [pro] image generation. Specifies the prompt, image dimensions, output format, and model quality parameters.
9 properties 1 required
FluxUltraGenerationRequest
object
Request body for FLUX 1.1 [pro] Ultra image generation. Supports higher resolution outputs and an optional raw mode for photorealistic results without addition…
6 properties 1 required
ValidationErrorResponse
object
Validation error response returned when the request body fails schema validation.
1 property
FluxSchnellGenerationRequest
object
Request body for FLUX.1 [schnell] image generation. Schnell is optimized for speed with fewer inference steps required.
7 properties 1 required
FluxDevGenerationRequest
object
Request body for FLUX.1 [dev] image generation. Similar to the pro request but with parameters tuned for the distilled dev model.
8 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

flux-generation-api-openapi.yml Raw ↑

Other APIs Flux publishes across the network.

Flux Editing API
Flux Results API
Where this information came from

This is an independent, third-party profile of Flux Generation API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.