Backend 5,967 installs

nano-banana-2

by pilioai/skills

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,…

Skill content

Text-to-image generation and reference-based image editing via the Pilio Nano Banana 2 model.

- Generate images from text prompts or edit existing images by providing local reference files

- Supports 12+ aspect ratios (1:1, 16:9, 9:16, etc.) and four resolution tiers (0.5K to 4K)

- Use the Pilio CLI for consistent API interaction, polling, and error handling; requires PILIO_API_KEY environment variable

- Compose images from multiple reference inputs by repeating the --input flag

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:

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

Edit or compose from one or more references:

pnpm dlx @pilio/cli nano-banana-2 --input ./reference.png --prompt "<edit prompt>" --resolution "1K"