ENPTSign inGet $5 free

GPT Image 2 API

Unavailableby OpenAI

GPT Image 2, OpenAI's latest image model, is capable of creating extremely detailed images with fine typography.

Guide: Image generation API prices

Not available right now: calls to fal are paused. See similar tools that work.

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 GPT Image 2 API: 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
Tool id
Price per call
$1.08 / unit

Call it

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

Input

8 fields · 1 required
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "output_format": {
      "type": "string",
      "description": "Output format for the images",
      "default": "png",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ]
    },
    "num_images": {
      "type": "integer",
      "description": "Number of images to generate",
      "default": 1
    },
    "prompt": {
      "type": "string",
      "description": "The prompt for image generation"
    },
    "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_size": {
      "type": "string",
      "description": "The size of the generated image. Supports preset names, explicit {width, height}, or 'auto' to let the model pick the best size. Concrete sizes must have both dimensions as multiples of 16, max edge 3840px, aspect ratio <= 3:1, total pixels between 655,360 and 8,294,400.",
      "default": "landscape_4_3",
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9",
        "auto"
      ]
    },
    "quality": {
      "type": "string",
      "description": "Quality for the generated image. Use 'auto' to let the model pick the best quality for the prompt.",
      "default": "high",
      "enum": [
        "auto",
        "low",
        "medium",
        "high"
      ]
    },
    "enable_safety_checker": {
      "type": "boolean",
      "description": "Authorized callers may set false to request relaxed screening.",
      "default": true
    },
    "background": {
      "type": "string",
      "description": "Background for the generated image",
      "default": "auto",
      "enum": [
        "auto",
        "transparent",
        "opaque"
      ]
    }
  }
}

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.openai-gpt-image-2 or MCP inspect_tool.

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