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"
}'
{
  "id": "123",
  "embed": "https://api.slidesgpt.com/123/embed",
  "download": "https://api.slidesgpt.com/123/download"
}

Authorizations

Authorization
string
header
required

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
The generated presentation
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.