API Reference
An overview of all available API endpoints
Not sure where to start? Check out the quickstart section to get up and running with the API in minutes.
Prefer using Postman? Check out our Postman collection.
Generate a Presentation
POST
https://api.slidespeak.co/api/v1/presentation/generate
Generate a presentation from plain text.
Headers
Content-Type
application/json
X-API-Key
<your api token>
Body
plain_text
string
What to generate a presentation about.
length
number
The amount of slides.
template
string
The name of the template or the id of a custom template. See the custom templates section for more information.
For options, see the Get All Templates
endpoint.
language
string
The language to use in the presentation.
fetch_images
boolean
Whether to include stock images.
tone
string
The tone to use for the text.
Options:
default
casual
professional
funny
educational
sales_pitch
verbosity
string
how verbose, or long, the text should be.
Options:
consise
standard
text-heavy
custom_user_instructions
string
A custom instruction that should be followed when generating the presentation.
Code Examples
Example body
Response
Get Task Status
GET
https://api.slidespeak.co/api/v1/task_status/{{task_id}}
Get the status of a task.
Headers
Content-Type
application/json
X-API-Key
<your api token>
Get parameters
task_id
string
The ID you got after starting tasks.
Examples
Response
Get All Templates
GET
https://api.slidespeak.co/api/v1/presentation/templates
Headers
Content-Type
application/json
X-API-Key
<your api token>
Examples
Response
Edit Powerpoint
POST
https://api.slidespeak.co/api/v1/presentation/edit
Headers
Content-Type
multipart/form-data
X-API-Key
<your api token>
Body (form-data)
pptx_file
file
The PowerPoint you wish to edit.
config
json
A json object containing the values to change.
Examples
Example config
Response
Last updated