Skip to main content
POST
/
api
/
v1
/
ppt
/
presentation
/
generate
/
async
Generate Presentation Async
curl --request POST \
  --url https://api.presenton.ai/api/v1/ppt/presentation/generate/async \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "<string>",
  "slides_markdown": [
    "<string>"
  ],
  "instructions": "<string>",
  "tone": "default",
  "verbosity": "standard",
  "markdown_emphasis": true,
  "web_search": false,
  "image_type": "stock",
  "theme": "<string>",
  "n_slides": 8,
  "language": "English",
  "template": "general",
  "include_table_of_contents": false,
  "include_title_slide": true,
  "allow_access_to_user_info": true,
  "files": [
    "<string>"
  ],
  "export_as": "pptx",
  "trigger_webhook": false
}'
{
  "id": "<string>",
  "status": "<string>",
  "message": "<string>",
  "error": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "data": {}
}

Headers

Authorization
string
required

The bearer token to authenticate with

Body

application/json
content
string | null

The content for generating the presentation

slides_markdown
string[] | null

The markdown for the slides

instructions
string | null

The instruction for generating the presentation

tone
enum<string>

The tone to use for the text

Available options:
default,
casual,
professional,
funny,
educational,
sales_pitch
verbosity
enum<string>

How verbose the text should be

Available options:
concise,
standard,
text-heavy
markdown_emphasis
boolean
default:true

Whether to emphasize the markdown

Whether to enable web search

image_type
enum<string>
default:stock

Type of image to generate

Available options:
stock,
ai-generated
theme
string | null

Theme to use for the presentation. Available themes: edge-yellow, light-rose, mint-blue, professional-blue, professional-dark and your custom themes

n_slides
integer
default:8

Number of slides to generate

language
string
default:English

Language for the presentation

template
string
default:general

Template to use for the presentation. Available templates: general, modern, standard, swift and your custom templates

include_table_of_contents
boolean
default:false

Whether to include a table of contents

include_title_slide
boolean
default:true

Whether to include a title slide

allow_access_to_user_info
boolean
default:true

Whether to allow access to user's info

files
string[] | null

Files to use for the presentation. Use /api/v1/ppt/files/upload to upload files.

export_as
enum<string>
default:pptx

Export format

Available options:
pptx,
pdf
trigger_webhook
boolean
default:false

Whether to trigger subscribed webhooks

Response

Successful Response

status
string
required
id
string
message
string | null
error
object | null
created_at
string<date-time>
updated_at
string<date-time>
data
object | null
I