nano-banana-visual

[OPTIONAL] AI-powered visual generation using Google Nano Banana Pro. For user flows, architecture diagrams, mockups.

⭐5stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026⬇️1downloads

When & Why to Use This Skill

The Nano Banana Pro Visual Integration is an AI-powered Claude skill designed to automate the creation of professional diagrams and UI mockups. By leveraging Google's Nano Banana Pro, it enables users to generate stakeholder maps, user flows, system architectures, and wireframes directly from text prompts or sketches, significantly streamlining the transition from discovery to development and enhancing technical documentation with high-quality visuals.

Use Cases

  • Discovery & Strategy: Automatically generate stakeholder maps to visualize project relationships and organizational impact during the initial planning phase.
  • Product Documentation: Create detailed user flow diagrams for PRDs (Product Requirement Documents) to illustrate complex navigation paths and user journeys.
  • Technical Architecture: Design comprehensive system architecture diagrams for microservices, databases, and cloud infrastructure to support technical specifications.
  • UI/UX Prototyping: Rapidly build screen mockups and wireframes using text-to-image or sketch-to-UI capabilities to accelerate the design and feedback loop.
namenano-banana-visual
description"[OPTIONAL] AI-powered visual generation using Google Nano Banana Pro. For user flows, architecture diagrams, mockups."
optionaltrue

Nano Banana Pro Visual Integration

OPTIONAL SKILL - AID works without this.

Setup

ENABLE_NANO_BANANA=true
NANO_BANANA_PROVIDER=google
GOOGLE_AI_API_KEY=your-key

When to Use

Phase Trigger Output
Discovery "Create stakeholder map" Diagram
PRD "Create user flow" Flow diagram
Tech Spec "Create architecture" System diagram
Development "Create mockup" Screen mockup

Quick Start

User Flow

const result = await client.generateFromText(`
Create user flow for checkout:
1. Cart Review
2. Shipping
3. Payment
4. Confirmation

Style: Clean, modern
`);

Architecture

const result = await client.generateFromText(`
Create microservices diagram:
- Frontend: React
- API Gateway: Kong
- Services: User, Order, Payment
- Database: PostgreSQL, Redis
`);

Screen Mockup

const builder = new WireframePromptBuilder({
  designSystem: 'material3',
  primaryColor: '#3B82F6',
});

const prompt = builder.generateScreen({
  name: 'Dashboard',
  components: [
    { type: 'header', position: 'top' },
    { type: 'card', description: 'Stats' },
    { type: 'list', description: 'Activity' },
  ],
});

File Organization

docs/visuals/
  discovery/stakeholder-map.png
  prd/user-flow.png
  tech-spec/architecture.png
  design/mockup.png

API Methods

Method Description
generateFromText(prompt) Image from text
editImage(base64, instruction) Edit image
wireframeToUI(sketch, description) Sketch to UI

Options

Option Values
aspectRatio 1:1, 16:9, 9:16
resolution 1K, 2K, 4K
numImages 1-4