Sign inGet $5 free

Grok Imagine Image

Edits a photo you give it

Liveby fal

Edit images precisely with xAI's Grok Imagine model

Ask your agent

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

Use Grok Imagine Image 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 fal, callable through Superpowers. It costs $0.022 per image, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.xai-grok-imagine-image-edit", or over MCP with run_tool.

Tool id
Price per call
$0.022 / image

Call it

Also over MCP as run_tool
curl -X POST https://superpowers.tools/v1/run \
  -H 'Authorization: Bearer $SP_KEY' \
  -d '{"tool":"fal.xai-grok-imagine-image-edit","input":{"prompt":""},"idempotency_key":"example-request-1"}'

Input

8 fields · 1 required
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "image_urls": {
      "type": "array",
      "description": "List of URLs of the images to edit. A maximum of 3 images are supported."
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "jpeg",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ]
    },
    "num_images": {
      "type": "integer",
      "description": "Number of images to generate.",
      "default": 1
    },
    "prompt": {
      "type": "string",
      "description": "Text description of the desired image."
    },
    "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
    },
    "enable_safety_checker": {
      "type": "boolean",
      "description": "Authorized callers may set false to request relaxed screening.",
      "default": true
    },
    "resolution": {
      "type": "string",
      "description": "Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.",
      "default": "1k",
      "enum": [
        "1k",
        "2k"
      ]
    },
    "aspect_ratio": {
      "type": "string",
      "description": "Aspect ratio of the edited image. When set to `auto` (the default), the output preserves the aspect ratio of the first input image.",
      "default": "auto",
      "enum": [
        "auto",
        "2:1",
        "20:9",
        "19.5:9",
        "16:9",
        "4:3",
        "3:2",
        "1:1",
        "2:3",
        "3:4",
        "9:16",
        "9:19.5",
        "9:20",
        "1:2"
      ]
    }
  }
}