API & MCP

Everything a person can do on Screentone Pattern Maker, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Screentone Pattern Maker

Generate a repeating vector screentone, inspect its nominal ink coverage and lines per inch, and download an SVG or reusable tone recipe. Open it as a Comic Desk study or apply the recipe to an existing panel.

Inputs of Screentone Pattern Maker
FieldTypeDefaultDescription
patternselect (dots, lines, crosshatch)"dots"Tone pattern
pitchinteger14Tone pitch (px)
coverageinteger20Tone coverage (%)
angleinteger45Tone angle (°)
dpiinteger150Tone resolution (DPI)
widthinteger600Swatch width (px)
heightinteger400Swatch height (px)
inktext"#253e45"Tone ink (HEX)

Example request

A 20% dot tone

curl -X POST https://fliplinescreentone.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)

{
  "mcpServers": {
    "flipline-screentone": { "type": "http", "url": "https://fliplinescreentone.usefulweb.site/mcp" }
  }
}