Black Forest Labs

Model

API for the FLUX image and video generation models

Price
Pay per use
Access
API key (x-key header)

About

The maker of FLUX sells its models through one async API: FLUX.2 for image generation and editing, FLUX 3 for video with synchronized audio. FLUX.2 [klein] and [dev] also have open weights for self-hosting. The API bills prepaid credits (1 credit = $0.01).

What you can do with it

  • Generate images from a prompt with FLUX.2, at up to 4 megapixels
  • Edit images by instruction with up to 10 references, for try-on or room restyling
  • Generate short video clips with sound from text or a start image

Get started

  1. Add credits at dashboard.bfl.ai and create an API key
  2. Submit a request, then poll the returned polling_url for the result

Example

curl -X POST https://api.bfl.ai/v1/flux-3-video \
  -H "x-key: $BFL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "t2v",
    "prompt": "a fox running through dawn mist"
  }'

Details

Hosting
Hosted service, Self-hosted
Available in
Worldwide
MCP server
Remote

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .