nano-banana

Nano Banana by Ace Data Cloud

acedatacloudnano-banana
MCPMode: REMOTE0 downloads

Generate images or edit a reference image with text instructions. Discover available models and retrieve the original task using your own Ace Data Cloud key.

Nano Banana

Nano Banana by Ace Data Cloud

Generate an image from a prompt, or edit a reference image with text instructions.

  1. Open Ace Data Cloud Applications and copy an application API key with access to Nano Banana.
  2. Install this server from LangBot Space. Paste the key into the private token field without the Bearer prefix. LangBot supplies that prefix when it connects.
  3. Enable the server for your agent. Run nanobanana_list_models to review available models. Retrieve a previous image with nanobanana_get_task and its original task ID.

Media generation uses Ace credits. View service pricing.

Source and usage · Support · Privacy

Available tools
nanobanana_generate_image

Generate an AI image from a text prompt using Google's Nano Banana model. This creates high-quality images from detailed text descriptions. The more descriptive your prompt, the better the results. Use this when: - You want to generate a new image from scratch - You have a detailed description of the desired image - You need photorealistic or artistic image generation Prompt writing tips: - Include: Main subject + Atmosphere + Lighting + Camera/Lens + Quality keywords - Example: "Urban career woman, backlit sunlight, film grain, orange-gold tones, hopeful dawn" Returns: Task ID, trace ID, and generated image URL.

