Install
openclaw skills install @toplocalai/layerback-image-to-vsdxConvert diagram images into fully editable Visio VSDX files with the official LayerBack web app and API. Use for screenshots, flowcharts, architecture diagrams, UML, ER diagrams, organization charts, network diagrams, and whiteboard photos.
openclaw skills install @toplocalai/layerback-image-to-vsdxConvert a diagram image into a genuinely editable Visio file through LayerBack. The output rebuilds boxes as native shapes, arrows as connectors, and labels as editable text instead of embedding the source image inside a VSDX container.
Use this skill when the source is a PNG, JPEG, or WebP diagram such as:
Do not use it for arbitrary photographs or artwork that does not contain a diagram structure.
LAYERBACK_API_KEY is configured.LAYERBACK_API_KEY.macOS or Linux:
export LAYERBACK_API_KEY='YOUR_KEY'
Windows PowerShell:
$env:LAYERBACK_API_KEY='YOUR_KEY'
The included client uses Python 3 standard-library modules only and requires no third-party packages.
Inspect the source image locally.
Confirm the conversion.
Run the official LayerBack conversion.
{skill_root} be the directory containing this SKILL.md.python3 {skill_root}/scripts/layerback_convert.py \
/path/to/source.png \
--out /path/to/result.vsdx \
--format vsdx
The client uploads the image, polls the conversion job, follows the official
download redirect, and saves the requested artifact. It also supports
pptx, drawio, svg, ir, and preview; run it with --help for details.
POST /api/v1/convert with raw image bytesGET /api/v1/jobs/{jobId}GET /api/v1/jobs/{jobId}/download?format=vsdxx-api-keyqueued, running, succeeded, and failedLayerBack states that uploaded files are deleted within 72 hours. Failed conversions are refunded. If the API reports authentication, insufficient credits, size, format, rate-limit, service, or job errors, report the returned status and message without exposing the key.