Sign inGet $5 free

FLUX.1 [pro] Fill

Edits a photo you give it

Liveby Black Forest Labs

FLUX.1 [pro] Fill is a high-performance endpoint for the FLUX.1 [pro] model that enables rapid transformation of existing images, delivering high-quality style transfers and image modifications with the core FLUX capabilities.

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.1 [pro] Fill 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.054 per megapixel, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.flux-pro-v1-fill", or over MCP with run_tool.

Tool id
Price per call
$0.054 / 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-fill","input":{"mask_url":"","prompt":"","image_url":""},"idempotency_key":"example-request-1"}'

Input

9 fields · 3 required
{
  "type": "object",
  "required": [
    "prompt",
    "image_url",
    "mask_url"
  ],
  "properties": {
    "mask_url": {
      "type": "string",
      "description": "The mask URL to inpaint the image. Needs to match the dimensions of the input image."
    },
    "enhance_prompt": {
      "type": "boolean",
      "description": "Whether to enhance the prompt for better results.",
      "default": false
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "jpeg",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to fill the masked part of the image."
    },
    "num_images": {
      "type": "integer",
      "description": "The number of images to generate.",
      "default": 1
    },
    "safety_tolerance": {
      "type": "string",
      "description": "The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.",
      "default": "2",
      "enum": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6"
      ]
    },
    "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
    },
    "image_url": {
      "type": "string",
      "description": "The image URL to generate an image from. Needs to match the dimensions of the mask."
    },
    "seed": {
      "type": "integer",
      "description": "The same seed and the same prompt given to the same version of the model\n            will output the same image every time."
    }
  }
}