Skip to content

Connectors · AI

Black Forest Labs FLUX API MCP server for AI agents.

actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Black Forest Labs FLUX API and the rest of your systems. It gives your agent 30 Black Forest Labs FLUX API actions (4 reads, 25 writes and 1 that wait for a confirmation) and holds the Black Forest Labs FLUX API credential itself, so the agent never does. It paces Black Forest Labs FLUX API's limits and records every call.

100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.

claude mcp add --transport http actionlake https://connect.actionlake.com/mcp
the first call
do {  action: "black_forest_labs.credits.get",  intent: "check which Black Forest Labs FLUX API account is connected"}# Get the account's credit balance · read · 1 upstream call
  • 30actionsin one signed file
  • 4readlook, never change
  • 25writecreate and update
  • 1wait for a yesdestructive, confirmed first

Set up

Connect Black Forest Labs FLUX API in three steps.

  1. 01

    Add actionlake to Claude.

    Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.

    https://connect.actionlake.com/mcp
  2. 02

    Connect Black Forest Labs FLUX API.

    API key. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead. actionlake stores what you paste write-only, sealed under your tenant's key.

    • api_keyBFL API key: https://dashboard.bfl.ai > API Keys > Add Key
    • hostWhere your Black Forest Labs FLUX API lives: your host
    account { op: "connections.requirements", service: "black_forest_labs" }
    # free: exactly what to paste, and what is found for you
  3. 03

    Make the first call. Check before a write.

    Ask in plain words; Claude picks the action. Before anything changes, check validates the call and prices it, for free.

    do    { action: "black_forest_labs.credits.get" }# get the account's credit balance · read · 1 upstream callcheck { action: "black_forest_labs.flux_2_pro.generate", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent

Black Forest Labs FLUX API at a glance

Sign-in
API key. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead.
You provide
api_key
Setup fields
host
Limits we pace to
24 calls a second, per connection
API covered
BFL API 0.0.1 (OpenAPI 3.1.0)api.bfl.ai
Built from
Black Forest Labs FLUX API's documentation, read 23 October 2026api.bfl.aidocs.bfl.ai
Service file
Version 1.0.0, signed (Ed25519)
Cached reads
2 of 4 reads, for up to 5 minutes; a write clears what it affects
Data
Processed and stored in Sydney, Australia. No US region yet

Capabilities

What an AI agent can do in Black Forest Labs FLUX API.

30 actions in 27 areas. Every one carries its effect, so a key can allow the reads and hold the rest.

  • 4readlook, never change
  • 25writecreate and update
  • 1destructivewait for a confirmation
  1. Finetunes

    3

    2 read · 0 write · 1 destructive

    Get a finetune's details · List my finetunes · Delete a finetune

  2. Virtual try on

    2

    0 read · 2 write · 0 destructive

    Virtual try-on (v1) · Virtual try-on (v2)

  3. Credits

    1

    1 read · 0 write · 0 destructive

    Get the account's credit balance

  4. Deblur

    1

    0 read · 1 write · 0 destructive

    Remove blur from an image

  5. Erase

    1

    0 read · 1 write · 0 destructive

    Erase an object from an image

  6. Flux 2 flex

    1

    0 read · 1 write · 0 destructive

    Generate or edit an image with FLUX.2 [flex]

  7. Flux 2 klein 4B

    1

    0 read · 1 write · 0 destructive

    Generate or edit an image with FLUX.2 [klein] 4B

  8. Flux 2 klein 9B

    1

    0 read · 1 write · 0 destructive

    Generate or edit an image with FLUX.2 [klein] 9B

19 more areas · 19 actions
  • Flux 2 klein 9B preview 1
  • Flux 2 max 1
  • Flux 2 pro 1
  • Flux 2 pro preview 1
  • Flux 3 image 1
  • Flux 3 image klein 1
  • Flux 3 video 1
  • Flux dev 1
  • Flux kontext max 1
  • Flux kontext pro 1
  • Flux pro 1 0 expand 1
  • Flux pro 1 0 fill 1
  • Flux pro 1 1 1
  • Flux pro 1 1 ultra 1
  • Flux pro 1 1 ultra finetuned 1
  • Outpainting 1
  • Tasks 1
  • Video edit 1
  • Video upscale 1

Top actions

