ENPTEntrarGanhe US$ 5

FLUX.1 [dev] Inpainting with LoRAs

Liveby Black Forest Labs

Super fast endpoint for the FLUX.1 [dev] inpainting model with LoRA support, enabling rapid and high-quality image inpaingting using pre-trained LoRA adaptations for personalization, specific styles, brand identities, and product-specific outputs.

Guide: Image generation API prices

Ask your agent

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

CodexClaude CodeAny agent with a terminal

Make an image with FLUX.1 [dev] Inpainting with LoRAs: a cozy coffee shop in São Paulo at golden hour.

More examples

Create a product photo of our new sneaker on a white background.

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, input and output

Image generation 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-inpainting", or over MCP with run_tool. 99 other providers in this category take the same input and can be compared side by side.

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-inpainting","input":{"image_url":"","prompt":"","mask_url":""},"idempotency_key":"example-request-1"}'

Input

14 fields · 3 required
{
  "type": "object",
  "required": [
    "prompt",
    "image_url",
    "mask_url"
  ],
  "properties": {
    "enable_safety_checker": {
      "type": "boolean",
      "description": "If set to true, the safety checker will be enabled.",
      "default": true
    },
    "image_url": {
      "type": "string",
      "description": "URL of image to use for inpainting. or img2img"
    },
    "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."
    },
    "num_inference_steps": {
      "type": "integer",
      "description": "The number of inference steps to perform.",
      "default": 28
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "jpeg",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "strength": {
      "type": "number",
      "description": "The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.",
      "default": 0.85
    },
    "acceleration": {
      "type": "string",
      "description": "Acceleration level for image generation. 'regular' balances speed and quality.",
      "default": "none",
      "enum": [
        "none",
        "regular"
      ]
    },
    "mask_url": {
      "type": "string",
      "description": "The mask to area to Inpaint in."
    },
    "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."
    },
    "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": []
    },
    "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
    },
    "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": 3.5
    },
    "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"
      ]
    }
  }
}

Normalized output

Example for this type of tool

The shape tools of this type share in normalized. Agents read it from GET /v1/tools/fal.flux-lora-inpainting or MCP inspect_tool.

{
  "type": "object",
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ]
      }
    }
  },
  "required": [
    "images"
  ]
}