Tech News
← Back to articles

Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

read original related products more articles

Nano PDF Editor

A CLI tool to edit PDF slides using natural language prompts, powered by Google's Gemini 3 Pro Image ("Nano Banana") model.

Features

Natural Language Editing : "Update the graph to include data from 2025", "Change the chart to a bar graph".

: "Update the graph to include data from 2025", "Change the chart to a bar graph". Add New Slides : Generate entirely new slides that match your deck's visual style.

: Generate entirely new slides that match your deck's visual style. Non-Destructive : Preserves the searchable text layer of your PDF using OCR re-hydration.

: Preserves the searchable text layer of your PDF using OCR re-hydration. Multi-page & Parallel: Edit multiple pages in a single command with concurrent processing.

How It Works

Nano PDF uses Gemini 3 Pro Image (aka Nano Banana) and PDF manipulation to enable quick edits of PDFs with natural language editing:

Page Rendering: Converts target PDF pages to images using Poppler Style References: Optionally includes style reference pages with generation request to understand visual style (fonts, colors, layout) AI Generation: Sends images + prompts to Gemini 3 Pro Image, which generates edited versions OCR Re-hydration: Uses Tesseract to restore searchable text layer to generated images PDF Stitching: Replaces original pages with AI-edited versions while preserving document structure

... continue reading