Generates a complete presentation based on a provided markdown outline.
POST
/presentations/generate
curl \
--request POST 'http://localhost:8080/api/presentations/generate' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"presentation":{},"outline":"```markdown\n### The Amazing World of Artificial Intelligence!\n\nDid you know computers can now think and learn just like humans? Let's discover how AI is changing our world!\n\n**What makes AI so special?**\n\n- **AI systems are smart programs** that can learn from experience\n- They are like **digital brains** that solve problems for us\n- This incredible technology helps us in ways we never imagined\n\n_AI doesn't get tired or forget - it keeps learning 24/7!_\n\n### How Does AI Actually Learn?\n\nThe secret ingredient is massive amounts of **data**! AI systems feed on information to become smarter.\n\n**Data: The Brain Food of AI**\n\n- **Machine Learning** is like teaching a computer to recognize patterns\n- AI systems use **algorithms** to process and understand information\n- Without quality data, AI cannot make good decisions\n\n\u003e Just like we learn from our mistakes, AI gets better with every example!\n```"}'
Request examples
{
"presentation": {},
"outline": "```markdown\n### The Amazing World of Artificial Intelligence!\n\nDid you know computers can now think and learn just like humans? Let's discover how AI is changing our world!\n\n**What makes AI so special?**\n\n- **AI systems are smart programs** that can learn from experience\n- They are like **digital brains** that solve problems for us\n- This incredible technology helps us in ways we never imagined\n\n_AI doesn't get tired or forget - it keeps learning 24/7!_\n\n### How Does AI Actually Learn?\n\nThe secret ingredient is massive amounts of **data**! AI systems feed on information to become smarter.\n\n**Data: The Brain Food of AI**\n\n- **Machine Learning** is like teaching a computer to recognize patterns\n- AI systems use **algorithms** to process and understand information\n- Without quality data, AI cannot make good decisions\n\n> Just like we learn from our mistakes, AI gets better with every example!\n```"
}
Response examples (200)
{
"success": true,
"code": 200,
"message": "string",
"data": {
"slides": [
{
"type": "cover",
"data": {
"title": "string",
"text": "string"
}
}
]
}
}
Response examples (400)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2025-05-04T09:42:00Z"
}