POST
/
v1
/
presentations
/
generate
curl --request POST \
  --url https://api.slidesgpt.com/v1/presentations/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "Create a 10 slide presentation about the history of the United States"
}'

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

The prompt to generate the presentation.

Required string length: 5 - 64000

Response

200 - application/json
id
string
required

The id of the presentation

embed
string
required

The url to embed the presentation. A redirect to a Microsoft PowerPoint viewer url.

download
string
required

The url to download the presentation as PowerPoint.