This AI-Powered Diagram Generator leverages GPT-4o (hosted on Azure OpenAI) and PlantUML to convert textual descriptions and hand-drawn sketches into professional diagrams. This tool is designed to help visualize complex ideas and processes effortlessly.
Check out the demo 👇🏼
- Generate diagrams from textual descriptions.
- Convert hand-drawn sketches into digital diagrams.
- Download diagrams in SVG and PNG formats.
- View detailed explanations and PlantUML syntax of generated diagrams.
- Convert the PlantUML syntax to any other diagramming language (GraphViz, Mermaid, etc.)
- Python 3.10 or higher
- Poetry [Installation Instructions]
- Setup your GPT Model on Azure OpenAI [Reference Video]
- Clone the repository & get into the project directory
git clone https://github.com/tezansahu/ai-garage.git cd diagram-generator
- Install dependencies using Poetry:
poetry shell poetry install
- Set up your environment variables in
.env
file. - Run the Streamlit app:
streamlit run diagram-generator/app.py