External API

Generate a presentation

Create a new presentation from text content. This is an async operation.

Workflow:

  1. Submit your content and options
  2. Receive a generation_id immediately
  3. Poll GET /generations/{generation_id} until status is completed or failed
  4. Access your presentation via the URLs in the response

Rate limit: Max 5 concurrent generations per user.

post/api/v1/generations

Request

  • Base URL: https://slides-api.getalai.com
  • URL: https://slides-api.getalai.com/api/v1/generations
  • Auth: HTTP bearer

Request body

input_textstring required

Content to transform into slides. Can be plain text, markdown, or structured notes. Longer input typically produces more slides.

additional_instructionsstring nullable

Guidance for the AI on style, focus areas, or specific requirements not captured in other options.

image_idsstring[] nullable

IDs of previously uploaded images (from POST /upload-images) to incorporate. Images are matched to relevant slides automatically.

export_formatsApiExportFormat[]

Formats to export upon completion. 'link' is a shareable web URL. 'pdf' and 'ppt' provide downloadable files.

Response

Successful Response

generation_idstring required

Unique identifier to poll for generation status via GET /generations/{generation_id}

Changes

No recorded changes to this operation across all 1 revision of this API.