Generate Image to Diagram
generateImageDiagramConvert any image, such as a screenshot or whiteboard sketch, into a structured diagram by automatically identifying components and relationships.
Instructions
Convert an image (screenshot, diagram, whiteboard sketch, architecture drawing, etc.) into a ToDiagram custom format diagram. Analyzes the image to identify components, relationships, and hierarchical structure, then generates an equivalent diagram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the generated diagram | |
| description | No | Optional description or context about the image | |
| imageBase64 | Yes | Base64-encoded image data | |
| imageMimeType | Yes | MIME type of the image |