{"skill":{"slug":"pi-ppt","displayName":"pi-ppt","summary":"Create professional PowerPoint presentations with PI (Presentation Intelligence). Turn topics, ideas, outlines, questions, or documents into structured, visually polished, and fully editable PPT decks. Ideal for business reports, proposals, training materials, courseware, product introductions, and project presentations. The final generated PPT file can be downloaded and reused.\n\n使用 PI（Presentation Intelligence）快速生成专业 PPT。用户可以输入主题、问题、大纲、想法，或上传参考文档，技能会自动完成内容规划、页面结构设计、文案生成和版式排版，最终生成可下载、可编辑、可复用的 PP","description":"---\nname: pi-ppt\ndescription: Generate PPTs using services provided by PI (Presentation Intelligence).\nmetadata:\n  openclaw:\n    emoji: \"✨\"\n    requires:\n      bins:\n        - python3\n      env:\n        - PIPPT_BASE_URL\n        - PIPPT_APP_ID\n        - PIPPT_APP_SECRET\n    primaryEnv: PIPPT_APP_ID\n---\n\n# Pi PPT Generation\n\n## Functionality\n1. Generate PPTs using the PI (Presentation Intelligence) API.\n\n## Setup\n1.  **API Key:** Ensure the PIPPT_BASE_URL, PIPPT_APP_ID and PIPPT_APP_SECRET environment variables are set with your valid API key. You can obtain API key from the PI website: https://www.pi.inc/  .\n2.  **Environment:** The API key should be available in the runtime environment.\n\n## Generate a PPT\nRun the following script:\n```bash\nPIPPT_BASE_URL=xxx PIPPT_APP_ID=xxx PIPPT_APP_SECRET=xxx python3 scripts/generate_pi_ppt.py --content  --language --cards --file\n```\nInput arguments:\n   content(str, required): Topic and description, for example: \"Create a PPT introducing Chinese GPU vendors in a formal business style.\"\n   cards(int, optional): Expected number of slides, for example 10. Default is 8. If you generate a PPT from an uploaded document, do not specify cards because the slide count is determined by the document content.\n   language(str, required): Target language of the PPT. 'zh' for Chinese, 'en' for English. Default is 'zh'.\n   file(str, optional): Path to the document to upload, for example: \"/Users/jack/download/weekly_report_20250304.doc\". Supported file types: .doc/.docx/.txt/.md/.pdf/.pptx/.ppt. Other file types are not supported. Only one document can be uploaded.\n\nComplete command examples:\n\n**Generate from an uploaded document** (slide count is determined by content, do not pass `--cards`):\n\n```bash\nPIPPT_BASE_URL=xxx PIPPT_APP_ID=xxx PIPPT_APP_SECRET=xxx python3 scripts/generate_pi_ppt.py \\\n  --content \"Generate a well-structured business report PPT based on the attached document\" \\\n  --language zh \\\n  --file \"/Users/YourName/Documents/quarterly_review.docx\"\n```\n\n**Generate from a one-line prompt / topic** (you can specify slide count):\n\n```bash\nPIPPT_BASE_URL=xxx PIPPT_APP_ID=xxx PIPPT_APP_SECRET=xxx python3 scripts/generate_pi_ppt.py \\\n  --content \"Create a PPT introducing Chinese GPU vendors in a formal business style\" \\\n  --language zh \\\n  --cards 10\n```\n## Notes\n- Generating one PPT usually takes about 3-6 minutes. Please remind users to be patient.\n","tags":{"latest":"1.0.9"},"stats":{"comments":0,"downloads":964,"installsAllTime":0,"installsCurrent":0,"stars":2,"versions":10},"createdAt":1773231803048,"updatedAt":1778491832663},"latestVersion":{"version":"1.0.9","createdAt":1775813180759,"changelog":"- No changes detected in this version.\n- Functionality, usage instructions, and requirements remain the same.","license":"MIT-0"},"metadata":{"setup":[{"key":"PIPPT_BASE_URL","required":true},{"key":"PIPPT_APP_ID","required":true},{"key":"PIPPT_APP_SECRET","required":true}],"os":null,"systems":null},"owner":{"handle":"xmcbbkad","userId":"s17aetjzrrp2e8awnm9zbgce8183ht57","displayName":"Presentation Intelligence","image":"https://avatars.githubusercontent.com/u/23699216?v=4"},"moderation":null}