# Create a Slide Deck from Text

Turn written prompts into a structured deck with slide headlines, bullets, and speaker notes.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "slide_deck",
    "resources": [
      { "type": "text", "content": "Internal memo on the new analytics rollout, timeline, and launch messaging." }
    ],
    "text": "Build a 10-slide deck with an executive summary, timeline, risks, and next steps.",
    "duration": "default",
    "slideDeckFormat": "detailed"
  }'
```

**Tips**

* Use `duration` to control depth: `short` for quick briefings, `long` for full project reviews.
* `slideDeckFormat` of `detailed` includes bullets per slide; switch to `presenter` for leaner slides plus speaking notes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.autocontentapi.com/quick-start/slide-decks/from-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
