About nano-banana-pro
A skill for generating images with Nano Banana Pro through the Pilio CLI. It supports text prompts and reference-image editing or composition, with options for aspect ratio, resolution, and output count.
Key features
- 01Text-to-image generation
- 02Reference-image editing
- 03Multiple image references
- 04Aspect ratio selection
- 05Resolution and output count options
- 06Task status polling
Use cases
- 01Generate an image from a prompt
- 02Edit an image using a local reference
- 03Compose images from multiple references
- 04Wait for a pending generation task
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ pilioai/ skills --skill nano-banana-proAfter installing, type/nano-banana-proin Claude Code to confirm it loaded.
Details
From the project READMENano Banana Pro
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-pro
Generate from text:
pnpm dlx @pilio/cli nano-banana-pro --prompt "<prompt>" --aspect-ratio "1:1" --resolution "4K"
Edit or compose from one or more references:
pnpm dlx @pilio/cli nano-banana-pro --input ./reference.png --prompt "<edit prompt>"
Common options:
--input: local reference image path. Repeat for multiple references.--aspect-ratio:1:1,3:2,2:3,3:4,4:3,4:5,5:4,16:9,9:16, or21:9.--resolution:1K,2K, or4K.--output-count:1,2, or4.
The command returns a task payload. If the task is still pending or processing, wait for it:
pnpm dlx @pilio/cli task wait <task_id>