Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Generate Edit Images Nanophoto

ASecurity

Generate or edit AI images with the NanoPhoto.AI Nano Banana Pro API. Use when: (1) User wants text-to-image generation from a prompt, (2) User wants image-to-image editing from one or more public image URLs, (3) User mentions Nano Banana Pro, NanoPhoto image generation, text to…

19 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentspythongoshellbashapi

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill generate-edit-images-nanophoto --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate Edit Images Nanophoto?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Generate Edit Images Nanophoto
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-generate-edit-images-nanophoto/badge)](https://www.skillsdirectory.com/skills/rondoflow-generate-edit-images-nanophoto)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: generate-edit-images-nanophoto
description: "Generate or edit AI images with the NanoPhoto.AI Nano Banana Pro API. Use when: (1) User wants text-to-image generation from a prompt, (2) User wants image-to-image editing from one or more public image URLs, (3) User mentions Nano Banana Pro, NanoPhoto image generation, text to…"
category: "AI & Agents"
author: community
version: "1.0.1"
icon: bot
---

# Nano Banana Pro

Generate or edit images through the NanoPhoto.AI Nano Banana Pro API.

## Prerequisites

1. Obtain an API key at: https://nanophoto.ai/settings/apikeys
2. Configure `NANOPHOTO_API_KEY` before using the skill.

Preferred OpenClaw setup:

- Open the skill settings for this skill
- Add an environment variable named `NANOPHOTO_API_KEY`
- Paste the API key as its value

Equivalent config shape:

```json
{
  "skills": {
    "entries": {
      "nano-banana-pro": {
        "enabled": true,
        "env": {
          "NANOPHOTO_API_KEY": "your_api_key_here"
        }
      }
    }
  }
}
```

Other valid ways to provide the key:

- **Shell**: `export NANOPHOTO_API_KEY="your_api_key_here"`
- **Tool-specific env config**: any runtime that injects `NANOPHOTO_API_KEY`

## Choose the mode

- Use `generate` for text-to-image.
- Use `edit` for image-to-image edits.
- For `edit`, provide one or more **public image URLs**.
- Do **not** use local image files or base64 images with the API. The API only accepts `inputImageUrls`.

## Recommended workflow

1. Collect the prompt.
2. Decide `mode`: `generate` or `edit`.
3. Choose `aspectRatio` and `imageQuality`.
4. For `edit`, collect up to 8 public image URLs.
5. Submit the generation request.
6. Poll the status endpoint every 5 seconds until `completed` or `failed`.
7. Return the final `imageUrl` and progress/result details.
8. Expect real-world wait time to vary from roughly 30 seconds to 300 seconds depending on queue/load and prompt complexity; avoid short timeouts.

## Preferred command

Use the bundled script for reliable submission + polling:

### Text to image

macOS / Linux:

```bash
python3 scripts/nano_banana_generate.py \
  --prompt "A futuristic cityscape at sunset with flying cars and neon lights" \
  --mode generate \
  --aspect-ratio 16:9 \
  --image-quality 2K
```

Windows:

```bash
python scripts/nano_banana_generate.py ^
  --prompt "A futuristic cityscape at sunset with flying cars and neon lights" ^
  --mode generate ^
  --aspect-ratio 16:9 ^
  --image-quality 2K
```

### Image to image

macOS / Linux:

```bash
python3 scripts/nano_banana_generate.py \
  --prompt "Transform this photo into a watercolor painting style" \
  --mode edit \
  --input-image-url https://static.nanophoto.ai/demo/nano-banana-pro.webp \
  --aspect-ratio 16:9 \
  --image-quality 1K
```

Windows (cmd.exe):

```bash
python scripts/nano_banana_generate.py ^
  --prompt "Transform this photo into a watercolor painting style" ^
  --mode edit ^
  --input-image-url https://static.nanophoto.ai/demo/nano-banana-pro.webp ^
  --aspect-ratio 16:9 ^
  --image-quality 1K
```

Windows (PowerShell):

```powershell
python scripts/nano_banana_generate.py `
  --prompt "Transform this photo into a watercolor painting style" `
  --mode edit `
  --input-image-url https://static.nanophoto.ai/demo/nano-banana-pro.webp `
  --aspect-ratio 16:9 `
  --image-quality 1K
```

The script reads `NANOPHOTO_API_KEY` from the environment, submits the task, polls automatically, and prints the final JSON result.

## Manual API calls

### Submit generation

```bash
curl -X POST "https://nanophoto.ai/api/nano-banana-pro/generate" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $NANOPHOTO_API_KEY" \
  --data-raw '{
    "prompt": "A futuristic cityscape at sunset with flying cars and neon lights",
    "mode": "generate",
    "aspectRatio": "16:9",
    "imageQuality": "2K"
  }'
```

### Check status

```bash
curl -X POST "https://nanophoto.ai/api/nano-banana-pro/check-status" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $NANOPHOTO_API_KEY" \
  --data-raw '{"generationId": "abc123xyz"}'
```

## Parameter guidance

- `aspectRatio`
  - `16:9`
  - `9:16`
  - `4:3`
  - `3:4`
- `imageQuality`
  - `1K`: lowest cost
  - `2K`: balanced quality/cost
  - `4K`: highest cost
- `inputImageUrls`
  - Max 8 URLs
  - Must be publicly reachable

## Error handling

| errorCode | Cause | Action |
|-----------|-------|--------|
| `LOGIN_REQUIRED` | Invalid or missing API key | Verify key at https://nanophoto.ai/settings/apikeys |
| `API_KEY_RATE_LIMIT_EXCEEDED` | Rate limit exceeded | Wait and retry |
| `INSUFFICIENT_CREDITS` | Not enough credits | Top up credits |
| `INVALID_PROMPT` | Missing or empty prompt | Ask user for a prompt |
| `MISSING_INPUT_IMAGE` | Edit mode missing images | Ask for public image URLs |
| `TOO_MANY_IMAGES` | More than 8 images | Reduce to 8 or fewer URLs |
| `IMAGE_URLS_REQUIRED` | API needs `inputImageUrls` | Do not send base64 or local file paths |
| `NOT_FOUND` | Invalid generation ID | Re-submit or verify the ID |
| `FORBIDDEN` | Task not owned by this key | Verify account/key ownership |
| `GENERATION_FAILED` | Server-side failure | Retry or simplify the prompt |

## Bundled files

- `scripts/nano_banana_generate.py`: submit a generation/edit task and poll until completion.
- `references/api.md`: condensed API reference, costs, and response shapes.
erate.py`: submit a generation/edit task and poll until completion.
- `references/api.md`: condensed API reference, costs, and response shapes.
eference, costs, and response shapes.

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693161 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →