# Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

The new Gemini 3 Pro Image model (aka Nano Banana) is incredible at generating slides, so I thought it would be fun to build a CLI tool that lets you edit PDF presentations using plain English. The tool converts the page you want to edit into an image, sends it to the model API together with your p…

- **Page:** https://magpie.gallery/i/nano-pdf-a-cli-tool-to-edit-pdfs-with-gemini-s-nan-lwm0
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** windows, macos, linux
- **Tags:** pdf, cli, editing, slides, image-generation

## Source

Web · GavCo: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

- **Original:** https://news.ycombinator.com/item?id=46090619

> The new Gemini 3 Pro Image model (aka Nano Banana) is incredible at generating slides, so I thought it would be fun to build a CLI tool that lets you edit PDF presentations using plain English. The tool converts the page you want to edit into an image, sends it to the model API together with your prompt to generate an edited image, then converts the updated image back and stitches into the original document. Examples: - `nano-pdf edit deck.pdf 5 "Update the revenue chart to show Q3 at $2.5M"` - `nano-pdf add deck.pdf 15 "Create an executive summary slide with 5 bullet points"` Features: - Edit multiple pages in parallel - Add entirely new slides that match your deck's style - Google Search enabled by default so the model can look up current data - Preserves text layer for copy/paste and search It can work with any kind of PDF but I expect it would be most useful for a quick edit to a deck or something similar. GitHub: https://github.com/gavrielc/Nano-PDF https://github.com/gavrielc/Nano-PDF

## GitHub projects

- https://github.com/gavrielc/Nano-PDF

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
