Steps to generate professional AI presentations via self hosted Presenton’s API in just 5 minutes.
OPENAI
, GOOGLE
or OLLAMA
. GOOGLE
is free to start with but if you want complete control and privacy OLLAMA
allows you to host your own model, but also requires PEXELS
(free image library) API key.
We will go with GOOGLE
in this guide as it’s relatively simpler to configure and free to start with. You will have to grab its API Key from Google AI Studio.
You can find details to run with other providers in Environment Variables.
Now, open your command line and execute the relevant command based on your OS:
If port 5000
is already occupied or you prefer a different port, feel free to change it.
Once this step is done, you can access Presenton locally at http://localhost:5000.
Parameter | Type | Required | Description |
---|---|---|---|
prompt | string | Yes | Topic/title of your presentation |
n_slides | int | No | Number of slides (default: 8; min: 5, max: 15) |
language | string | No | Language you’d like the presentation in (default: English) |
layout | string | No | (default: “general”). Available options: “classic”, “general”, “modern”, “professional” + Custom layouts |
export_as | string | No | ”pptx” or “pdf” (default: pptx) |
presentation_id
: Keep this handy if you want to refer back later.path
: This is your generated PPT file. Download from here.edit_path
: A convenient URL that lets you edit your slides directly from Presenton’s built-in editor.Note: Make sure to prepend your server’s root URL to the path and edit_path fields in the response to construct valid links.
💡 Did you know?
Now you can create your own custom layouts too!
Check out the guide: Create Custom Presentation Layouts