kroki
Nano Banana - Kroki Diagram Rendering
Overview
Render text-based diagrams to PNG, SVG, PDF, or JPEG using Kroki.io. Supports 27 diagram languages including Mermaid, PlantUML, GraphViz, D2, Excalidraw, and more.
Key Features:
- 27 diagram languages in one tool
- PNG, SVG, PDF, JPEG output
- Zero dependencies (Python stdlib only)
- Free, open-source rendering service
- Reads from file, inline text, or stdin
When to Use This Skill
Use this skill only when the user explicitly asks for:
- Rendering a text-based diagram to an image file (PNG/SVG)
- A specific diagram language (PlantUML, GraphViz/DOT, D2, etc.)
More from flight505/nano-banana
image
Generate and edit images using Nano Banana 2 (gemini-3.1-flash-image-preview, fastest) or Nano Banana Pro. Supports aspect ratio and resolution control via Google GenAI SDK.
3diagram
Generate publication-quality technical diagrams using Nano Banana Pro (gemini-3-pro-image-preview) with AI-powered quality review. Smart iteration only regenerates when quality is below threshold. Supports style presets (technical, visual-abstract, minimal), aspect ratio, and resolution control (512-4K).
2video
Generate videos using Veo 3.1 — text-to-video, image-to-video, frame interpolation, and video extension
2visual-abstract
Create Nature-quality visual abstracts — scientific figures using visual metaphors, isometric depth, and physical analogies to convey complex technical systems. Use for README hero images, paper figures, blog graphics, or when the user wants diagrams that go beyond boxes and arrows. Triggers on: 'visual abstract', 'scientific figure', 'Nature-quality', 'publication graphic', 'infographic', 'visual metaphor', or requests for rich/expressive/artistic diagrams.
2