The Black Forest Labs FLUX API API, shaped for agents.

The ids your agent types, what each does, and the one name it shares with other systems. 6 of Black Forest Labs FLUX API's 6 action names are shared with at least one other connector, so an agent learns them once.

ActionWhat it doesEffectSame name in
black_forest_labs.flux_2_pro.generateGenerate or edit an image with FLUX.2 [pro]Generate or edit an image with FLUX.2 [pro].writeinfra.ml_model.run3 connectors
black_forest_labs.flux_pro_1_1.generateGenerate an image with FLUX1.1 [pro]Generate an image with FLUX1.1 [pro].writeinfra.ml_model.run3 connectors
black_forest_labs.flux_kontext_pro.generateEdit or create an image with FLUX.1 Kontext [pro]Edit or create an image with FLUX.1 Kontext [pro].writeinfra.ml_model.run3 connectors
black_forest_labs.finetunes.deleteDelete a finetuneDelete a finetune.destructiveinfra.ml_model.delete9 connectors

Try it

Prompts to paste into Claude.

Each one names the Black Forest Labs FLUX API actions it will call, so you know what it reads and what it changes before you send it.

  1. Readread

    Get the account's credit balance in Black Forest Labs FLUX API and tell me what stands out.

    callsblack_forest_labs.credits.get

  2. Writewrite

    Generate or edit an image with FLUX.2 [pro] in Black Forest Labs FLUX API. Show me exactly what you will send before you save it.

    callsblack_forest_labs.flux_2_pro.generate

Governance for Black Forest Labs FLUX API

Destructive actions wait for a yes.

1 Black Forest Labs FLUX API action is destructive. This is it:

  • Delete a finetuneblack_forest_labs.finetunes.delete

A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.

doblack_forest_labs.finetunes.deleteconfirm_policy: human

Delete a finetune?

intent: the user asked me to delete a finetune

run suspended · waiting for a named person · key black-forest-labs-agent cannot confirm itself
In the console, or from an emailed signed link.
a key for this connector
account {  op: "keys.create", name: "black-forest-labs-agent",  allowed_actions: ["black_forest_labs.*"], cap_calls: 2000,  confirm_policy: "human_for_writes",  approval_rules: [    { match: "black_forest_labs.finetunes.delete", approver: "[email protected]" }  ]}
Illustrative. Scoped to Black Forest Labs FLUX API only, capped at 2,000 upstream calls, every write confirmed, and the destructive ones approved by a named person.

Cost

What Black Forest Labs FLUX API costs on actionlake.

Every Black Forest Labs FLUX API action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Black Forest Labs FLUX API refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

  • 1upstream call per actionall 30 Black Forest Labs FLUX API actions
  • 30actions pageeach page of a long list is one call
  • 2reads can be cacheda cache hit costs nothing
  • 100,000calls a month, freepaid plans from US$49 a month for 250,000

See pricing

Action index

Every Black Forest Labs FLUX API action.

30 actions by area: the id your agent calls, what it does, and its effect.

Finetunes3
  • black_forest_labs.finetunes.deleteDelete a finetunedestructive
  • black_forest_labs.finetunes.getGet a finetune's detailsread
  • black_forest_labs.finetunes.listList my finetunesread
Virtual try on2
  • black_forest_labs.virtual_try_on.run_v1Virtual try-on (v1)write
  • black_forest_labs.virtual_try_on.run_v2Virtual try-on (v2)write
Credits1
  • black_forest_labs.credits.getGet the account's credit balanceread
Deblur1
  • black_forest_labs.deblur.runRemove blur from an imagewrite
Erase1
  • black_forest_labs.erase.runErase an object from an imagewrite
Flux 2 flex1
  • black_forest_labs.flux_2_flex.generateGenerate or edit an image with FLUX.2 [flex]write
Flux 2 klein 4B1
  • black_forest_labs.flux_2_klein_4b.generateGenerate or edit an image with FLUX.2 [klein] 4Bwrite
Flux 2 klein 9B1
  • black_forest_labs.flux_2_klein_9b.generateGenerate or edit an image with FLUX.2 [klein] 9Bwrite
Flux 2 klein 9B preview1
  • black_forest_labs.flux_2_klein_9b_preview.generateGenerate or edit an image with FLUX.2 [klein] 9B (preview)write
