Baidu AI PPT for Dify
Baidu AI PPT is a Dify tool plugin that connects to the Baidu Netdisk AI PPT API.
It can fetch available themes, generate a PPT outline from a topic or resource, generate slide content through a long-running SSE workflow, and export a downloadable file.
Getting Started: Visit the https://pan.baidu.com/apaastobui/developer#/developer/dify/aippt for a step-by-step usage guide, contact information, and technical support.
Key Advantages
- #1 Market Share: The AI PPT market grew over 50% from 2024 to 2025, with Baidu Wenku consistently leading in user share.
- 1.2 Billion Professional Documents: Covers over 95% of domestic academic journals and 80% of foreign academic titles, spanning education, technology, marketing, and more — ensuring professional, accurate, and practical content.
- Top-Tier in Authoritative Evaluation: Scored 80+ in the CIC (China Information Security) assessment, with balanced excellence across all five dimensions.
Features
- Get available PPT themes and template IDs.
- Generate an outline from a topic, optional title, and optional resource URL.
- Generate PPT slide content from an outline with retry handling for transient SSE and gateway errors.
- Export the generated content as a downloadable file.
- Return structured variables such as , , , , and for workflow chaining.
Requirements
- A valid Baidu Netdisk Open Platform
- A valid
- Network access from the Dify runtime to
You can apply for credentials from the Baidu Netdisk Open Platform:
https://pan.baidu.com/disk/cert/apaas
Included Tools
Recommended Workflow
- Call if you want to choose a specific style or template.
- Call with a topic, and optionally , , , or .
- Pass the returned , , , , and into .
- Pass the returned into to obtain .
Configuration
- Install the plugin in Dify.
- Open the plugin authorization or provider configuration page.
- Fill in and .
- Run once to verify the credentials.
Operational Notes
- uses SSE and may take several minutes for large outlines.
- The plugin keeps the SSE request open for longer-running generations and retries one time on transient , , , or interrupted chunked responses.
- If the API returns , your account token has expired or become invalid. Refresh the and re-run the request.
- If your Dify deployment sits behind a reverse proxy, make sure upstream timeout settings are high enough for long-running PPT generation.
Troubleshooting
- **
The upstream gateway timed out before the generation request completed. Retry the request and check proxy timeout settings if it happens frequently.
The server closed the stream before sending a completion marker. Retry the request. If it keeps happening, reduce outline size or inspect upstream timeout limits.
Refresh the in the plugin configuration and run the request again.
Privacy
This plugin sends the credentials you configure and the request data you provide to Baidu Netdisk AI PPT endpoints in order to complete the requested operation.
See PRIVACY.md for the full privacy policy.
百度 AI PPT for Dify(中文版)
百度 AI PPT 是一个面向 Dify 的工具插件,接入百度网盘 AI PPT 接口。
它支持获取主题、根据主题或素材生成大纲、通过 SSE 流生成幻灯片内容,并导出可下载的 文件。
快速上手:访问 https://pan.baidu.com/apaastobui/developer#/developer/dify/aippt 查看插件使用指引、获取联系方式与技术支持。
核心优势
- 市场份额第一:2024–2025 年 AI PPT 市场整体增速超 50%,百度文库用户数份额持续领跑。
- 12 亿百度文库文档 专业可靠:覆盖了国内 95% 以上的学术期刊和 80% 的外文学术题录,涵盖教育、科技、营销等各个领域,专业性和准确性有保障,更贴合实际需求。
- 权威评测第一梯队:中国工信安全(CIC)评测综合得分 80+,五项指标均衡领先。
功能特性
- 获取可用的 PPT 主题和模板 ID。
- 根据主题、可选标题和可选素材链接生成大纲。
- 根据大纲生成 PPT 幻灯片内容,内置 SSE 及网关瞬时错误重试机制。
- 将生成内容导出为可下载的 文件。
- 返回 、、、、 等结构化变量,便于工作流串联。
前置要求
- 有效的百度网盘开放平台
- 有效的
- Dify 运行环境可访问
凭证申请地址:https://pan.baidu.com/disk/cert/apaas
包含工具
推荐工作流
- 如需指定样式或模板,先调用 。
- 调用 ,传入主题,可选传入 、、 或 。
- 将返回的 、、、、 传入 。
- 将返回的 传入 ,获取 。
配置方式
- 在 Dify 中安装本插件。
- 打开插件授权或供应商配置页面。
- 填写 和 。
- 运行一次 验证凭证是否有效。
运行说明
- 使用 SSE,大纲较长时可能需要数分钟。
- 插件会保持 SSE 连接,并在遇到 、、 或分块传输中断时自动重试一次。
- 若接口返回 ,说明账号 Token 已失效,请刷新 后重试。
- 若 Dify 部署在反向代理之后,请确保上游超时设置足够长。
常见问题
- **
上游网关在生成完成前超时。请重试请求;若频繁出现,请检查代理超时配置。
服务端在发送完成标记前关闭了连接。请重试请求;若持续出现,请缩小大纲篇幅或检查上游超时设置。
请在插件配置中刷新 ,然后重新发起请求。
隐私声明
本插件会将您配置的凭证及请求数据发送至百度网盘 AI PPT 接口以完成相应操作。
完整隐私政策请参阅 PRIVACY.md。