Show Hn: Nano Pdf – A Cli Tool To Edit Pdfs With Gemini's Nano Banana
A CLI tool to edit PDF slides using natural language prompts, powered by Google's Gemini 3 Pro Image ("Nano Banana") model.
Nano PDF uses Gemini 3 Pro Image (aka Nano Banana) and PDF manipulation to enable quick edits of PDFs with natural language editing:
The tool processes multiple pages in parallel for speed, with configurable resolution (4K/2K/1K) to balance quality vs. cost.
You need a paid Google Gemini API key with billing enabled. Free tier keys do not support image generation.
Note: This tool uses Gemini 3 Pro Image which requires a paid API tier. See pricing for details.
The new slide will automatically match the visual style of your existing slides and uses document context by default for better relevance.
Note: After installation, you may need to restart your terminal or add the installation directory to your PATH.
Make sure you've installed poppler and tesseract for your platform. After installation, restart your terminal to refresh PATH. Run which pdftotext and which tesseract to verify they're accessible.
Gemini 3 Pro Image requires a paid API tier. Visit Google AI Studio to enable billing on your project.
Try using --style-refs to specify reference pages that have the desired visual style. The model will analyze these pages to better match fonts, colors, and layout.
Source: HackerNews