Sign inGet $5 free

Flux Kontext Lora

Edits a photo you give it

Liveby Black Forest Labs

Fast endpoint for the FLUX.1 Kontext [dev] model with LoRA support, enabling rapid and high-quality image editing using pre-trained LoRA adaptations for specific styles, brand identities, and product-specific outputs.

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 Kontext Lora 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-kontext-lora", 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-kontext-lora","input":{"prompt":"","image_url":""},"idempotency_key":"example-request-1"}'

Input

12 fields · 2 required
{
  "type": "object",
  "required": [
    "prompt",
    "image_url"
  ],
  "properties": {
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "png",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "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": 2.5
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to edit the image."
    },
    "acceleration": {
      "type": "string",
      "description": "The speed of the generation. The higher the speed, the faster the generation.",
      "default": "none",
      "enum": [
        "none",
        "regular",
        "high"
      ]
    },
    "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 URL of the image to edit.\n\nMax width: 14142px, Max height: 14142px, Timeout: 20s"
    },
    "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": []
    },
    "num_images": {
      "type": "integer",
      "description": "The number of images to generate.",
      "default": 1
    },
    "num_inference_steps": {
      "type": "integer",
      "description": "The number of inference steps to perform.",
      "default": 30
    },
    "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
    },
    "resolution_mode": {
      "type": "string",
      "description": "Determines how the output resolution is set for image editing.\n            - `auto`: The model selects an optimal resolution from a predefined set that best matches the input image's aspect ratio. This is the recommended setting for most use cases as it's what the model was trained on.\n            -",
      "default": "match_input",
      "enum": [
        "auto",
        "match_input",
        "1:1",
        "16:9",
        "21:9",
        "3:2",
        "2:3",
        "4:5",
        "5:4",
        "3:4",
        "4:3",
        "9:16",
        "9:21"
      ]
    }
  }
}