For the complete documentation index, see llms.txt. This page is also available as Markdown.

POST /generator/create

Use this endpoint to create a new presentation from a .pptx template file and JSON data . The call is synchronous — the connection stays open while the presentation is built, and the finished file comes back in the same response.

Synchronous or asynchronous?

Both endpoints take exactly the same files and jsonData payload, use the same token, and count towards the same usage allowance. If this endpoint is timing out on a large presentation, switch to generator/create-async — the request itself is unchanged, you only add the polling step.

generator/create

(v1.0)

Style

Synchronous — one request

Asynchronous — submit, then poll

Response

The .pptx file as a binary stream

JSON containing a job ID

Connection held open

For the whole generation

Only long enough to upload the template and JSON

Best for

Small and medium decks, quick interactive calls

Large decks — many slides, large tables, charts and images

Risk

Client, proxy or gateway timeouts on long jobs

None — generation time is decoupled from the request

generator/create

POST https://gen.powerpointgeneratorapi.com/v1.0/generator/create

Headers

Name
Type
Description

Content-Type*

String

multipart/form-data

Authorization*

String

Bearer authentication token

Request Body

Name
Type
Description

files*

File or array of files

.pptx template file(s), plus any image files

jsonData*

String

JSON data

On success, the API returns the generated file as a binary stream (not JSON).

Header
Description

Content-Type

Matches the requested output format

Content-Disposition

Attachment; filename={filename}

Save the response body directly to a file to get the presentation.

Returns a JSON error object describing what was invalid.

Example request

Dummy PowerPoint template used in examples below:

1

Select Authorization

Select the Authorization tab, enter your Token.

2

Configure the request body

Select the Body tab, select form-data, and add the two key-value parameters below:

KEY
VALUE

files

upload/ attach your .pptx file

jsonData

copy and paste the data from your .json payload

3

Send and download

Click the down arrow next to Send, then select Send and Download. Once the result is successfully received, save the output as .pptx.

Last updated