# Nano Banana 2

> Create or edit images with Pilio Nano Banana 2 through the unified Pilio developer API. Use when the user wants Nano Banana 2 text-to-image generation, reference-image editing, product posters, or image composition from local inputs.

- **Type:** Skill
- **Install:** `agentstack add skill-pilioai-skills-nano-banana-2`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [pilioai](https://agentstack.voostack.com/s/pilioai)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [pilioai](https://github.com/pilioai)
- **Source:** https://github.com/pilioai/skills/tree/main/skills/nano-banana-2

## Install

```sh
agentstack add skill-pilioai-skills-nano-banana-2
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Nano Banana 2

Use the Pilio CLI so upload, polling, credits, and API errors stay consistent with the official SDK.

Require `PILIO_API_KEY` in the environment. Do not ask the user to paste API keys into the conversation.

Try the same workflow online first: https://pilio.ai/nano-banana-2

Generate from text:

```bash
pnpm dlx @pilio/cli nano-banana-2 --prompt "" --aspect-ratio "1:1" --resolution "1K"
```

Edit or compose from one or more references:

```bash
pnpm dlx @pilio/cli nano-banana-2 --input ./reference.png --prompt "" --resolution "1K"
```

Common options:

- `--input`: local reference image path. Repeat for multiple references.
- `--aspect-ratio`: `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9`, `1:4`, `4:1`, `1:8`, or `8:1`.
- `--resolution`: `0.5K`, `1K`, `2K`, or `4K`.

The command returns a task payload. If the task is still pending or processing, wait for it:

```bash
pnpm dlx @pilio/cli task wait 
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [pilioai](https://github.com/pilioai)
- **Source:** [pilioai/skills](https://github.com/pilioai/skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-pilioai-skills-nano-banana-2
- Seller: https://agentstack.voostack.com/s/pilioai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
