Sign inGet $5 free

FLUX.1 [dev] Fill with LoRAs

Edits a photo you give it

Liveby Black Forest Labs

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

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

Input

16 fields · 2 required
{
  "type": "object",
  "required": [
    "image_url",
    "mask_url"
  ],
  "properties": {
    "guidance_scale": {
      "type": "number",
      "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want\n            the model to stick to your prompt when looking for a related image to show you.",
      "default": 30
    },
    "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
    },
    "num_inference_steps": {
      "type": "integer",
      "description": "The number of inference steps to perform.",
      "default": 28
    },
    "fill_image": {
      "type": "null",
      "description": "Use an image fill input to fill in particular images into the masked area."
    },
    "resize_to_original": {
      "type": "boolean",
      "description": "Resizes the image back to the original size. Use when you wish to preserve the exact image size as the originally provided image.",
      "default": false
    },
    "acceleration": {
      "type": "string",
      "description": "Acceleration level for image generation. 'regular' balances speed and quality.",
      "default": "none",
      "enum": [
        "none",
        "regular"
      ]
    },
    "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."
    },
    "enable_safety_checker": {
      "type": "boolean",
      "description": "If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.",
      "default": true
    },
    "loras": {
      "type": "array",
      "description": "The LoRAs to use for the image generation. You can use any number of LoRAs\n            and they will be merged together to generate the final image.",
      "default": []
    },
    "image_size": {
      "type": "string",
      "description": "The size of the generated image.",
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9"
      ]
    },
    "image_url": {
      "type": "string",
      "description": "URL of image to use for fill operation"
    },
    "num_images": {
      "type": "integer",
      "description": "The number of images to generate. This is always set to 1 for streaming output.",
      "default": 1
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to generate an image from.",
      "default": ""
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "jpeg",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "paste_back": {
      "type": "boolean",
      "description": "Specifies whether to paste-back the original image onto to the non-inpainted areas of the output",
      "default": true
    },
    "mask_url": {
      "type": "string",
      "description": "The mask to area to Inpaint in."
    }
  }
}