Skip to main content
Smart generation applies the visual language of an existing presentation to a new deck. Use an existing Smart Design or create one from a reference PPTX. This workflow crosses two API versions:
  1. List available Smart Designs with Cloud API v3.
  2. Check fonts, upload the PPTX and fonts, generate previews, and create a Smart Design with API v2.
  3. Pass the resulting design ID to Cloud API v3 presentation generation.

Before you begin

Use a user access token that is authorized to create designs. Pass it as a Bearer token on every request in this workflow:
All endpoints in this workflow require a user access token. Use the same access token for the v2 design-creation and Cloud v3 requests.

1. List Smart Designs with v3

List the Smart Designs available to the authenticated account:
The response is paginated. Use the id of a design as smart_design when generating a presentation.
See List Smart Designs. If the design you need is already listed, skip to Generate with the Smart Design.

2. Create a Smart Design with v2

Design creation is asynchronous. Check the reference deck’s fonts, upload any required replacements and generate previews, then start design creation and poll its status.

Check fonts in the reference PPTX

Upload the PPTX to identify fonts Presenton can resolve and fonts for which you must provide files:
See Check fonts in a PPTX.

Upload fonts and generate previews

Upload the same PPTX. For each font you want to replace, add one font_files field and one matching original_font_names field. Presenton pairs repeated fields by order.
If no font files are required, omit font_files and original_font_names.
Review every URL in slide_image_urls before creating the design. Then retain pptx_url, slide_image_urls, and fonts for the next request. See Upload fonts and generate slide previews.

Start asynchronous design creation

Pass pptx_url, slide_image_urls, and fonts from the preview response without modifying them:
The response contains the task ID used to monitor design creation:
See Create a Smart Design asynchronously.

Check design creation status

Poll the status endpoint until status is completed or error:
While the task runs, status is pending or processing. A completed response contains the new Smart Design ID in data.design_id:
If status is error, inspect message and error before retrying. See Get Smart Design creation status.

3. Generate with the Smart Design using v3

Set smart_design to an ID returned by the list endpoint or to data.design_id from the completed design-creation task:
See Generate a presentation synchronously. For background generation, send the same smart_design value to POST /api/v3/presentation/generate/async and follow the asynchronous generation guide.