SVG Lab API
API by SVG Lab · rest
Use when the task needs a real, editable vector file (logo, icon set, app screen, social graphic) rather than an SVG string pasted into chat. Keys belong to a workspace (svglab.app profile page, API keys): svl_live_ keys spend the account's credits; test_ keys are the sandbox (1000 test credits a month per workspace, watermarked svg and png, no AI Generate). A Design Engine call costs 1 credit; failed calls are never billed. Every error says what to change in fix.
Endpoint: https://svglab.app/api/v1
Verification: observed. Source: crawl.
Capabilities (36)
- AI Generate: a sentence or a picture in SVG code out marked as AI-generated…
- SVG Lab's design and drawing guides one line each (the MCP's docs). 1 credit.
- One guide as the MCP serves it. 1 credit.
- A job: queued running succeeded or failed with its result. Free. Kept 7 days.
- Every Design Engine operation run can call one line each. 1 credit.
- One operation's arguments output and examples. 1 credit.
- List the workspace's projects (an end customer sees only its own). Free.
- Start an empty project. 1 credit.
- One project. describe=true also returns its artboards and shapes (1 credit or…
- Delete a project for good as My Projects' Delete does. It cannot be undone. 1…
- The open page's artboards (index name width height) read from the saved…
- Place your own image (data_url url or an asset_id from POST /api/v1/assets):…
- Save a design system board into your Design system section: the board as SVG…
- The finished file of one artboard. svg (editable fonts embedded) and png: 1…
- Render an artboard with measured facts (overflow overlap contrast frame…
- Place a free placeholder photo by description cropped into a box with the…
- Run Design Engine operations in the project: the MCP's run tool. 1 credit a…
- The MCP's add_hidden_ui tool. Use when a control opens hidden UI: adds a…
- The MCP's compare_drawing tool. Measure your drawing against the picked image:…
- The MCP's draw_svg tool. Upload the SVG you wrote by hand of the picked image…
- The MCP's editor_action tool. Draw shapes with the editor's Pen Curve …
- The MCP's editor_anchor_mode tool. Set one anchor to corner or smooth. 1 credit.
- The MCP's editor_direct_select tool. Drag one anchor or handle with Direct…
- The MCP's find_references tool. SVG Lab's reference pictures for one planned…
- The MCP's generate_illustration tool. Draw a planned illustration with SVG…