Components
Generate component from image
Changed onAnalyzes 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.
post/api/v0/components
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
component_type'flowchart' | 'diagram' | 'mindmap' | 'chart' | 'table' | 'schematic'
Type of component to generate. Supports 'flowchart', 'chart', and 'table'.
include_descriptionboolean
For flowcharts, whether to include a natural language description in addition to the Mermaid code.
detectboolean
For schematic components: run symbol detection on the uploaded image instead of starting from an empty canvas.
Request body multipart/form-data
Response
Successful Response
Changes
- warning
deleted the
queryrequest parameterbaseline_provider - warning
deleted the
queryrequest parameterfix_text_with_vlm
- warning