{"data":{"slug":"github-anbeime-skill-skills-pptx-generator-pptx-generator-b34643d40dbe","title":"JSON to PPTX File Generator","summary":"Convert JSON data into standard .pptx files with support for style, charts, tables, and layout customization. The output is a fully editable PPTX file compatible with Microsoft PowerPoint and WPS.","url":"https:\/\/skillshunter.net\/skills\/github-anbeime-skill-skills-pptx-generator-pptx-generator-b34643d40dbe","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-anbeime-skill-skills-pptx-generator-pptx-generator-b34643d40dbe","markdown_url":"https:\/\/skillshunter.net\/skills\/github-anbeime-skill-skills-pptx-generator-pptx-generator-b34643d40dbe.md","download_url":"https:\/\/skillshunter.net\/skills\/github-anbeime-skill-skills-pptx-generator-pptx-generator-b34643d40dbe\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before generating a PPTX file, ensure that the JSON data is validated using the `scripts\/json_validator.py` script. The JSON must conform to the format specified in `references\/json_format_spec.md`.","instructions":"---\nname: pptx-generator\ndescription: \u4ea7\u54c1\u7ecf\u7406\u4e0e\u8fd0\u8425\u4e13\u5458\u5728\u51c6\u5907\u6c47\u62a5\u5c55\u793a\u65f6\uff0c\u5c06 JSON \u6570\u636e\u4e00\u952e\u8f6c\u6362\u4e3a\u6807\u51c6 .pptx \u6587\u4ef6\u3002\u81ea\u52a8\u5e94\u7528\u591a\u79cd\u5e03\u5c40\u3001\u56fe\u8868\u4e0e\u8868\u683c\u6837\u5f0f\uff0c\u5feb\u901f\u751f\u6210\u4e13\u4e1a PPT\uff0c\u5f7b\u5e95\u544a\u522b\u7e41\u7410\u624b\u5de5\u6392\u7248\uff0c\u8ba9\u5185\u5bb9\u4ea7\u51fa\u4e0e\u5c55\u793a\u66f4\u9ad8\u6548\uff01\ndependency:\n  python:\n    - python-pptx>=1.0.2\n    - pillow>=9.0.0\n    - openpyxl>=3.1.0\n---\n\n# PPTX \u6587\u4ef6\u751f\u6210\u5668\n\n## \u4efb\u52a1\u76ee\u6807\n- \u672c Skill \u7528\u4e8e\uff1a\u5c06 JSON \u683c\u5f0f\u7684 PPT \u5185\u5bb9\u8f6c\u6362\u4e3a\u6807\u51c6\u7684 .pptx \u6587\u4ef6\n- \u80fd\u529b\u5305\u542b\uff1aJSON \u89e3\u6790\u3001PPTX \u521b\u5efa\u3001\u591a\u5e03\u5c40\u652f\u6301\u3001\u6837\u5f0f\u5e94\u7528\u3001\u56fe\u8868\u751f\u6210\u3001\u8868\u683c\u751f\u6210\n- \u89e6\u53d1\u6761\u4ef6\uff1a\u7528\u6237\u9700\u8981\u751f\u6210 .pptx \u6587\u4ef6\uff0c\u6216\u9700\u8981\u5c06 JSON \u6570\u636e\u8f6c\u6362\u4e3a\u53ef\u7f16\u8f91\u7684 PPT\n\n## \u524d\u7f6e\u51c6\u5907\n- \u4f9d\u8d56\u8bf4\u660e\uff1ascripts \u811a\u672c\u6240\u9700\u7684\u4f9d\u8d56\u5305\n  ```\n  python-pptx>=1.0.2\n  pillow>=9.0.0\n  openpyxl>=3.1.0\n  ```\n\n## \u64cd\u4f5c\u6b65\u9aa4\n\n### \u6807\u51c6\u6d41\u7a0b\uff08JSON \u8f6c PPTX\uff09\n\n#### \u6b65\u9aa4 1\uff1a\u63a5\u6536 JSON \u6570\u636e\n\u4ece\u4ee5\u4e0b\u6765\u6e90\u63a5\u6536 JSON \u6570\u636e\uff1a\n- **ppt-generator Skill**\uff1a7 \u89d2\u8272\u534f\u4f5c\u751f\u6210\u7684 JSON\n- **\u7528\u6237\u76f4\u63a5\u63d0\u4f9b**\uff1a\u7b26\u5408\u683c\u5f0f\u89c4\u8303\u7684 JSON \u6587\u4ef6\n- **\u5176\u4ed6\u6765\u6e90**\uff1a\u4efb\u4f55\u7b26\u5408 JSON \u683c\u5f0f\u7684 PPT \u6570\u636e\n\n#### \u6b65\u9aa4 2\uff1a\u9a8c\u8bc1 JSON \u683c\u5f0f\n\u8c03\u7528 `scripts\/json_validator.py` \u9a8c\u8bc1 JSON \u683c\u5f0f\uff1a\n```bash\npython scripts\/json_validator.py --input .\/ppt_data.json\n```\n\u9a8c\u8bc1\u5185\u5bb9\u5305\u62ec\uff1a\n- \u5143\u6570\u636e\u5b8c\u6574\u6027\uff08title, author, theme\uff09\n- \u5e7b\u706f\u7247\u6570\u7ec4\u5b58\u5728\u6027\n- \u6bcf\u4e2a\u5e7b\u706f\u7247\u7684\u5fc5\u9700\u5b57\u6bb5\uff08title, content\uff09\n- \u6570\u636e\u7c7b\u578b\u6b63\u786e\u6027\n\n#### \u6b65\u9aa4 3\uff1a\u751f\u6210 PPTX \u6587\u4ef6\n\u8c03\u7528 `scripts\/pptx_builder.py` \u751f\u6210 .pptx \u6587\u4ef6\uff1a\n```bash\npython scripts\/pptx_builder.py \\\n  --input .\/ppt_data.json \\\n  --style assets\/styles\/modern.json \\\n  --output .\/presentation.pptx\n```\n\n**\u6838\u5fc3\u529f\u80fd**\uff1a\n1. **\u521b\u5efa\u6f14\u793a\u6587\u7a3f**\uff1a\u521d\u59cb\u5316 Presentation \u5bf9\u8c61\n2. **\u6dfb\u52a0\u5e7b\u706f\u7247**\uff1a\u6839\u636e JSON \u6570\u636e\u9010\u9875\u6dfb\u52a0\n3. **\u5e94\u7528\u5e03\u5c40**\uff1a\u6839\u636e\u5e7b\u706f\u7247\u7c7b\u578b\u9009\u62e9\u5e03\u5c40\n4. **\u6dfb\u52a0\u5185\u5bb9**\uff1a\n   - \u6807\u9898\uff08Title\uff09\n   - \u5185\u5bb9\uff08Text\u3001Bullet Points\uff09\n   - \u56fe\u7247\uff08Picture\uff09\n   - \u56fe\u8868\uff08Chart\uff09\n   - \u8868\u683c\uff08Table\uff09\n5. **\u5e94\u7528\u6837\u5f0f**\uff1a\u6839\u636e\u98ce\u683c\u914d\u7f6e\u8bbe\u7f6e\u5b57\u4f53\u3001\u989c\u8272\u3001\u95f4\u8ddd\n6. **\u4fdd\u5b58\u6587\u4ef6**\uff1a\u5bfc\u51fa\u4e3a .pptx \u6587\u4ef6\n\n#### \u6b65\u9aa4 4\uff1a\u9a8c\u8bc1 PPTX \u6587\u4ef6\n\u8c03\u7528 `scripts\/pptx_validator.py` \u9a8c\u8bc1\u751f\u6210\u7684 .pptx \u6587\u4ef6\uff1a\n```bash\npython scripts\/pptx_validator.py --input .\/presentation.pptx\n```\n\u9a8c\u8bc1\u5185\u5bb9\u5305\u62ec\uff1a\n- \u6587\u4ef6\u5b8c\u6574\u6027\n- \u5e7b\u706f\u7247\u6570\u91cf\n- \u5185\u5bb9\u6b63\u786e\u6027\n- \u53ef\u7f16\u8f91\u6027\n\n### \u9ad8\u7ea7\u529f\u80fd\n\n#### \u81ea\u5b9a\u4e49\u6837\u5f0f\n\u4f7f\u7528\u81ea\u5b9a\u4e49\u98ce\u683c\u914d\u7f6e\uff1a\n```bash\npython scripts\/pptx_builder.py \\\n  --input .\/ppt_data.json \\\n  --style .\/custom_style.json \\\n  --output .\/presentation.pptx\n```\n\n#### \u6279\u91cf\u751f\u6210\n\u6279\u91cf\u5904\u7406\u591a\u4e2a JSON \u6587\u4ef6\uff1a\n```bash\npython scripts\/pptx_builder.py \\\n  --input-dir .\/json_files\/ \\\n  --style assets\/styles\/modern.json \\\n  --output-dir .\/pptx_files\/\n```\n\n#### \u4f7f\u7528\u6a21\u677f\n\u57fa\u4e8e\u6a21\u677f\u751f\u6210 PPTX\uff1a\n```bash\npython scripts\/pptx_builder.py \\\n  --input .\/ppt_data.json \\\n  --template assets\/templates\/business_template.pptx \\\n  --output .\/presentation.pptx\n```\n\n### \u4e0e\u5176\u4ed6 Skill \u534f\u540c\n\n#### \u4e0e ppt-generator \u534f\u540c\n```\n\u7528\u6237\u8bf7\u6c42\uff1a\"\u751f\u6210\u4e00\u4e2a PPT \u6587\u4ef6\"\n\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502  ppt-generator Skill                                    \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502  1. \u4e3b\u9898\u5206\u6790\u5e08\uff1a\u5206\u6790\u4e3b\u9898                                \u2502\n\u2502  2. \u6a21\u677f\u8bbe\u8ba1\u5e08\uff1a\u63a8\u8350\u5e03\u5c40                                \u2502\n\u2502  3. \u5185\u5bb9\u7b56\u5212\u5e08\uff1a\u89c4\u5212\u5185\u5bb9\u7ed3\u6784                            \u2502\n\u2502  4. \u6587\u672c\u521b\u4f5c\u8005\uff1a\u64b0\u5199\u5185\u5bb9                                \u2502\n\u2502  5. \u89c6\u89c9\u8bbe\u8ba1\u5e08\uff1a\u63d0\u4f9b\u914d\u56fe\u5efa\u8bae                            \u2502\n\u2502  6. \u4f18\u5316\u7f16\u8f91\u5e08\uff1a\u4f18\u5316\u6587\u672c                                \u2502\n\u2502  7. PPT \u6784\u5efa\u5e08\uff1a\u751f\u6210 JSON \u6570\u636e                          \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n                          \u2502\n                          \u25bc ppt_data.json\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502  pptx-generator Skill                                  \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502  1. JSON \u9a8c\u8bc1\uff08json_validator.py\uff09                     \u2502\n\u2502  2. PPTX \u6784\u5efa\uff08pptx_builder.py\uff09                       \u2502\n\u2502     - \u521b\u5efa\u6f14\u793a\u6587\u7a3f                                      \u2502\n\u2502     - \u6dfb\u52a0\u5e7b\u706f\u7247                                        \u2502\n\u2502     - \u5e94\u7528\u5e03\u5c40\u548c\u6837\u5f0f                                    \u2502\n\u2502     - \u6dfb\u52a0\u5185\u5bb9\uff08\u6587\u672c\u3001\u56fe\u7247\u3001\u56fe\u8868\u3001\u8868\u683c\uff09                  \u2502\n\u2502  3. PPTX \u9a8c\u8bc1\uff08pptx_validator.py\uff09                     \u2502\n\u2502  4. \u8f93\u51fa .pptx \u6587\u4ef6                                   \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n                          \u2502\n                          \u25bc presentation.pptx\n```\n\n#### \u4e0e nanobanana-ppt-visualizer \u534f\u540c\n```\n\u7528\u6237\u8bf7\u6c42\uff1a\"\u751f\u6210 PPT \u6587\u4ef6\u548c\u56fe\u7247\"\n\nppt-generator \u2192 pptx-generator \u2192 nanobanana-ppt-visualizer\n     \u2193              \u2193                  \u2193\n  JSON \u6570\u636e      .pptx \u6587\u4ef6        \u56fe\u7247 + HTML \u64ad\u653e\u5668\n```\n\n#### \u5b8c\u6574\u5de5\u4f5c\u6d41\n```\n1. ppt-generator \u2192 JSON \u6570\u636e\n2. pptx-generator \u2192 .pptx \u6587\u4ef6\n3. nanobanana-ppt-visualizer \u2192 \u56fe\u7247 + HTML \u64ad\u653e\u5668\n4. ppt-roadshow-generator \u2192 \u89c6\u9891\n5. remotion-video-enhancer \u2192 \u589e\u5f3a\u52a8\u753b\n```\n\n## \u8d44\u6e90\u7d22\u5f15\n- JSON \u9a8c\u8bc1\u811a\u672c\uff1a\u89c1 [scripts\/json_validator.py](scripts\/json_validator.py)\uff08\u7528\u9014\uff1a\u9a8c\u8bc1 JSON \u683c\u5f0f\uff09\n- PPTX \u6784\u5efa\u811a\u672c\uff1a\u89c1 [scripts\/pptx_builder.py](scripts\/pptx_builder.py)\uff08\u7528\u9014\uff1a\u751f\u6210 .pptx \u6587\u4ef6\uff09\n- PPTX \u9a8c\u8bc1\u811a\u672c\uff1a\u89c1 [scripts\/pptx_validator.py](scripts\/pptx_validator.py)\uff08\u7528\u9014\uff1a\u9a8c\u8bc1 .pptx \u6587\u4ef6\uff09\n- \u683c\u5f0f\u89c4\u8303\uff1a\u89c1 [references\/json_format_spec.md](references\/json_format_spec.md)\uff08\u7528\u9014\uff1aJSON \u683c\u5f0f\u6807\u51c6\uff09\n- \u5e03\u5c40\u6307\u5357\uff1a\u89c1 [references\/layout_guide.md](references\/layout_guide.md)\uff08\u7528\u9014\uff1a\u5e03\u5c40\u7c7b\u578b\u8bf4\u660e\uff09\n- \u98ce\u683c\u914d\u7f6e\uff1a\u89c1 [assets\/styles\/](assets\/styles\/)\uff08\u53ef\u9009\uff1amodern, minimal, business\uff09\n- \u534f\u540c\u6307\u5357\uff1a\u89c1 [references\/collaboration_guide.md](references\/collaboration_guide.md)\uff08\u7528\u9014\uff1a\u4e0e\u5176\u4ed6 Skill \u534f\u540c\uff09\n\n## \u6ce8\u610f\u4e8b\u9879\n- \u672c Skill \u4f7f\u7528 python-pptx \u5e93\u751f\u6210\u6807\u51c6\u7684 .pptx \u6587\u4ef6\n- JSON \u683c\u5f0f\u5fc5\u987b\u7b26\u5408\u89c4\u8303\uff08\u89c1 references\/json_format_spec.md\uff09\n- \u652f\u6301\u7684\u56fe\u7247\u683c\u5f0f\uff1aPNG\u3001JPG\u3001JPEG\u3001GIF\n- \u652f\u6301\u7684\u56fe\u8868\u7c7b\u578b\uff1a\u67f1\u72b6\u56fe\u3001\u6298\u7ebf\u56fe\u3001\u997c\u56fe\n- \u652f\u6301\u7684\u8868\u683c\uff1a\u666e\u901a\u8868\u683c\u3001\u6837\u5f0f\u5316\u8868\u683c\n- \u4e0e ppt-generator Skill \u5b8c\u5168\u517c\u5bb9\uff0c\u53ef\u65e0\u7f1d\u534f\u540c\n- \u751f\u6210\u7684 .pptx \u6587\u4ef6\u53ef\u5728 Microsoft PowerPoint\u3001WPS \u7b49\u8f6f\u4ef6\u4e2d\u7f16\u8f91\n\n## \u4f7f\u7528\u793a\u4f8b\n\n### \u793a\u4f8b 1\uff1a\u4e0e ppt-generator \u534f\u540c\u751f\u6210 PPTX\n- \u529f\u80fd\u8bf4\u660e\uff1appt-generator \u751f\u6210 JSON\uff0cpptx-generator \u751f\u6210 .pptx\n- \u6267\u884c\u65b9\u5f0f\uff1appt-generator \u2192 pptx-generator\n- \u7528\u6237\u6307\u4ee4\uff1a\"\u751f\u6210\u4e00\u4e2a\u4ea7\u54c1\u4ecb\u7ecd\u7684 PPT \u6587\u4ef6\"\n- \u8f93\u51fa\uff1apresentation.pptx\n\n### \u793a\u4f8b 2\uff1a\u4ec5\u751f\u6210 PPTX \u6587\u4ef6\n- \u529f\u80fd\u8bf4\u660e\uff1a\u57fa\u4e8e\u73b0\u6709 JSON \u751f\u6210 .pptx \u6587\u4ef6\n- \u6267\u884c\u65b9\u5f0f\uff1apptx-generator \u72ec\u7acb\u8fd0\u884c\n- \u5173\u952e\u53c2\u6570\uff1aJSON \u6587\u4ef6\u8def\u5f84\u3001\u98ce\u683c\u914d\u7f6e\n- \u547d\u4ee4\uff1a`python scripts\/pptx_builder.py --input .\/ppt_data.json --output .\/presentation.pptx`\n\n### \u793a\u4f8b 3\uff1a\u81ea\u5b9a\u4e49\u98ce\u683c\u751f\u6210\n- \u529f\u80fd\u8bf4\u660e\uff1a\u4f7f\u7528\u81ea\u5b9a\u4e49\u98ce\u683c\u914d\u7f6e\n- \u6267\u884c\u65b9\u5f0f\uff1a\u6307\u5b9a\u81ea\u5b9a\u4e49\u98ce\u683c\u6587\u4ef6\n- \u5173\u952e\u53c2\u6570\uff1a--style\n- \u547d\u4ee4\uff1a`python scripts\/pptx_builder.py --input .\/ppt_data.json --style .\/my_style.json --output .\/presentation.pptx`\n\n### \u793a\u4f8b 4\uff1a\u6279\u91cf\u751f\u6210 PPTX \u6587\u4ef6\n- \u529f\u80fd\u8bf4\u660e\uff1a\u4e00\u6b21\u6027\u5904\u7406\u591a\u4e2a JSON \u6587\u4ef6\n- \u6267\u884c\u65b9\u5f0f\uff1a\u6279\u91cf\u5904\u7406\n- \u5173\u952e\u53c2\u6570\uff1a--input-dir, --output-dir\n- \u547d\u4ee4\uff1a`python scripts\/pptx_builder.py --input-dir .\/json_files\/ --output-dir .\/pptx_files\/`\n","use_cases":["Convert product introduction JSON data into PPTX files","Batch generate multiple PPTX files","Generate PPTX files with custom styles"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/anbeime\/skill\/blob\/7d96c7f464535c90bd6efde99821a9d3446bf0cb\/skills\/pptx-generator\/pptx-generator\/SKILL.md","source_commit":"7d96c7f464535c90bd6efde99821a9d3446bf0cb","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T13:49:55.000000Z","updated_at":"2026-11-23T04:54:23.000000Z","seo_title":"JSON to PPTX Generator, One-Click Professional PPT Creation","seo_description":"Convert JSON data into standard PPTX files with one click, supporting style, charts, tables, and layout customization to boost content creation efficiency","seo_keywords":["JSON to PPTX","PPTX Generator","PPTX File Generation","PPT Style Customization"]}}