Presentation Maker For Multiple Files

HTTP request

POST /v2/process

Authorization

OAuth2PasswordBearer

Authorization: OAuth2PasswordBearer

Request Body schema: json data

KEY
TYPE
VALUE

task_type

String

summarization

dest_lang

String

The target language for translation.

meta_files

String

The value is taken from the upload api

Example: [
    {
        "filename": "2.text_image.pdf",
        "status": true,
        "credits": 4.92,
        "task_id": "f911298671b240f5984060c62cbbb218",
        "size": "0.18 MB"
    },
    {
        "filename": "5.text_images.docx",
        "status": true,
        "credits": 2.89,
        "task_id": "af60061f95c8439a9ee55971b37a7e06",
        "size": "0.3 MB"
    }
]

orientation

String

The orientation of the presentation. Default: presentation

is_image

Bool

Create/Search for more images Default: False

slides_number

String

The number of slides in the presentation. Default: 10

template_path

String

The path to the template file. Default: system/New_templates/1.pptx

Response

200: Success

Response schema: application/json

KEY
VALUE

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" }

400: Bad Request

KEY
VALUE

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

KEY
VALUE

status_code

401

content

{ "detail": "Not authenticated" }

Response schema: application/json

detail

Last updated