Flux 2 max1
  • black_forest_labs.flux_2_max.generateGenerate or edit an image with FLUX.2 [max]write
Flux 2 pro1
  • black_forest_labs.flux_2_pro.generateGenerate or edit an image with FLUX.2 [pro]write
Flux 2 pro preview1
  • black_forest_labs.flux_2_pro_preview.generateGenerate or edit an image with FLUX.2 [pro] (preview)write
Flux 3 image1
  • black_forest_labs.flux_3_image.generateGenerate or edit an image with FLUX 3 Imagewrite
Flux 3 image klein1
  • black_forest_labs.flux_3_image_klein.generateGenerate or edit an image with FLUX 3 Image Kleinwrite
Flux 3 video1
  • black_forest_labs.flux_3_video.generateGenerate a video with FLUX 3write
Flux dev1
  • black_forest_labs.flux_dev.generateGenerate an image with FLUX.1 [dev]write
Flux kontext max1
  • black_forest_labs.flux_kontext_max.generateEdit or create an image with FLUX.1 Kontext [max]write
Flux kontext pro1
  • black_forest_labs.flux_kontext_pro.generateEdit or create an image with FLUX.1 Kontext [pro]write
Flux pro 1 0 expand1
  • black_forest_labs.flux_pro_1_0_expand.expandExpand an image with FLUX.1 Expand [pro]write
Flux pro 1 0 fill1
  • black_forest_labs.flux_pro_1_0_fill.inpaintInpaint an image with FLUX.1 Fill [pro]write
Flux pro 1 11
  • black_forest_labs.flux_pro_1_1.generateGenerate an image with FLUX1.1 [pro]write
Flux pro 1 1 ultra1
  • black_forest_labs.flux_pro_1_1_ultra.generateGenerate an image with FLUX1.1 [pro] ultrawrite
Flux pro 1 1 ultra finetuned1
  • black_forest_labs.flux_pro_1_1_ultra_finetuned.generateGenerate an image with an FLUX1.1 [pro] ultra finetunewrite
Outpainting1
  • black_forest_labs.outpainting.runOutpaint or extend an imagewrite
Tasks1
  • black_forest_labs.tasks.get_resultGet a task's status and resultread
Video edit1
  • black_forest_labs.video_edit.runEdit a video with a promptwrite
Video upscale1
  • black_forest_labs.video_upscale.runUpscale a videowrite

Questions

The Black Forest Labs FLUX API MCP server, answered.

Is there a Black Forest Labs FLUX API MCP server for Claude?

Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 30 Black Forest Labs FLUX API actions across finetunes, virtual try on, credits and deblur, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Black Forest Labs FLUX API.

What do I need to connect Black Forest Labs FLUX API?

BFL API key: https://dashboard.bfl.ai > API Keys > Add Key. Plus your host. The free call account { op: "connections.requirements", service: "black_forest_labs" } lists exactly what to paste.

Can an AI agent delete or change things in Black Forest Labs FLUX API?

Only if its key allows it, and only with an explicit confirmation. 1 Black Forest Labs FLUX API action is destructive, including delete a finetune. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.

Will an AI agent use up my Black Forest Labs FLUX API API limit?

actionlake paces every call to the limits in the Black Forest Labs FLUX API service file: 24 calls a second per connection. Repeated reads are answered from cache (2 Black Forest Labs FLUX API actions can be), which never reaches Black Forest Labs FLUX API.

What does a Black Forest Labs FLUX API action cost?

One upstream call, the only unit actionlake bills. A list that pages bills one call per page (30 Black Forest Labs FLUX API actions page). Cache hits, searches, dry runs and calls Black Forest Labs FLUX API refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

Which Black Forest Labs FLUX API API does it cover?

The BFL API 0.0.1 (OpenAPI 3.1.0) at api.bfl.ai by default, or the base URL set when you connect. It is built from Black Forest Labs FLUX API's documentation as read on 23 October 2026. 30 actions in 27 areas, each one in the signed service file (version 1.0.0).

Does actionlake keep my Black Forest Labs FLUX API data, and where?

actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to 5 minutes, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Black Forest Labs FLUX API credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.

Which AI clients can use it?

Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.

Give your agent Black Forest Labs FLUX API today.

Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.