> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/quick-start/quizzes/from-text.md).

# Create a Quiz from Text

Generate a quiz by combining a text resource with explicit instructions.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "quiz",
    "resources": [
      { "type": "text", "content": "Key takeaways from our 2024 SaaS pricing study." }
    ],
    "text": "Create an 8-question multiple-choice quiz with 4 options each.",
    "quizDifficulty": "medium"
  }'
```

**Tips**

* Use `quizDifficulty` (`easy`, `medium`, `hard`) to control how challenging the questions feel.
* Keep `text` short and directive to steer question style and count.
