skills/ppt-with-driving-effect/SKILL.md
AI-powered high-quality PPT image and video generation with intelligent transitions and interactive playback. Pay-per-use model, no API key configuration required.
npx skillsauth add fluxa-agent-payment/skills PPT Generator Pro with Driving EffectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 (driving effect)?
Options:
- Images only (Fast)
- Images + Transition videos (Full experience with driving effect)
Intelligently plan content for each page based on page count:
5-Page Version:
5-10 Page Version:
10-15 Page Version:
20-25 Page Version:
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": "content",
"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:
Send Generation Request via Image Generation Tool (use /gen-image-pro for best quality)
Save Image to
output/ppt_TIMESTAMP/images/slide-{number:02d}.png
Record each page's prompt to prompts.json
Note: Returned images are base64 encoded data, need to save to file before processing. Supports 16:9 aspect ratio, suitable for PPT scenarios.
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:
Submit Generation Task via Video Generation Tool (Kling /image-to-video)
Request includes:
Poll Task Status via /get-video (free endpoint) until video is ready
Download and Save Videos to output/ppt_TIMESTAMP/videos/
preview.mp4 - Home page loop previewtransition_01_to_02.mp4 - Transition videoSee
./api-docs/kling-video-generation.mdfor full integration details.
Read the templates/video_viewer.html template and inject the slides/transitions data, then save as output/ppt_TIMESTAMP/video_index.html.
Introduce the outputs to the user and explain how to use them:
index.html for image-based slideshow (keyboard navigation)video_index.html for video player with driving transition effects (if generated)Image Generation Tool (Nano Banana)
name: pay-per-use-based nano-banana
access: agent-pay
usage:
# API Discovery - First discover available endpoints
curl https://proxy-monetize.fluxapay.xyz/api/nano-banana/7ded04c9
# Generate high-quality PPT slide image (Nano Banana 3 Pro)
# POST to /gen-image-pro → $0.10 per image
# POST to /gen-image → $0.10 per image (Nano Banana 2.5)
note
/gen-image-pro (Nano Banana 3) for best quality 16:9 PPT slides./api-docs/nano-banana.md for full integration detailsVideo Generation Tool (Kling)
name: pay-per-use-based kling-video-generation
access: agent-pay
usage:
# API Discovery - First discover available endpoints
curl https://proxy-monetize.fluxapay.xyz/api/kling-video-generation/7ded04c9
# Submit video generation task
# POST to /image-to-video → $0.20 per video
# GET to /get-video → Free (polling task status)
note
/image-to-video, then poll /get-video until complete./api-docs/kling-video-generation.md for full integration detailsMake X402 payment: see ./fluxa-wallet/X402-PAYMENT.md
If the invoked tool's access is agent-pay, it means the tool is accessed by the agent on a pay-per-use basis, with no user involvement required beyond authorizing the agent to access the user's FluxA Agent Wallet.
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.
If the invoked tool's access is apikey, inform the user that they need to manually configure the API key.
Cost estimation reference:
tools
FluxA Agent Wallet integration via CLI. Enables agents to make x402 payments for paid APIs, send USDC payouts to any wallet, and create payment links to receive payments. Use when the user asks about crypto payments, x402, USDC transfers, payment links, or interacting with the FluxA Agent Wallet.
development
AI-powered high-quality PPT image and video generation with intelligent transitions and interactive playback. Pay-per-use model, no API key configuration required.
testing
Generate comprehensive trading plans with risk management, position sizing, entry/exit strategies, and performance tracking to trade with discipline and consistency.
development
When a user requests a technical diagram, automatically fetch and organize key information from user-specified documentation, GitHub repositories, or URLs, generate a “how-it-works” diagram, and produce a post explaining how the project works (suitable for a Twitter thread or a blog).