Skip to main content
A
Docs

Templates

Manage presentation templates with government branding, the Midnight Gold theme, and custom layouts.

Overview

Templates in Present define the visual identity of generated presentations. Upload branded PPTX files as templates, and reference them during generation to ensure presentations match your organization's design standards -- logos, color schemes, fonts, and layout conventions.

Default Theme: Midnight Gold

When no template is specified, Present uses the Midnight Gold theme -- a dark, professional design built for government presentations:

  • Background: Near-black (#09090B) with subtle noise texture
  • Primary Accent: Heritage Gold (#C8A24D) for headings and highlights
  • Text: High-contrast white (#F4F4F5) on dark surfaces
  • Typography: Clean sans-serif fonts optimized for readability in presentations
  • Charts: Gold, blue, emerald, and red palette with high contrast

The Midnight Gold theme is designed to look distinctive in government settings where generic corporate blue/white slides are the norm.

Uploading Templates

Upload a PPTX file as a reusable template:

curl -X POST http://localhost:8011/api/v1/templates/upload \
  -H "Authorization: Bearer $TOKEN" \
  -F "file=@ministry_template.pptx" \
  -F "name=Ministry of Digital Economy" \
  -F "description=Official branded template with ministry logo and color scheme"

Response:

{
  "template_id": "tmpl-a1b2c3",
  "name": "Ministry of Digital Economy",
  "description": "Official branded template with ministry logo and color scheme",
  "created_at": "2024-01-15T10:30:00Z"
}

The uploaded PPTX serves as a styling reference. Slide masters, color schemes, and layout definitions from the template are applied to generated presentations.

Using Templates

Reference a template during generation:

curl -X POST http://localhost:8011/api/v1/presentations/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{
    "prompt": "Annual AI strategy review for the ministry",
    "template_id": "tmpl-a1b2c3",
    "slide_count": 15,
    "language": "en"
  }'

Listing Templates

Browse available templates:

curl http://localhost:8011/api/v1/templates \
  -H "Authorization: Bearer $TOKEN"

Response:

[
  {
    "template_id": "tmpl-a1b2c3",
    "name": "Ministry of Digital Economy",
    "description": "Official branded template with ministry logo and color scheme",
    "created_at": "2024-01-15T10:30:00Z"
  },
  {
    "template_id": "tmpl-d4e5f6",
    "name": "Executive Briefing",
    "description": "Minimal dark template for C-level presentations",
    "created_at": "2024-01-10T09:00:00Z"
  }
]

Government Template Patterns

Common template configurations for GCC government organizations:

Ministerial Briefing

  • Logo placement: top-left header
  • Color scheme: official ministry colors
  • Slide types: title, executive summary, data tables, recommendation, closing
  • Confidentiality notice on footer

Budget Proposal

  • Financial data tables with currency formatting (AED, SAR, QAR, OMR)
  • Chart slides with budget comparisons
  • Appendix slides for detailed line items

Strategy Deck

  • Vision statement title slide
  • Strategic pillars overview
  • Initiative detail slides with timelines
  • KPI dashboard slides

Arabic Templates

Templates support Arabic RTL content. Upload a PPTX with right-to-left slide masters, and generated Arabic content will follow the template's text direction.

Template Best Practices

Include slide masters for each layout type. Present maps generated content to appropriate slide masters. Templates with title, content, two-column, and blank masters provide the most flexibility.

Use standard fonts. Stick to fonts available on government systems. Arabic templates should use fonts with strong Arabic glyph coverage.

Keep it clean. Templates with complex animations or embedded media may not transfer cleanly. Focus on color schemes, typography, and logo placement.