Generates and edits AI images via AceDataCloud's Gemini-based NanoBanana API. Use for text-to-image creation or editing existing images with natural language instructions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/acedatacloud-ai-media:nano-banana-imageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate and edit AI images through AceDataCloud's NanoBanana (Gemini-based) API.
Generate and edit AI images through AceDataCloud's NanoBanana (Gemini-based) API.
Setup: See authentication for token setup.
curl -X POST https://api.acedata.cloud/nano-banana/images \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "generate", "prompt": "a watercolor painting of a French countryside village", "model": "nano-banana"}'
Async: See async task polling. Poll via
POST /nano-banana/taskswith{"id": "..."}.
| Model | Best For |
|---|---|
nano-banana | Standard image generation (default) |
nano-banana-2 | Improved quality, second generation |
nano-banana-pro | Highest quality, most detailed output |
POST /nano-banana/images
{
"action": "generate",
"prompt": "a photorealistic macro shot of morning dew on a spider web",
"model": "nano-banana-pro",
"aspect_ratio": "16:9",
"resolution": "2K"
}
Edit existing images using natural language instructions — no mask needed. Pass source images via image_urls.
POST /nano-banana/images
{
"action": "edit",
"prompt": "change the background to a starry night sky",
"image_urls": ["https://example.com/photo.jpg"],
"model": "nano-banana"
}
| Parameter | Values | Description |
|---|---|---|
action | "generate", "edit" | Operation mode |
model | "nano-banana", "nano-banana-2", "nano-banana-pro" | Model to use |
prompt | string | Image description or editing instruction |
image_urls | array of strings | Source image URLs (required for edit action) |
aspect_ratio | "1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4" | Output aspect ratio |
resolution | "1K", "2K", "4K" | Output resolution (1K=1024px, 2K=2048px, 4K=4096px) |
callback_url | string | Async callback URL; returns a task ID immediately |
/nano-banana/images endpoint with action: "edit" and image_urls array (not a separate /edit path)nano-banana-2 is the second-generation model; nano-banana-pro offers the highest qualityid (not task_id) in the /nano-banana/tasks request body"16:9") not pixel dimensionsMCP:
pip install mcp-nano-banana| Hosted:https://nano-banana.mcp.acedata.cloud/mcp| See all MCP servers
npx claudepluginhub acedatacloud/skills --plugin acedatacloud-ai-toolsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.