# Generate Presentation Outline by using AI **POST /presentations/outline-generate** Generates a presentation outline in markdown format based on specified parameters. ## Servers - Local development server: http://localhost:8080/api (Local development server) - Production server: https://api.huy-devops.site/api (Production server) ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **topic** (string) The main topic or subject for the presentation - **slideCount** (integer) The desired number of slides in the outline - **language** (string) The language of the presentation - **model** (string) The AI model to use for generating the outline - **learningObjective** (string) The learning objective or goal of the presentation - **targetAge** (string) The target age group for the presentation ## Responses ### 200 success #### Body: application/json (object) - **success** (boolean) - **code** (integer(int32)) - **message** (string) - **data** (object) ### 400 Bad Request #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) ### 500 Internal Server Error #### Body: application/json (object) - **success** (boolean) - **code** (integer) - **errorCode** (string) - **message** (string) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)