POST /presentations/generate/

Generate a complete presentation based on the provided outline and parameters. Notice the / was added because the endpoint must be unique. The original endpoint from AI-Worker is /presentations/generate.

application/json

Body Required

  • model string Required

    The model to use for generation

  • provider string Required

    The provider of the model

  • language string Required

    The language for the presentation

  • slide_count integer Required

    The number of slides to generate

  • outline string Required

    The outline for the presentation

  • meta_data object | null

    Additional properties are allowed.

Responses

  • 200 application/json

    Successfully generated presentation

    Generated presentation content

  • 400

    Bad request - invalid input parameters

  • 500

    Internal server error - presentation generation failed

POST /presentations/generate/
curl \
 --request POST 'http://localhost:8080/api/presentations/generate/' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"model":"string","provider":"string","language":"string","slide_count":42,"outline":"string","meta_data":{}}'
Request examples
{
  "model": "string",
  "provider": "string",
  "language": "string",
  "slide_count": 42,
  "outline": "string",
  "meta_data": {}
}
Response examples (200)
{}