Overview
Templates define the visual design and layout structure of your presentations. Each template contains multiple layouts (e.g., Title Slide, Content Slide, Section Header) that the AI uses to place content.List Templates
Endpoint:GET /templates/
List all templates available to your account.
Request:
limit(integer, optional): Maximum number of templates to return (default: 50, max: 100)offset(integer, optional): Pagination offset (default: 0)
Get Default Template
Endpoint:GET /templates/default
Get your current default template.
Request:
null.
Set Default Template
Endpoint:POST /templates/{template_id}/set-default
Set a template as your default. The default template will be used automatically when no template_id is specified in slide generation requests.
Request:
POST /templates/default
Get Template Details
Endpoint:GET /templates/{template_id}
Get detailed information about a specific template.
Request:
Using Templates in Slide Generation
When generating slides, you can specify a template in two ways:1. Use Default Template
If you have set a default template, simply omit thetemplate_id parameter:
2. Specify Template ID
Template Editing and Layout Zones
Important: Template editing, including layout zone definitions, must be done visually through the web platform athttps://app.poesius.com.
What are Layout Zones?
Layout zones define the boundaries where the AI places slide content. Each layout in a template has multiple zones (e.g., TITLE, CONTENT, FOOTER, LEFT_CONTENT, RIGHT_CONTENT) that specify:- Bounding boxes: Where content can be placed (as percentages of slide dimensions)
- Background colors: Visual styling for each zone
- Text colors: Font colors that work with zone backgrounds
- Layout structure: How zones are arranged (horizontal, split-screen, single frame)
Why Zone Definition Matters
The AI relies on these zone definitions to:- Place content in the correct areas of each slide
- Match text colors to zone backgrounds (e.g., white text on dark zones)
- Respect visual boundaries and avoid overlapping decorative elements
- Maintain consistent styling across slides
Editing Templates
- Upload Template: Upload your PowerPoint template file (
.pptx) through the web app - Process Template: The system automatically extracts layouts and creates initial zone definitions
- Edit Zones (Visual): Use the web platform’s visual editor to:
- Adjust zone boundaries to match your design
- Define zone descriptions (e.g., “Main title slide layout”, “Section divider”, “Normal content slide”)
- Ensure zones cover the maximum usable space without overlapping graphics
- Set proper text colors for each zone background
Layout Descriptions
Each layout should have a clear description that helps the AI understand its purpose:- Title Slide Layout: “Main title slide with large title area and subtitle”
- Section Header: “Section divider slide with centered title”
- Content Slide: “Standard content slide with title and main content area”
- Two-Column: “Split-screen layout with left and right content areas”
One-Time Setup
Zone definition is a one-time job done visually on the web platform. Once zones are properly defined:- The AI will use them automatically for all future slide generation
- No API calls are needed to modify zones
- Changes to zones require re-editing through the web interface
Best Practices
- Set a Default Template: Use
POST /templates/{id}/set-defaultto avoid specifyingtemplate_idin every request - List Templates First: Use
GET /templates/to see available templates before generating slides - Template Processing: New templates may need processing time. Check
processing_statusbefore use - Zone Definitions: Ensure zones are properly defined in the web platform for best AI content placement
Web Platform
Edit templates and define layout zones visually

