nano-banana2

Generate and analyze images from text prompts or reference images via the Gemini model.

60|10|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/BENZEMA216/ai-ecommerce-agent-skills --skill nano-banana2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana2
Source: https://github.com/BENZEMA216/ai-ecommerce-agent-skills/tree/main/nano-banana2
Command: npx skills add https://github.com/BENZEMA216/ai-ecommerce-agent-skills --skill nano-banana2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests>=2.31.0, and includes scripts (resource) components.

What problem does it solve?

通过 Nano Banana2,用户可以利用多模态能力从文本描述直接生成图片,并对现有图片进行风格化重绘,降低设计初稿的迭代成本。

Core Features & Use Cases

  • 文本对图像生成和多模态分析:通过文本提示生成图片并对输出进行分析和迭代。
  • 图生图与风格化迁移:上传参考图片并应用风格提示,输出风格统一的视觉材料,适用于海报、封面等场景。
  • 宽高比支持与设计工作流集成:支持多种宽高比,方便对接设计工作流以快速产出初稿。

Quick Start

Provide a text prompt or upload a reference image to generate a stylized visual.

Frequently Asked Questions about nano-banana2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images from text prompts using the Gemini model?

To generate images from text prompts using the Gemini model, you provide a text prompt to the skill's scripts, which then sends the request to the API and outputs the generated visual. This enables direct text-to-image generation for posters and illustrations.

Can I apply style transfer to an existing image for design workflows?

Yes, you can apply style transfer to an existing image by uploading a reference image and applying style hints to generate stylized visual materials. This image-to-image process outputs unified designs suitable for workflows like poster and cover creation.

Do I need a Gemini API key and Python 3.10 to run text-to-image generation scripts?

Yes, you need Gemini API access and Python 3.10 or higher to reliably execute the text-to-image generation scripts. The environment uses the requests dependency to communicate with the multimodal model and process image generation tasks.

Does multimodal image generation support multiple aspect ratios for concept visuals?

Yes, multimodal image generation supports multiple aspect ratios to facilitate integration into design workflows. This allows you to generate concept visuals and initial drafts that directly match specific layout requirements for posters and illustrations.

What is the best way to iterate on AI art design drafts without high costs?

The best way to iterate on AI art design drafts is using multimodal text-to-image generation to analyze and refine outputs. By sending text prompts or reference images to the model, you can quickly produce and iterate on initial design concepts at a lower cost.

Why does my reference image style transfer output not match my design workflow requirements?

If your reference image style transfer output does not match design workflow requirements, ensure your text prompts and reference images are correctly passed to the scripts. The skill relies on accurate multimodal inputs to reliably generate stylized visual materials.