详细分析 ▾
运行时依赖
版本
Initial release of nano-banana-image skill. - Generate and edit AI images via AceDataCloud NanoBanana (Gemini-based) API. - Supports both standard (`nano-banana`) and high-quality (`nano-banana-pro`) models. - Enables text-to-image and image editing workflows using natural language prompts. - No mask needed for editing; simply describe desired changes. - Returns direct image URLs with flexible aspect ratios. - Requires ACEDATACLOUD_API_TOKEN for authentication.
安装命令 点击复制
技能文档
Generate and edit AI images through AceDataCloud's NanoBanana (Gemini-based) API.
Authentication
export ACEDATACLOUD_API_TOKEN="your-token-here"
Quick 开始
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
| Model | Best For |
|---|---|
nano-banana | Standard image generation (default) |
nano-banana-pro | Higher quality, more detailed output |
Workflows
1. Text-到-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
| Parameter | Values | Description |
|---|---|---|
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
| Parameter | Required | Description |
|---|---|---|
image_url | Yes | URL of the source image |
prompt | Yes | Natural language editing instruction |
model | No | Model to use (defaults to "nano-banana") |
aspect_ratio | No | Output 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 做 不 require mask — 只是 describe 更改 在...中 natural language
nano-banana-proproduces significantly 更多 detailed results 但是 costs 更多- Results return direct image URL — 否 task polling needed
- Aspect ratio uses colon notation (e.g.,
"16:9") 不 pixel dimensions - Gemini-based 模型 excels 在 understanding complex, conversational editing instructions
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制