Sign inGet $5 free

Gemini 3.1 Flash Image Preview

Liveby Google

Gemini 3.1 Flash Image (a.k.a Nano Banana 2) is Google's new state-of-the-art fast image generation and editing model

Ask your agent

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

Make an image with Gemini 3.1 Flash Image Preview: a cozy coffee shop in São Paulo at golden hour.
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 and input schema

Image generation API by Google, callable through Superpowers. It costs $0.086 per image, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.gemini-3.1-flash-image-preview", or over MCP with run_tool. 88 other providers in this category take the same input and can be compared side by side.

Tool id
Price per call
$0.086 / 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.gemini-3.1-flash-image-preview","input":{"prompt":""},"idempotency_key":"example-request-1"}'

Input

12 fields · 1 required
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "png",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ]
    },
    "safety_tolerance": {
      "type": "string",
      "description": "The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.",
      "default": "4",
      "enum": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6"
      ]
    },
    "num_images": {
      "type": "integer",
      "description": "The number of images to generate.",
      "default": 1
    },
    "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
    },
    "seed": {
      "type": "integer",
      "description": "The seed for the random number generator."
    },
    "system_prompt": {
      "type": "string",
      "description": "Optional system instruction that steers the model's persona and output style across the request. Leave blank to omit; when provided, it is sent as the system instruction to Gemini (or as a system message on OpenAI-compatible providers).",
      "default": ""
    },
    "aspect_ratio": {
      "type": "string",
      "description": "The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8. Use \"auto\" to let the model decide based on the prompt.",
      "default": "auto",
      "enum": [
        "auto",
        "21:9",
        "16:9",
        "3:2",
        "4:3",
        "5:4",
        "1:1",
        "4:5",
        "3:4",
        "2:3",
        "9:16",
        "4:1",
        "1:4",
        "8:1",
        "1:8"
      ]
    },
    "prompt": {
      "type": "string",
      "description": "The text prompt to generate an image from."
    },
    "limit_generations": {
      "type": "boolean",
      "description": "Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate and ignore any intermediate images generated by the model. This may affect generation quality.",
      "default": true
    },
    "thinking_level": {
      "type": "string",
      "description": "When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.",
      "enum": [
        "minimal",
        "high"
      ]
    },
    "enable_web_search": {
      "type": "boolean",
      "description": "Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.",
      "default": false
    },
    "resolution": {
      "type": "string",
      "description": "The resolution of the image to generate.",
      "default": "1K",
      "enum": [
        "0.5K",
        "1K",
        "2K",
        "4K"
      ]
    }
  }
}