by baidu-netdisk · v0.0.2
Generate outlines, slide content, and downloadable PPTX files with Baidu Wenku AIPPT.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
百度文库智能PPT是一个面向 Dify 的工具插件,通过百度网盘企业开发者平台的智能PPT接口提供服务。
它支持获取主题、根据主题或素材生成大纲、通过 SSE 流生成幻灯片内容,并导出可下载的 .pptx 文件。
快速上手:访问 https://pan.baidu.com/apaastobui/developer#/developer/dify/aippt 查看插件使用指引、获取联系方式与技术支持。
| 意图理解 | 生成质量 | 排版美化 | 基础性能 | 可信保护 |
|---|---|---|---|---|
| 提纲框架合理、逻辑性强 | 文字内容可用、少量调整即可 | 排版美观、可直接使用 | 体验流畅、功能多样 | 敏感信息过滤机制完善 |
.pptx 文件。query_id、chat_id、outline、bd_ppt_json、pptx_url 等结构化变量,便于工作流串联。App IDSpace Tokenhttps://pan.baidu.com凭证申请地址:https://pan.baidu.com/disk/cert/apaas
| 工具 | 用途 | 主要输出 |
|---|---|---|
get_ppt_theme | 获取可用主题样式和模板 ID | theme_info |
generate_outline | 根据主题或素材生成 PPT 大纲 | query_id, chat_id, outline, title, query |
generate_ppt_by_outline | 根据大纲生成 PPT 幻灯片内容 | bd_ppt_json, title |
export_ppt | 将生成的 PPT 内容导出为可下载文件 | pptx_url, title |
get_ppt_theme。generate_outline,传入主题,可选传入 title、resource_url、page_range 或 layout。query_id、chat_id、outline、query、title 传入 generate_ppt_by_outline。bd_ppt_json 传入 export_ppt,获取 pptx_url。App ID 和 Space Token。get_ppt_theme 验证凭证是否有效。generate_ppt_by_outline 使用 SSE,大纲较长时可能需要数分钟。502、503、504 或分块传输中断时自动重试一次。errno=10104,说明账号 Token 已失效,请刷新 Space Token 后重试。**HTTP 504 Gateway Time-out**
上游网关在生成完成前超时。请重试请求;若频繁出现,请检查代理超时配置。**SSE stream ended without receiving is_end=true**
服务端在发送完成标记前关闭了连接。请重试请求;若持续出现,请缩小大纲篇幅或检查上游超时设置。**账号已失效,请刷新token**
请在插件配置中刷新 Space Token,然后重新发起请求。本插件会将您配置的凭证及请求数据发送至百度文库 AIPPT 接口以完成相应操作。 完整隐私政策请参阅 PRIVACY.md。
Baidu Wenku AIPPT is a Dify tool plugin built on the AIPPT API provided by Baidu Netdisk Enterprise Developer Platform.
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 .pptx 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.
| Intent Understanding | Content Quality | Layout & Design | Core Performance | Trust & Safety |
|---|---|---|---|---|
| Logical and well-structured outlines | Usable text with minimal editing | Clean layouts ready to use | Smooth and feature-rich experience | Built-in sensitive content filtering |
.pptx file.query_id, chat_id, outline, bd_ppt_json, and pptx_url for workflow chaining.App IDSpace Tokenhttps://pan.baidu.comYou can apply for credentials from the Baidu Netdisk Open Platform: https://pan.baidu.com/disk/cert/apaas
| Tool | Purpose | Main Outputs |
|---|---|---|
get_ppt_theme | Fetch available theme styles and template IDs | theme_info |
generate_outline | Generate a PPT outline from a topic or resource | query_id, chat_id, outline, title, query |
generate_ppt_by_outline | Generate PPT slide content from an outline | bd_ppt_json, title |
export_ppt | Export the generated PPT content to a downloadable file | pptx_url, title |
get_ppt_theme if you want to choose a specific style or template.generate_outline with a topic, and optionally title, resource_url, page_range, or layout.query_id, chat_id, outline, query, and title into generate_ppt_by_outline.bd_ppt_json into export_ppt to obtain pptx_url.App ID and Space Token.get_ppt_theme once to verify the credentials.generate_ppt_by_outline uses SSE and may take several minutes for large outlines.502, 503, 504, or interrupted chunked responses.errno=10104, your account token has expired or become invalid. Refresh the Space Token and re-run the request.**HTTP 504 Gateway Time-out**
The upstream gateway timed out before the generation request completed. Retry the request and check proxy timeout settings if it happens frequently.**SSE stream ended without receiving is_end=true**
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.**账号已失效,请刷新token**
Refresh the Space Token in the plugin configuration and run the request again.This plugin sends the credentials you configure and the request data you provide to Baidu Wenku AIPPT endpoints in order to complete the requested operation. See PRIVACY.md for the full privacy policy.