> ## 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 from Document

Asynchronously generates slides from an uploaded document. Returns immediately with a presentation ID and status URL for polling.

<ParamField body="document" type="file" required>
  The document file (PDF, DOCX, TXT, MD, etc.)
</ParamField>

<ParamField body="instructions" type="string">
  Custom instructions for generation (default: "Create a presentation from the document")
</ParamField>

<ParamField body="num_slides" type="integer">
  Target number of slides (default: 20)
</ParamField>

<ParamField body="template_id" type="string">
  UUID of the template to use
</ParamField>

<ParamField body="deep_research" type="boolean">
  Enable deep research mode (default: false)
</ParamField>

<ResponseField name="status" type="string">
  Status of the generation ("pending", "processing", "completed", "failed")
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable message
</ResponseField>

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

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

<ResponseField name="check_status_url" type="string">
  URL to check presentation status
</ResponseField>
