TollNode

FLUX Fill Pro API and MCP for AI agents

TollNode gives Claude, Cursor or any AI agent FLUX Fill Pro, Black Forest Labs' inpainting and outpainting model, over API and MCP, from $0.069 per image, with no subscription.

Send a photo and say what to change, like 'continue the scene naturally with more of the same...', and get the edited image link back.

No subscription · Sign-up optional · From $0.069 per call · Charged only when it works · No Black Forest Labs account needed

Claude Code

Edit my photo: continue the scene naturally with more of the same surroundings

TollNode · Black Forest Labs · flux-fill-pro$0.069 · 1 image

ResultDetail
File1 image link, does not expire
Inputyour image and an instruction

Real result, shown below.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

FLUX Fill Pro image examples

Made by this node in our own tests, from the request shown under each.

FLUX Fill Pro inpainting and outpainting: beforeBefore
FLUX Fill Pro inpainting and outpainting: afterAfter
AI-generatedoutpaint: Zoom out 1.5x

The request that made it

Send the same body to get this kind of result. Change the prompt or the options to get your own.

request body
{
  "image": "https://tollnode.com/examples/image-instant.jpg",
  "prompt": "continue the scene naturally with more of the same surroundings",
  "outpaint": "Zoom out 1.5x"
}

What you control with FLUX Fill Pro

Failed calls are never charged. Image and audio links returned by TollNode don't expire.

What people ask their AI to do with it

Use it as a FLUX Fill Pro MCP server in Claude, Cursor or Codex

Connect once. Then just ask.

Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
You can use TollNode's FLUX Fill Pro node to make an image. Call POST https://tollnode.com/api/v1/nodes/flux-fill-pro with mask (optional), image (required), prompt (required), outpaint (optional), output_format (optional). The price is one flat price per call and is charged only when a result is returned. Over MCP, call the "flux-fill-pro" tool; use list_models to see prices. Give me the file link when it is done.

Price

$0.069

per image

Charged only when a call returns a result. Failed or empty calls cost $0.

FLUX Fill Pro without a Black Forest Labs account

FAQ

Is this the official Black Forest Labs API?
No. TollNode is an independent service. It gives your agent access to FLUX Fill Pro through its own API and MCP server, priced per image, with no Black Forest Labs account needed.
Can I use it as a FLUX Fill Pro MCP server in Claude?
Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "flux-fill-pro" tool appears with its options and prices.
How much does a call cost?
One flat price per image, the same for every call, shown above. There is nothing to choose that changes it.
What do I send to edit an image?
An image link in image (https) and a plain-language instruction in the prompt. Say what to change and what to keep.
What if nothing comes back?
You're not charged. TollNode only collects payment when a usable result is returned.
How long are the links valid?
They don't expire. Download the file or keep the link.
How do I pay for FLUX Fill Pro?
Your agent sends the request, gets an HTTP 402 with the exact price (from $0.069 per call), signs a USDC payment on Base and retries. Or use an account balance with an API key. Either way you are charged only when a result comes back.
What does the FLUX Fill Pro response look like?
A JSON object with a link to the finished file. The link does not expire, so you can download it later or keep the link.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/flux-fill-pro

Input

FieldTypeNotes
maskstringOptional black-and-white mask (https URL): white areas are repainted. Or send the file inline as a base64 data: URI (up to 4.5 MB)
seedinteger
image*stringImage to change (https URL). Or send the file inline as a base64 data: URI (up to 4.5 MB)
prompt*stringWhat to create or change
outpaintenumExtend the image instead of using a mask. Default None (None, Zoom out 1.5x, Zoom out 2x, Make square, Left outpaint, Right outpaint, Top outpaint, Bottom outpaint)
output_formatenum (jpg, png)

Example response

{
  "images": [
    "https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
  ]
}

Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.