Generate component from image
Analyzes an uploaded image and generates components based on the visual content. Supports 'flowchart' (Mermaid syntax), 'chart' (matplotlib PNG as base64), and 'table' (HTML table extraction). If no image is provided, creates an empty component record for later upload via presigned URL.
Query parameters
Type of component to generate. Supports 'flowchart', 'chart', and 'table'.
Type of component to generate. Supports 'flowchart', 'chart', and 'table'.
For flowcharts, whether to include a natural language description in addition to the Mermaid code.
For flowcharts, whether to include a natural language description in addition to the Mermaid code.
When baseline_mode=true, choose provider: vlm (LLM vision), azure (Document Intelligence), gcp (Document AI)
When baseline_mode=true, choose provider: vlm (LLM vision), azure (Document Intelligence), gcp (Document AI)
Whether to fix text with VLM
Whether to fix text with VLM
For schematic components: run symbol detection on the uploaded image instead of starting from an empty canvas.
For schematic components: run symbol detection on the uploaded image instead of starting from an empty canvas.
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.