Appearance
01-添加 PPT 演讲稿
⚠️ 使用本功能前,必须已经通过生成方式成功创建过 PPT,并获取任务 ID。
- 快速在已有 PPT 任务中添加 PPT 演讲稿
💬 添加 PPT 演讲稿(/apps/ppt-note
)
接口说明
- 接口地址:
https://saas.api.yoo-ai.com/apps/ppt-note
- 请求方式: POST
请求参数
Header
在韦尼克平台创建应用获取,刷新 Token 接口
参数名 | 类型 | 描述 | 示例值 |
---|---|---|---|
Authorization | string | Authorization - Bearer Token | Bearer Yoo-xxxxxxxxx |
Body 参数(
application/json
)
参数名 | 类型 | 必填 | 描述 | 默认值 |
---|---|---|---|---|
id | string | Y | 任务 ID | |
cover_note | string | Y | 封面页的备注 | |
end_note | string | Y | 结束页的备注 | |
notes | array | Y | 内容页面备注 |
notes
参数名 | 类型 | 必填 | 描述 | 默认值 |
---|---|---|---|---|
note | string | Y | 一级大纲的备注(章节页) | |
sub_note | string | N | 二级大纲的备注 |
请求示例
json
{
"id": "KfvKk2ffTNPjCv8uttV7Bqe3DGAMnMVz",
"cover_note": "封面页的备注",
"catalog_note": "目录页的备注",
"end_note": "结束页的备注",
"notes": [
{
"note": "一级大纲1备注",
"sub_note": ["二级大纲备注"]
},
{
"note": "一级大纲2备注",
"sub_note": ["二级大纲备注"]
}
]
}
响应参数
参数名 | 类型 | 描述 |
---|---|---|
code | integer | 状态码 |
msg | string | 响应消息 |
data | object | 数据体 |
data.id | string | 任务 ID |
响应示例
json
{
"code": 200,
"msg": "success",
"data": {
"id": "a3vSWq37DWjcBEc3XuYGNadNZrZWYBjE"
}
}