nano-banana

Generate images via the Gemini Image API with Typst-compatible embedding code.

2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/clearsmog/claude-skills --skill nano-banana-clearsmog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana
Source: https://github.com/clearsmog/claude-skills/tree/main/nano-banana
Command: npx skills add https://github.com/clearsmog/claude-skills --skill nano-banana-clearsmog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai>=1.0.0, pillow>=10.0.0, and includes scripts (resource) components.

What problem does it solve?

Generate AI-assisted visuals for documents with Typst-ready embedding code, streamlining illustration creation and integration.

Core Features & Use Cases

  • Generate images from descriptive prompts for documents, diagrams, or photorealistic visuals.
  • Output Typst-compatible embedding code for easy inclusion in Typst documents.
  • Optional image editing support via input images and flexible controls (resolution, aspect ratio, count, and output path).

Quick Start

Provide a prompt to generate one or more images and receive Typst-ready embedding code for immediate document use.

Frequently Asked Questions about nano-banana

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

FAQPage Schema
How do I generate AI images and get Typst embedding code automatically?

You can generate AI images and automatically receive Typst embedding code by providing a text prompt; the tool utilizes the Gemini Image API to create visuals and outputs ready-to-use Typst figure embeds for your documents.

Can I use the Gemini Image API to create document illustrations for Typst?

Yes, you can use the Gemini Image API to create document illustrations for Typst. The tool generates visuals from your descriptive prompts and directly outputs matching Typst-compatible embedding code for seamless integration.

Do I need a Gemini API key to generate images for Typst documents?

Yes, you need a Gemini API key to generate images for Typst documents. The tool requires this key to authenticate requests to the Gemini Image API for creating your visuals and outputting the embedding code.

How do I customize aspect ratio and resolution when generating images with Gemini?

You can customize aspect ratio and resolution when generating images by specifying options in your request. The tool supports flexible controls for resolution, aspect ratio, image count, and output path to tailor the visual output.

Can I edit an existing input image with the Gemini Image API for Typst?

Yes, you can edit an existing input image with the Gemini Image API for Typst. The tool supports optional input images alongside text prompts to modify visuals and output updated Typst-compatible embedding code.