← 返回
未分类 Key 中文

Nano Banana Image

Generate and edit AI images with NanoBanana (Gemini-based) via AceDataCloud API. Use when creating images from text prompts or editing existing images with t...
使用 NanoBanana(基于 Gemini)通过 AceDataCloud API 生成和编辑 AI 图像。适用于根据文字提示创建图像或编辑已有图像。
germey germey 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 393
下载
💾 0
安装
1
版本
#latest

概述

NanoBanana Image Generation

Generate and edit AI images through AceDataCloud's NanoBanana (Gemini-based) API.

Authentication

export ACEDATACLOUD_API_TOKEN="your-token-here"

Quick Start

curl -X POST https://api.acedata.cloud/nano-banana/images \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a watercolor painting of a French countryside village", "model": "nano-banana"}'

Models

ModelBest For
-----------------
nano-bananaStandard image generation (default)
nano-banana-proHigher quality, more detailed output

Workflows

1. Text-to-Image

POST /nano-banana/images
{
  "prompt": "a photorealistic macro shot of morning dew on a spider web",
  "model": "nano-banana-pro",
  "aspect_ratio": "16:9"
}

2. Image Editing

Edit an existing image using natural language instructions — no mask needed.

POST /nano-banana/images/edit
{
  "prompt": "change the background to a starry night sky",
  "image_url": "https://example.com/photo.jpg",
  "model": "nano-banana"
}

Parameters

Generation

ParameterValuesDescription
--------------------------------
model"nano-banana", "nano-banana-pro"Model to use
aspect_ratio"1:1", "3:4", "4:3", "9:16", "16:9"Output aspect ratio

Editing

ParameterRequiredDescription
----------------------------------
image_urlYesURL of the source image
promptYesNatural language editing instruction
modelNoModel to use (defaults to "nano-banana")
aspect_ratioNoOutput aspect ratio

MCP Server

pip install mcp-nano-banana

Or hosted: https://nano-banana.mcp.acedata.cloud/mcp

Key tools: nano_banana_generate_image, nano_banana_edit_image

Gotchas

  • Editing does NOT require a mask — just describe the change in natural language
  • nano-banana-pro produces significantly more detailed results but costs more
  • Results return a direct image URL — no task polling needed
  • Aspect ratio uses colon notation (e.g., "16:9") not pixel dimensions
  • The Gemini-based model excels at understanding complex, conversational editing instructions

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 09:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Acedatacloud Api

germey
AceDataCloud API 使用指南。在身份验证、发起 API 调用、管理凭证、了解计费或集成 AceDataCloud 服务时使用。
★ 0 📥 553

Seedance Video

germey
使用 Seedance(字节跳动)AceDataCloud API 生成 AI 舞蹈和运动视频,适用于文字提示生成视频或把图片动画化。
★ 0 📥 422

Google Search

germey
使用 AceDataCloud API 调用 Google 搜索,支持搜索网页、图片、新闻、地图、当地地点和视频,具备本地化和时间过滤功能。
★ 0 📥 518