Install
openclaw skills install nano-banana-pro-pptxGenerate PowerPoint presentations with AI images using Gemini. Each slide is a full-bleed image. Use for creating visual presentations, slideshows, or image-based decks from a topic prompt. Requires --slides N.
openclaw skills install nano-banana-pro-pptxGenerate a PowerPoint presentation where every slide is a single full-bleed AI-generated image. Gemini handles both the narrative planning and image generation end-to-end.
Run the script using absolute path (do NOT cd to skill directory first):
uv run ~/.openclaw/workspace/skills/nano-banana-pro-pptx/scripts/generate_pptx.py \
--prompt "your presentation topic" \
--slides N \
[--filename "output.pptx"] \
[--resolution 1K|2K|4K] \
[--api-key KEY] \
[--base-url URL]
| Argument | Required | Default | Description |
|---|---|---|---|
--prompt | Yes | — | Topic/theme for the presentation |
--slides | Yes | — | Number of slides (1–50) |
--filename | No | Auto-generated slug | Output .pptx filename or full path |
--resolution | No | 1K | 1K (1024px), 2K (2048px), 4K (4096px) |
--api-key | No | $GEMINI_API_KEY | Gemini API key |
--base-url | No | $GEMINI_BASE_URL | Custom API base URL |
The script checks for API key in this order:
--api-key argument (use if user provided key in chat)GEMINI_API_KEY environment variableIf neither is available, the script exits with an error message.
The script checks for base URL in this order:
--base-url argument (use if user provided URL in chat)GEMINI_BASE_URL environment variableIf neither is available, the script uses the default Gemini API base URL.
cd to the skill directory--slides is always required — ask the user if not provided--resolution 1K for drafts; suggest 2K for final output--filename to let the script auto-generate a slug from the prompt (do not construct the filename yourself)GEMINI_API_KEY is not set in the environment, remind the user to set it or pass --api-key1K resolution to verify narrative and composition2K or 4K for final deliveryGEMINI_API_KEY — required (or pass --api-key)GEMINI_BASE_URL — optional, for custom/proxy endpoints