Generate a graphic-recording style image from Amaroad slide content or slide screenshots, match it to the deck theme, save it under the deck assets directory, and insert it into MDX. Use for hand-drawn visual note style slides.
Generate graphic-recording style visual note illustrations from slide content.
GEMINI_API_KEY is set in .env.localnpx tsx .codex/skills/nanobanana-image/scripts/capture-slide.ts \
--deck <deck-name> \
--slide <0-indexed> \
--output /tmp/slide-capture.png
deck.config.tsreferences/prompt-guide.md when shaping the promptnpx tsx .codex/skills/nanobanana-image/scripts/generate-image.ts \
--prompt "<constructed prompt>" \
--output "decks/<deck>/assets/<filename>.png" \
--aspect-ratio 16:9 \
--resolution 2K
graphic-recording-<topic>.png.