Edit Banana: AI Converts Images to Editable DrawIO
Discover Edit Banana, the game-changing open-source tool that transforms static diagrams, flowcharts, and PDFs into fully editable DrawIO files and PPTX. Powered by fine-tuned SAM 3 segmentation and multimodal LLMs, it preserves layout, colors, text, and connections with stunning accuracy. Try the online demo instantly or run locally with Python. Perfect for engineers, researchers, and designers tired of recreating diagrams manually. Join 3.4k+ GitHub stars already using this productivity booster.
Edit Banana: Revolutionize Diagram Editing with AI-Powered Reconstruction
Static diagrams trapping your creativity? Edit Banana breaks the chains, transforming uneditable images and PDFs into fully manipulatable DrawIO files and PPTX presentations in seconds.
๐ What Makes Edit Banana Special?
This isn't basic OCR. Edit Banana delivers production-grade reconstruction:
โ 1:1 Visual Fidelity - Preserves colors, strokes, arrows, hierarchy โ Smart Segmentation - Fine-tuned SAM 3 identifies every element โ Perfect Text Recovery - Tesseract OCR + Pix2Text for formulas โ Native Editability - Every element independently draggable/resizable โ Multi-Format Output - DrawIO XML, SVG, PPTX
๐ฏ Real-World Examples That Convert
Flowcharts โ Perfect node connections preserved Architecture Diagrams โ Multi-level hierarchy maintained Technical Schematics โ Arrow directions + dashed lines intact Scientific Formulas โ LaTeX math rendered correctly
๐ ๏ธ Lightning-Fast Setup (5 Minutes)
git clone https://github.com/BIT-DataLab/Edit-Banana.git
cd Edit-Banana
pip install -r requirements.txt
mkdir -p input output
python main.py -i input/diagram.png
Try Online First: editbanana.anxin6.cn - No setup needed!
๐ฌ Tech Stack Powering the Magic
- SAM 3 (Fine-tuned): Pixel-perfect element segmentation
- Multimodal LLMs: Intelligent layout understanding
- Tesseract + Pix2Text: Bulletproof text/formula extraction
- FastAPI Backend: Production-ready concurrent processing
๐ Why 3.4K Stars & Growing?
- Solves Real Pain: No more manual redraws
- Offline Capable: Runs locally, no API limits
- Apache 2.0 License: Commercial use welcome
- Active Development: Arrow intelligence coming soon
๐ Get Started Today
- Quick Test: Online demo at editbanana.anxin6.cn
- Local Power: Clone + 5-minute setup
- Join Community: WeChat group for tips/support
Edit Banana doesn't just convert diagrams - it liberates your workflow. Star the repo, try the demo, and never redraw another flowchart!
โญ GitHub Repo | ๐ Live Demo