API & MCP
Everything a person can do on SVG Motion Builder, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://fliplinesvgmotion.usefulweb.site/api/v1/calculate– run SVG Motion BuilderGET https://fliplinesvgmotion.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
SVG Motion Builder
Animate solid SVG shapes with pulse, reveal, slide or spin presets. Download Lottie JSON, sampled animated SVG and an editable Flipline Motion Desk project with vector layers and keyframes.
| Field | Type | Default | Description |
|---|---|---|---|
svg | textarea | "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 240 240\"><rect x=\"24\ | SVG source |
preset | select (pulse, reveal, slide, spin) | "pulse" | Motion preset |
name | text | "A moving mark" | Motion name |
width | integer | 480 | Stage width (px) |
height | integer | 360 | Stage height (px) |
fps | integer | 30 | Frame rate (FPS) |
duration | number | 3 | Duration (seconds) |
Example request
A checkmark with a gentle pulse
curl -X POST https://fliplinesvgmotion.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://fliplinesvgmotion.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
flipline_svg_motion - Local stdio connector:
node src/mcp-stdio.ts --tool=flipline-svg-motion
{
"mcpServers": {
"flipline-svg-motion": { "type": "http", "url": "https://fliplinesvgmotion.usefulweb.site/mcp" }
}
}