Presentation Maker
HTTP request
POST /v1/summarization
Authorization
OAuth2PasswordBearer
Request Body schema: multipart/form-data
file
File
Upload the document to be translated. Supported formats include DOCX, PDF.
file_type
String
The type of the file being translated. Supported formats include DOCX, PDF
.
dest_lang
String
The target language for translation.
slides_number
String
The number of slides in the presentation. Default: 10
template_path
String
The path to the template file.
Default: system/Template.pptx
Response
200: Success
Response schema: application/json
status_code
200
content
{ "data": { "task_id": "0d05c89e6f2c472ab86b291516e8e466" }, "errors": [], "error_description": "", "start_time": "2024-03-11 13:05:42.080757", "end_time": "2024-03-11 13:05:42.348086", "status": "success" }
status_code
400
content
{ "data": {}, "errors": [ "Error" ], "error_description": "Error while sending message. Please check server!", "start_time": "yyyy-mm-dd hh-mm-ss utc+7", "end_time": "yyyy-mm-dd hh-mm-ss utc+7" }
401: Authentication Error
status_code
401
content
{ "detail": "Not authenticated" }
detail
Last updated