Generating PowerPoint presentations using GEN AI (Azure OpenAI supported) with images, and charts.
304
This Docker image provides a Python-based web service, built using Flask and the python-pptx library, that allows users to generate PowerPoint presentations dynamically using Azure OpenAI GPT. The service leverages AI to design presentation slides by processing user inputs such as titles, subtitles, content, charts, and images, and formatting them into structured slides. It is ideal for business analysts, educators, and anyone looking to automate slide creation.
python-pptx to create slides with text, images, charts, and other elements.Build and Run the Docker Container:
docker pull cogniverse/pptx-genai:v1
docker run -d -p 5000:5000 cogniverse/pptx-genai
Submit Requests: Use a simple REST API to submit slide content
POST endpoint: /generate_presentation
Body: JSON containing slide data (title, content, images, charts).
Receive Output
The service responds with a downloadable PowerPoint (.pptx) file containing the generated slides.
AZURE_OPENAI_API_KEY: Your Azure OpenAI GPT API key.
AZURE_OPENAI_ENDPOINT: The endpoint URL for the Azure OpenAI service.
{
"slides": [
{
"layout_num": 0,
"title": "Business Report",
"subtitle": "Q3 2024 Summary"
},
{
"layout_num": 3,
"title": "Key Metrics",
"content": ["Revenue Growth", "Market Expansion", "Customer Retention"]
}
]
}
Content type
Image
Digest
sha256:c90816c49…
Size
134.7 MB
Last updated
about 2 years ago
docker pull cogniverse/pptx-genai:v1