Kroki provides a unified and free API for drawing diagrams. I just released a new plugin for Hexo to draw diagrams with Kroki.
Since a lot of plugins for PlantUML diagrams are no longer maintained, I just released a new fork with compatibility for latest Hexo.