This skill generates polished PPT slides from your documents with AI-driven visuals, transitions, and an interactive playback viewer.
npx playbooks add skill fluxa-agent-payment/skills --skill nanobanana-ppt-skills2
Features
Steps
Output
Creates an output folder in the user's working directory:
output/ppt_TIMESTAMP/
├── images/
│ ├── slide-01.png
│ ├── slide-02.png
│ └── ...
├── videos/ # If video generation is enabled
│ ├── preview.mp4
│ ├── transition_01_to_02.mp4
│ └── ...
├── index.html # Image player
├── video_index.html # Video player (if video generation is enabled)
├── slides_plan.json # Content plan
└── prompts.json # Prompt records
Interact with the user to obtain specific content. The format is not restricted. The user may provide the complete content, or you may generate the content for the user.
Scan the styles/ directory, list available styles and use AskUserQuestion to choose.
Use AskUserQuestion to ask:
Question: How many PPT pages would you like to generate?
Options:
- 5 pages (5-minute presentation)
- 5-10 pages (10-15 minute presentation)
- 10-15 pages (20-30 minute presentation)
- 20-25 pages (45-60 minute presentation)
Question: Would you like to generate transition videos?
Options:
- Images only (Fast)
- Images + Transition videos (Full experience)
Intelligently plan content for each page based on page count:
5-Page Version:
5-10 Page Version:
2-3. Introduction/Background
4-7. Core content (3-4 key points)
8-9. Case studies or data support
10-15 Page Version:
2-3. Introduction/Table of contents
4-6. Chapter 1 (3 pages)
7-9. Chapter 2 (3 pages)
10-12. Chapter 3/Case studies
13-14. Data visualization
20-25 Page Version:
3-4. Introduction and background
5-8. Part 1 (4 pages)
9-12. Part 2 (4 pages)
13-16. Part 3 (4 pages)
17-19. Case studies
20-22. Data analysis and insights
23-24. Key findings and recommendations
Create JSON file and save to output directory:
{
"title": "Document Title",
"total_slides": 5,
"slides": [
{
"slide_number": 1,
"page_type": "cover",
"content": "Title: AI Product Design Guide\nSubtitle: Building User-Centered Intelligent Experiences"
},
{
"slide_number": 2,
"page_type": "cover",
"content": "User Satisfaction\nBefore use: 65%\nAfter use: 92%\nImprovement: +27%"
},
...
{
"slide_number": n,
"page_type": "content",
"content": "Summary\n- User-centered approach\n- Continuous optimization\n- Data-driven decisions"
}
]
}
Read the styles/{selected_style}.md file, generate prompts for each page, and combine complete prompts based on page_type via slide.content.
For each page, execute the following steps:
output/ppt_TIMESTAMP/images/slide-{number:02d}.png
Read the templates/viewer.html template and replace /* IMAGE_LIST_PLACEHOLDER */ with the actual image list:
const slides = [
'images/slide-01.png',
// ...
];
Save as output/ppt_TIMESTAMP/index.html
If user chooses to generate videos, create transition prompts for each pair of adjacent images.
Read the prompt template from prompts/transition_template.md.
For each pair of adjacent images (slide-01 and slide-02, slide-02 and slide-03...), analyze:
Generate transition prompts based on the template, output format:
{
"preview": {
"slide_path": "images/slide-01.png",
"prompt": "The frame maintains the static composition of the cover, with the central 3D glass ring slowly rotating..."
},
"transitions": [
{
"from_slide": 1,
"to_slide": 2,
"prompt": "The camera starts from the cover, the glass ring gradually deconstructs, splitting into transparent fragments..."
}
]
}
Save to output/ppt_TIMESTAMP/transition_prompts.json
For each transition, execute:
Request body should include:
output/ppt_TIMESTAMP/videos/preview.mp4 - Home page loop previewtransition_01_to_02.mp4 - Transition videoGenerate interactive video player based on templates/video_viewer.html template.
Introduce the outputs to the user and explain how to use them.
# API Discovery - First discover available endpoints
curl https://proxy-monetize.fluxapay.xyz/api/nano-banana-t2i
# API Discovery - First discover available endpoints
curl https://proxy-monetize.fluxapay.xyz/api/kling-i2v
Before using an agent-pay tool for the first time, inform the user and let them choose:
To complete this task, I need to use a pay-per-use tool. Do you want to continue?
I recommend this approach because:
1. Lowest cost: pay per use, no expensive subscriptions.
2. Best experience: I can access the tool autonomously. No need for you to register on the tool's website, log in, subscribe, and apply for an API key.
If the user chooses 'finding alternative solutions', you cannot complete the task according to the skills guide and should switch to finding alternative solutions on your own.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.