Parameters
{
  "type": "object",
  "title": "nanobanana_generate_imageArguments",
  "required": [
    "prompt"
  ],
  "properties": {
    "count": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 4,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Count",
      "default": null,
      "description": "Number of images to generate. Default is 1."
    },
    "model": {
      "enum": [
        "nano-banana",
        "nano-banana-2-lite",
        "nano-banana-2",
        "nano-banana-2.1",
        "nano-banana-pro",
        "nano-banana:official",
        "nano-banana-2-lite:official",
        "nano-banana-2:official",
        "nano-banana-pro:official"
      ],
      "type": "string",
      "title": "Model",
      "default": "nano-banana",
      "description": "Model to use for generation. 'nano-banana' (default, alias of gemini-2.5-flash-image) is faster. 'nano-banana-2-lite' is a lightweight variant. 'nano-banana-2' (alias of gemini-3.1-flash-image) offers pro-level quality at flash speed. 'nano-banana-2.1' supports 1K/2K/4K generation and editing. 'nano-banana-pro' (alias of gemini-3-pro-image) offers highest quality and supports resolution parameter. The existing nano-banana, 2-lite, 2, and pro models have ':official' variants; 2.1 does not."
    },
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "Description of the image to generate. Be descriptive about subject, atmosphere, lighting, camera/lens, and quality. Example: 'A photorealistic close-up portrait of an elderly Japanese ceramicist with deep wrinkles and a warm smile, soft golden hour light, 85mm portrait lens, bokeh background'"
    },
    "resolution": {
      "anyOf": [
        {
          "enum": [
            "1K",
            "2K",
            "4K"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resolution",
      "default": null,
      "description": "Resolution of the generated image. Options: '1K' (default), '2K', '4K'. Supported by nano-banana-2, nano-banana-2.1, and nano-banana-pro."
    },
    "aspect_ratio": {
      "enum": [
        "1:1",
        "3:2",
        "2:3",
        "16:9",
        "9:16",
        "4:3",
        "3:4"
      ],
      "type": "string",
      "title": "Aspect Ratio",
      "default": "1:1",
      "description": "Aspect ratio of the generated image. Options: '1:1' (square, default), '3:2', '2:3', '16:9' (landscape), '9:16' (portrait), '4:3', '3:4'."
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "default": null,
      "description": "Optional callback URL to receive the result asynchronously."
    }
  }
}
nanobanana_edit_image

Edit or combine images using AI based on a text prompt. This allows you to modify existing images or combine multiple images together. Perfect for virtual try-on, product placement, image enhancement, and more. Use this when: - You want to combine multiple images (e.g., person + clothing) - You want to modify an existing image - You need virtual try-on (putting clothes on a person) - You want to place products in different scenes - You need to change attributes (materials, colors, styles) Common use cases: - Portrait replacement: Try different clothing on same person - Product scene composition: Place products in realistic environments - Attribute replacement: Change materials, colors, or variants - Poster editing: Rapidly change styles or themes - 2D to 3D conversion: Convert images to 3D product mockups - Image restoration: Restore old or damaged photos Returns: Task ID, trace ID, and edited image URL.

Parameters
{
  "type": "object",
  "title": "nanobanana_edit_imageArguments",
  "required": [
    "prompt",
    "image_urls"
  ],
  "properties": {
    "count": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 4,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Count",
      "default": null,
      "description": "Number of edited images to generate. Default is 1."
    },
    "model": {
      "enum": [
        "nano-banana",
        "nano-banana-2-lite",
        "nano-banana-2",
        "nano-banana-2.1",
        "nano-banana-pro",
        "nano-banana:official",
        "nano-banana-2-lite:official",
        "nano-banana-2:official",
        "nano-banana-pro:official"
      ],
      "type": "string",
      "title": "Model",
      "default": "nano-banana",
      "description": "Model to use for editing. 'nano-banana' (default, alias of gemini-2.5-flash-image) is faster. 'nano-banana-2-lite' is a lightweight variant. 'nano-banana-2' (alias of gemini-3.1-flash-image) offers pro-level quality at flash speed. 'nano-banana-2.1' supports 1K/2K/4K generation and editing. 'nano-banana-pro' (alias of gemini-3-pro-image) offers highest quality. The existing nano-banana, 2-lite, 2, and pro models have ':official' variants; 2.1 does not."
    },
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "Description of the edit to perform. Describe how the images should be combined or modified. Example: 'let this person wear this T-shirt', 'place this product in a modern kitchen scene'"
    },
    "image_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Image Urls",
      "description": "List of image URLs to edit. Can be HTTP/HTTPS URLs (publicly accessible) or Base64-encoded images (data:image/png;base64,...). When combining multiple images, describe their relationship in the prompt."
    },
    "resolution": {
      "anyOf": [
        {
          "enum": [
            "1K",
            "2K",
            "4K"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resolution",
      "default": null,
      "description": "Resolution of the edited image. Options: '1K', '2K', '4K'. Supported by nano-banana-2, nano-banana-2.1, and nano-banana-pro."
    },
    "aspect_ratio": {
      "anyOf": [
        {
          "enum": [
            "1:1",
            "3:2",
            "2:3",
            "16:9",
            "9:16",
            "4:3",
            "3:4"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Aspect Ratio",
      "default": null,
      "description": "Aspect ratio of the edited image. Options: '1:1', '3:2', '2:3', '16:9', '9:16', '4:3', '3:4'. If omitted, the model infers it from the input images."
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "default": null,
      "description": "Optional callback URL to receive the result asynchronously."
    }
  }
}
nanobanana_list_models

List accepted model identifiers without an API request or image generation. This is local reference information. It does not validate the application key, service access, account balance, or current model price.

Parameters
{
  "type": "object",
  "title": "nanobanana_list_modelsArguments",
  "properties": {}
}
nanobanana_get_task

Query the status and result of an image generation or edit task. Use this to check if a generation/edit is complete and retrieve the resulting image URLs and metadata. Use this when: - You want to check if an image generation has completed - You need to retrieve image URLs from a previous generation - You want to get the full details of a generated/edited image Returns: Task status and image information including URLs and prompts.

Parameters
{
  "type": "object",
  "title": "nanobanana_get_taskArguments",
  "required": [
    "task_id"
  ],
  "properties": {
    "task_id": {
      "type": "string",
      "title": "Task Id",
      "description": "The task ID returned from a generation or edit request. This is the 'task_id' field from any nanobanana_generate_image or nanobanana_edit_image tool response."
    }
  }
}
nanobanana_get_tasks_batch

Query multiple image generation/edit tasks at once. Efficiently check the status of multiple tasks in a single request. More efficient than calling nanobanana_get_task multiple times. Use this when: - You have multiple pending generations to check - You want to get status of several images at once - You're tracking a batch of generations Returns: Status and image information for all queried tasks.

Parameters
{
  "type": "object",
  "title": "nanobanana_get_tasks_batchArguments",
  "required": [
    "task_ids"
  ],
  "properties": {
    "task_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Task Ids",
      "description": "List of task IDs to query. Allows querying multiple tasks at once."
    }
  }
}

Use Nano Banana by Ace Data Cloud in Feishu/Lark bots, DingTalk bots, WeCom bots, WeChat bots, QQ bots, Slack bots, Discord bots, Telegram bots, LINE Bots, and Matrix Bots.

Host your bot on LangBot Cloud and connect this extension to the collaboration platforms your team already uses.

Open LangBot Cloud

Comments