Sign inGet $5 free

FLUX.1 [dev] with Controlnets and Loras

Edits a photo you give it

Liveby Black Forest Labs

FLUX General Image-to-Image is a versatile endpoint that transforms existing images with support for LoRA, ControlNet, and IP-Adapter extensions, enabling precise control over style transfer, modifications, and artistic variations through multiple guidance methods.

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] with Controlnets and 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.081 per megapixel, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.flux-general-image-to-image", or over MCP with run_tool.

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

Input

35 fields · 2 required
{
  "type": "object",
  "required": [
    "prompt",
    "image_url"
  ],
  "properties": {
    "nag_tau": {
      "type": "number",
      "description": "The tau for NAG. Controls the normalization of the hidden state.\n            Higher values will result in a less aggressive normalization,\n            but may also lead to unexpected changes with respect to the original image.\n            Not recommended to change this value.",
      "default": 2.5
    },
    "image_url": {
      "type": "string",
      "description": "URL of image to use for inpainting. or img2img"
    },
    "controlnet_unions": {
      "type": "array",
      "description": "The controlnet unions to use for the image generation. Only one controlnet is supported at the moment.",
      "default": []
    },
    "use_beta_schedule": {
      "type": "boolean",
      "description": "Specifies whether beta sigmas ought to be used.",
      "default": false
    },
    "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
    },
    "control_loras": {
      "type": "array",
      "description": "The LoRAs to use for the image generation which use a control image. You can use any number of LoRAs\n            and they will be merged together to generate the final image.",
      "default": []
    },
    "negative_prompt": {
      "type": "string",
      "description": "Negative prompt to steer the image generation away from unwanted features.\n            By default, we will be using NAG for processing the negative prompt.",
      "default": ""
    },
    "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
    },
    "sigma_schedule": {
      "type": "string",
      "description": "Sigmas schedule for the denoising process."
    },
    "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"
      ]
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to generate an image from."
    },
    "base_shift": {
      "type": "number",
      "description": "Base shift for the scheduled timesteps",
      "default": 0.5
    },
    "num_inference_steps": {
      "type": "integer",
      "description": "The number of inference steps to perform.",
      "default": 28
    },
    "ip_adapters": {
      "type": "array",
      "description": "IP-Adapter to use for image generation.",
      "default": []
    },
    "nag_end": {
      "type": "number",
      "description": "The proportion of steps to apply NAG. After the specified proportion\n            of steps has been iterated, the remaining steps will use original\n            attention processors in FLUX.",
      "default": 0.25
    },
    "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": []
    },
    "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
    },
    "reference_image_url": {
      "type": "string",
      "description": "URL of Image for Reference-Only"
    },
    "reference_end": {
      "type": "number",
      "description": "The percentage of the total timesteps when the reference guidance is to be ended.",
      "default": 1
    },
    "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."
    },
    "nag_scale": {
      "type": "number",
      "description": "The scale for NAG. Higher values will result in a image that is more distant\n            to the negative prompt.",
      "default": 3
    },
    "reference_strength": {
      "type": "number",
      "description": "Strength of reference_only generation. Only used if a reference image is provided.",
      "default": 0.65
    },
    "max_shift": {
      "type": "number",
      "description": "Max shift for the scheduled timesteps",
      "default": 1.15
    },
    "fill_image": {
      "type": "null",
      "description": "Use an image input to influence the generation. Can be used to fill images in masked areas."
    },
    "real_cfg_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
    },
    "num_images": {
      "type": "integer",
      "description": "The number of images to generate. This is always set to 1 for streaming output.",
      "default": 1
    },
    "easycontrols": {
      "type": "array",
      "description": "EasyControl Inputs to use for image generation.",
      "default": []
    },
    "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
    },
    "nag_alpha": {
      "type": "number",
      "description": "The alpha value for NAG. This value is used as a final weighting\n            factor for steering the normalized guidance (positive and negative prompts)\n            in the direction of the positive prompt. Higher values will result in less\n            steering on the normalized guidance where lower ",
      "default": 0.25
    },
    "scheduler": {
      "type": "string",
      "description": "Scheduler for the denoising process.",
      "default": "euler",
      "enum": [
        "euler",
        "dpmpp_2m"
      ]
    },
    "use_real_cfg": {
      "type": "boolean",
      "description": "Uses classical CFG as in SD1.5, SDXL, etc. Increases generation times and price when set to be true.\n            If using XLabs IP-Adapter v1, this will be turned on!.",
      "default": false
    },
    "controlnets": {
      "type": "array",
      "description": "The controlnets to use for the image generation. Only one controlnet is supported at the moment.",
      "default": []
    },
    "use_cfg_zero": {
      "type": "boolean",
      "description": "Uses CFG-zero init sampling as in https://arxiv.org/abs/2503.18886.",
      "default": false
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "png",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "reference_start": {
      "type": "number",
      "description": "The percentage of the total timesteps when the reference guidance is to bestarted.",
      "default": 0
    }
  }
}