UML Chart Generator | Generate UML Chart by Text

Effortlessly turn text into UML diagrams. Describe your UML type, elements, and connections, and convert PlantUML specs into a PNG image. Visualize various UML diagrams with ease.



This task presents an innovative solution for translating text-based descriptions into visually comprehensive UML diagrams. By converting the provided text description into PlantUML UML diagram specifications, the task automatically generates UML diagrams that vividly illustrate the systems or processes described.


This task's adaptability lends itself to various UML diagram types, suitable for a wide array of needs. Whether you require a class diagram to delineate class relationships, a sequence diagram to portray interactions, or any other UML diagram style, this task is adept at fulfilling your diverse requirements.

How to use the task

Employing this task is a straightforward process that entails describing the UML diagram you wish to create. You need to provide specifics about the type of UML diagram you're aiming for, the particular elements you wish to incorporate, and the manner in which you'd like to establish their connections. Further customization options include adding attributes, methods, or associations to the elements, or instructing the task to depict message sequences in a sequence diagram.

Once the necessary information is supplied, the task employs it to generate PlantUML UML diagram specifications. These specifications serve as the architectural plan for the UML diagram's structure and relationships. The final step involves the task transforming these specifications into a PNG image file that faithfully represents the UML diagram you've envisioned.


Exercising caution is paramount when using this task, especially with sensitive information. It's advisable to avoid entering any confidential or private data into the task, as it might be subject to storage or processing that could pose privacy risks. Stick to non-sensitive information that solely pertains to the visual representation of the UML diagram, and refrain from sharing personal, financial, or sensitive details. This precaution is essential to ensure a secure and privacy-focused experience when creating UML diagrams.

First version
VersionAI ModelCreatedLink


The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.


  • description (Diagram description): The description of the UML diagram.
  • diagram_type (Diagram Type): The diagram type
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN"
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res ='intern-text-to-image-uml-chart','1.0.0', {'description': 'I need an ER diagram titled AnySolve that contains Tasks that execute itself.', 'diagram_type': 'Sequence diagram'})
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('intern-text-to-image-uml-chart','1.0.0', description='I need an ER diagram titled AnySolve that contains Tasks that execute itself.', diagram_type='Sequence diagram')