Sign inGet $5 free

Flux Pro Erase

Edits a photo you give it

Liveby Black Forest Labs

Latest object erasing model from Black Forest Labs.

Remove undesired objects, texts from images.

Ask your agent

Say it in your own words. Your agent picks this tool, fills in the details and brings back the answer.

Use Flux Pro Erase to remove the background from this product photo.
Make this photo look like a watercolor painting.

Reviews

No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.

How it works

  1. Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
  2. Ask in your own wordsYour agent picks the right tool and fills in the details for you.
  3. Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call and input schema

Image API by Black Forest Labs, callable through Superpowers. It costs $0.00432 per megapixel, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.flux-pro-v1-erase", or over MCP with run_tool.

Tool id
Price per call
$0.00432 / megapixel

Call it

Also over MCP as run_tool
curl -X POST https://superpowers.tools/v1/run \
  -H 'Authorization: Bearer $SP_KEY' \
  -d '{"tool":"fal.flux-pro-v1-erase","input":{"mask_url":"","image_url":""},"idempotency_key":"example-request-1"}'

Input

5 fields · 2 required
{
  "type": "object",
  "required": [
    "image_url",
    "mask_url"
  ],
  "properties": {
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "jpeg",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "dilate_pixels": {
      "type": "integer",
      "description": "Number of pixels to expand the mask edges by. Higher values produce cleaner erase results around the masked region.",
      "default": 10
    },
    "sync_mode": {
      "type": "boolean",
      "description": "If `True`, the media will be returned as a data URI and the output data won't be available in the request history.",
      "default": false
    },
    "mask_url": {
      "type": "string",
      "description": "The URL of a black/white mask image where white (255) marks pixels to erase and black (0) marks pixels to keep. Needs to match the dimensions of the input image."
    },
    "image_url": {
      "type": "string",
      "description": "The URL of the input image to erase content from."
    }
  }
}