POST /presentations/generate/stream

Generate a presentation with streaming response (Server-Sent Events)

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 text/event-stream

    Stream of presentation generation progress

    Server-sent events with JSON presentation objects

  • 400

    Bad request - invalid input parameters

  • 500

    Internal server error - presentation generation failed

POST /presentations/generate/stream
curl \
 --request POST 'http://localhost:8080/api/presentations/generate/stream' \
 --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": {}
}