create_outline_by_doc
Create a PPT outline from uploaded PDF, Word, txt, or md documents under 10MB, then use it to generate presentations via the outline-based PPT tool.
Instructions
从文档创建PPT大纲。使用说明:1. 用于根据文档内容生成PPT大纲。2. 支持通过file_url或file_path上传文档。3. 文档格式支持:pdf(不支持扫描件)、doc、docx、txt、md。4. 文档大小限制:10M以内,字数限制8000字以内。5. 生成的大纲可用于create_ppt_by_outline工具。6. 需先设置环境变量AIPPT_APP_ID和AIPPT_API_SECRET。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 补充的文本内容,用于指导大纲生成 | |
| search | No | 是否联网搜索,True表示联网搜索补充内容,False表示不联网 | |
| file_url | No | 文档文件的URL地址,与file_path二选一必填 | |
| language | No | 大纲生成的语言,目前支持cn(中文) | cn |
| file_name | Yes | 文档文件名,必须包含文件后缀名 | |
| file_path | No | 文档文件的本地路径,与file_url二选一必填 |