cURL
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": "concise", "web_search": false, "image_type": "stock", "theme": "<string>", "n_slides": 123, "language": "English", "template": "general", "include_table_of_contents": false, "include_title_slide": true, "files": [ "<string>" ], "export_as": "pptx" }'
{ "presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "path": "<string>", "edit_path": "<string>", "credits_consumed": 123 }
Generate a presentation synchronously.
Create an API Key from your account to access this endpoint. Authorization: Bearer sk-presenton-xxxxxxxx
The bearer token to authenticate with
Successful Response
The response is of type object.
object
Was this page helpful?