> For the complete documentation index, see [llms.txt](https://developer.doctranslate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.doctranslate.io/document-translation-api/presentation-maker-api/api-v2/presentation-maker.md).

# Presentation Maker

#### HTTP request <a href="#http-request" id="http-request"></a>

POST `/v2/summarization`

**Authorization**

*OAuth2PasswordBearer*

```
Authorization: OAuth2PasswordBearer
```

**Request Body schema: multipart/form-data**

<table><thead><tr><th width="245">KEY</th><th width="130">TYPE</th><th>VALUE</th></tr></thead><tbody><tr><td>file</td><td>File</td><td>Upload the document to be translated. Supported formats include <code>DOCX, PDF.</code></td></tr><tr><td>file_type</td><td>String</td><td>The type of the file being translated. Supported formats include <code>DOCX, PDF</code>.</td></tr><tr><td>dest_lang</td><td>String</td><td>The target language for translation.</td></tr><tr><td>slides_number</td><td>String</td><td>The number of slides in the presentation.<br>Default: <code>10</code></td></tr><tr><td>is_image</td><td>Bool</td><td>Create/Search for more images<br>Default: <code>False</code></td></tr><tr><td>orientation</td><td>String</td><td>The orientation of the presentation.<br>Default: <code>presentation</code></td></tr><tr><td>template_path</td><td>String</td><td>The path to the template file.<br>Default: <code>system/New_templates/1.pptx</code></td></tr></tbody></table>

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

| 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: A**uthentication Error

| KEY          | VALUE                             |   |
| ------------ | --------------------------------- | - |
| status\_code | 401                               |   |
| content      | { "detail": "Not authenticated" } |   |
|              |                                   |   |

| detail |   |
| ------ | - |
