Presentations API
The Plus AI Presentations API allows you to create new presentations programmatically via HTTP request. Creating presentations via the Presentations API is a two step process. First, you being presentation creation with a create request, and then you poll for the final presentation file using the presentations endpoint.
Authentication
To authenticate with the Presentations API, you must first generate an API key. You can generate an API key here. Note: Only one active API key per user is currently allowed. Once you have an API key, you can authenticate your requests to the presentations api using HTTP Bearer authentication:
Authorization: Bearer {PLUSAI_API_KEY}Creating presentations via HTTP request
Creating presentations is done by sending a POST request to the presentations endpoint:
POST https://api.plusdocs.com/r/v0/presentationThe following content can be sent inside the body payload of the request:
Name
Required
Type
Description
prompt
Yes
string
The input text prompt and content for the presentation
language
No
string, ISO 639-1
Defaults to "en"
numberOfSlides
No
integer, <= 30
If not provided, will be determined by AI
includeUserTips
No
boolean
If set to false, Plus user tips will not be added to slides in presentation
templateId
No
string
Id of the custom template to create the presentation from. Contact us for information on using custom templates.
textHandling
No
string,
See API text handling section below
Text Handling
There are three different modes of text handling available via the Presentations API, which allow for control over how much editing Plus AI will do to your inputs while creating your presentation:
Default mode: Plus AI will use your initial input as a reference, but will both edit the initial input and expand upon the input to create the best presentation possible.
Preserve mode: Plus AI will use your initial input as a reference, and will use direct excerpts from your documents in the presentation, while minimizing edits and expansion, but will use editing and expansion of the original input when necessary.
Strict mode: Plus AI will only use directs quotes/excerpts from your initial input when making your presentation. Note: While Plus AI will only use your initial input in direct quotes, certain types of content such as charts, images, tables, and other formatted content may result in slight changes from your initial document.
Example Request
Response
The response from the create presentations endpoint will contain a polling endpoint that you can use to access your generated presentation when it finishes generating.
Polling for Generated Presentation
Poll this endpoint to check the progress of a presentation generation request. When the status field in the response returns as "GENERATED", your presentation file will be included in the request and ready to be downloaded.
Path Parameters
Name
Required
Type
Description
presentationId
Yes
string
The ID of the presentation generation request
Example Request
Response
Polling for all Generated Presentations
Poll this endpoint to retrieve all generated presentations you have created via the Presentations API.
Note: This endpoint currently only shows the last 100 generated presentations.
Example Request
Response
Code Samples
cURL Example (Presentation Creation + Polling)
Python Example (Presentation Creation + Polling)
Plus Template IDs
If you would like to use a specific Plus template for your presentation generation you can use the associated template ID in your cURL request.
Creating presentations via API with your custom branding or custom template is currently available for Enterprise accounts. If you'd like to inquire about Enterprise please contact us at [email protected].
Rate Limits and Restrictions
The Presentations API is currently in beta, and has a rate limit of 3 presentation creation requests a minute.
Last updated
Was this helpful?

