> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poesius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Slides

End-to-end slide generation from a topic or document. This is the recommended tool for most use cases.

<ParamField body="topic" type="string">
  Topic if generating from scratch
</ParamField>

<ParamField body="content" type="string">
  Existing markdown content to convert
</ParamField>

<ParamField body="instructions" type="string" required>
  Generation instructions
</ParamField>

<ParamField body="template_id" type="string">
  Template UUID (required if no default)
</ParamField>

<ParamField body="num_slides" type="integer">
  Target number of slides
</ParamField>

<ParamField body="conversation_id" type="string">
  Existing conversation UUID
</ParamField>

<ParamField body="presentation_id" type="string">
  Existing presentation UUID to add slides to
</ParamField>

<ParamField body="document_base64" type="string">
  Base64-encoded document
</ParamField>

<ResponseField name="slides" type="array">
  Array of slide objects with content and URLs
</ResponseField>

<ResponseField name="content" type="string">
  Generated markdown content
</ResponseField>

<ResponseField name="presentation_id" type="string">
  UUID of the created presentation
</ResponseField>

<ResponseField name="conversation_id" type="string">
  UUID of the conversation
</ResponseField>

<ResponseField name="total_slides" type="integer">
  Total number of slides created
</ResponseField>

<ResponseField name="presentation_url" type="string">
  Web URL to view the presentation
</ResponseField>

<ResponseField name="download_url" type="string">
  Direct download link for PPTX
</ResponseField>
