Sign inGet $5 free

FLUX.2 [klein] 4B

Edits a photo you give it

Liveby Black Forest Labs

Image-to-image editing with FLUX.2 [klein] 4B from Black Forest Labs.

Precise modifications using natural language descriptions and hex color control.

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.2 [klein] 4B 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.011 per megapixel, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.flux-2-klein-4b-edit", or over MCP with run_tool.

Tool id
Price per call
$0.011 / 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-2-klein-4b-edit","input":{"prompt":"","image_urls":["marketing digital"]},"idempotency_key":"example-request-1"}'

Input

9 fields · 2 required
{
  "type": "object",
  "required": [
    "prompt",
    "image_urls"
  ],
  "properties": {
    "num_inference_steps": {
      "type": "integer",
      "description": "The number of inference steps to perform.",
      "default": 4
    },
    "sync_mode": {
      "type": "boolean",
      "description": "If `True`, the media will be returned as a data URI. Output is not stored when this is True.",
      "default": false
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to edit the image."
    },
    "seed": {
      "type": "integer",
      "description": "The seed to use for the generation. If not provided, a random seed will be used."
    },
    "image_urls": {
      "type": "array",
      "description": "The URLs of the images for editing. A maximum of 4 images are allowed."
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "png",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ]
    },
    "image_size": {
      "type": "string",
      "description": "The size of the generated image. If not provided, uses the input image size.",
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9"
      ]
    },
    "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
    },
    "num_images": {
      "type": "integer",
      "description": "The number of images to generate.",
      "default": 1
    }
  }
}