Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

nano-banana-pdf-skill

bởi ps06756

Coding Agents & IDEs
422Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Edit PDF files visually using natural language with the nano-pdf CLI tool, powered by Google's Gemini 3 Pro Image.

Mô tả

Kỹ năng này làm gì

nano-pdf converts PDF pages to images, sends them to Google's Gemini 3 Pro Image with your edit instructions, then stitches the AI-edited pages back into a PDF with OCR text layer restoration. It supports modifying existing pages and inserting new AI-generated slides that visually match the rest of the deck.

Unlike manual PDF editors that require pixel-level changes, nano-pdf accepts plain-text descriptions and uses AI to render visual edits directly on the page.

Khi nào nên dùng

  • Fixing a typo on a specific slide in a presentation deck
  • Updating chart data or numbers in a PDF report
  • Rebranding slides with new colors and logos across multiple pages
  • Adding a new title or summary slide to an existing PDF
  • Changing header text or background color on selected pages

Quy trình ví dụ

ĐẦU VÀO

User asks: fix the typo on slide 5 and change the header background to dark blue on slide 1

AGENT
  1. 1

    Verify nano-pdf, poppler, tesseract, and GEMINI_API_KEY are available

  2. 2

    Identify target pages (1 and 5) and write a focused prompt for each change

  3. 3

    Run: nano-pdf edit deck.pdf 1 "Change header background to dark blue" 5 "Fix 'recieve' to 'receive'"

  4. 4

    Present the output file edited_deck.pdf to the user

ĐẦU RA

A PDF with the header background updated to dark blue on slide 1 and the typo corrected on slide 5

Yêu cầu

  • GEMINI_API_KEY environment variable (paid Google Gemini API key — free tier does not support image generation, obtain at https://aistudio.google.com/api-keys)

Cài đặt

clawhub install ps06756/nano-banana-pdf-skill

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết