Skip to main content
This guide shows a two-step workflow:
  1. Generate slide outlines with presentation/outlines/generate.
  2. Use each outline as the content for a slide in presentation/generate (sync) or presentation/generate/async (async).

Step 1: Generate outlines

Call the outlines endpoint to get a list of strings. Each string represents a slide outline.
See the Outlines Generate API Reference for the full request schema.
bash
json

Step 2: Generate the presentation from outlines

The presentation/generate endpoint accepts slides, which is an array of objects with:
  • content (string, required)
  • layout (string or null)
Use each generated outline string as a slide’s content and set layout to null (or specify a layout for that slide).

Sync generation

bash

Async generation

Use the same request body as sync, then poll the async task status as described in Generate presentations asynchronously.