Skip to main content
POST
/
api
/
v1
/
ppt
/
presentation
/
generate
Generate Presentation Sync
curl --request POST \
  --url https://api.presenton.ai/api/v1/ppt/presentation/generate \
  --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
}'
{
  "presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "path": "<string>",
  "edit_path": "<string>",
  "credits_consumed": 123
}

Headers

Authorization
string
required

Body

application/json
content
string | null
slides_markdown
string[] | null
instructions
string | null
tone
enum<string>
Available options:
default,
casual,
professional,
funny,
educational,
sales_pitch
verbosity
enum<string>
Available options:
concise,
standard,
text-heavy
markdown_emphasis
boolean
default:true
image_type
enum<string>
default:stock
Available options:
stock,
ai-generated
theme
string | null
n_slides
integer
default:8
language
string
default:English
template
string
default:general
include_table_of_contents
boolean
default:false
include_title_slide
boolean
default:true
allow_access_to_user_info
boolean
default:true
files
string[] | null
export_as
enum<string>
default:pptx
Available options:
pptx,
pdf
trigger_webhook
boolean
default:false

Response

presentation_id
string<uuid>
required
path
string
required
edit_path
string
required
credits_consumed
number
required