vision_reconstruct
Reconstruct screenshots into HTML, React, or SVG code with model self-check. Convert UI images to editable code for text-only LLMs and AI agents.
Instructions
Reconstruct a screenshot into code (html/react/svg) with a model self-check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Vision model name | qwen3-vl:2b-instruct |
| render | No | Attempt closed-loop rendering (default from VISION_RECONSTRUCT_RENDER) | |
| image_url | No | Remote HTTP(S) image URL | |
| mime_type | No | MIME type of image_base64 (e.g. image/png) | |
| image_path | No | Local path to the image file | |
| iterations | No | Max refinement iterations (default from config) | |
| image_base64 | No | Base64-encoded image data | |
| target_format | No | html | |
| reference_layout | No | Optional JSON output from vision_layout |