Skip to main content
POST
/
api
/
v3
/
presentation
/
generate
/
async
Generate Presentation Async V3
curl --request POST \
  --url https://api.presenton.ai/api/v3/presentation/generate/async \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "message": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "status": "pending",
  "data": {},
  "error": {}
}

Headers

Authorization
string
required

Bearer JWT or API Key

Body

application/json
content
string | null

The content for generating the presentation

slides
SlideContentLayout · object[] | null

The content and layout for each slide

n_slides
integer | null

Number of slides to generate

instructions
string | null

The instruction for generating the presentation

tone
enum<string>
default:default

The tone to use for the text

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

How verbose the text should be

Available options:
concise,
standard,
text-heavy
content_generation
enum<string> | null

How to generate the content for each slide

Available options:
preserve,
enhance,
condense
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

language
string | null

Language for the presentation

standard_template
string | null

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

smart_design
string | null

Smart design to use for the presentation

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/v3/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

message
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
id
string
status
enum<string>
default:pending
Available options:
pending,
completed,
error
data
Data · object
error
Error · object