curl --location --request POST '/docmee/v1/api/ppt/generatePptx' \
--header 'token: {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId": "xxx", // Template ID (optional)
"pptxProperty": false, // Whether to return PPT data structure
"outlineContentMarkdown": "# Topic\n## Chapter\n### Page Title\n#### Content Title\n- Content", // Outline content markdown
"notes": null // Notes (PPT page notes, optional, array ["Note for content page one", "Note for content page two"])
}'{
"code": 0,
"data": {
"pptInfo": {
// ppt information
"id": "xxx", // ppt id
"subject": "xxx", // subject
"coverUrl": "https://xxx.png", // cover
"fileUrl": "https://xxx.pptx", // PPT file
"templateId": "xxx", // template ID
"pptxProperty": "xxx", // PPT data structure (JSON data returned through gzip compression and base64 encoding, please refer to the [PPT Frontend Rendering] section for specific decoding and data structure)
"userId": "xxx", // user ID
"userName": "xxx", // user name
"companyId": 1000,
"updateTime": null,
"createTime": "2024-01-01 10:00:00"
}
},
"message": "Operation successful"
}