API & MCP
Everything a person can do on Comic Page & Lettering Planner, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://fliplinecomicpage.usefulweb.site/api/v1/calculate– run Comic Page & Lettering PlannerGET https://fliplinecomicpage.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Comic Page & Lettering Planner
Create a comic page from a grid and one dialogue line per panel. Choose reading direction and print resolution, add optional rough figures, and download an SVG, lettering CSV and editable Flipline Comic Desk project.
| Field | Type | Default | Description |
|---|---|---|---|
name | text | "A small discovery" | Comic page name |
dialogue | textarea | "What is that light?\nA little farther…\nWe found a new way.\nLet us draw it." | Dialogue lines in reading order |
rows | integer | 2 | Panel rows |
columns | integer | 2 | Panel columns |
width | integer | 1000 | Page width (px) |
height | integer | 1400 | Page height (px) |
dpi | integer | 150 | Page resolution (DPI) |
reading | select (ltr, rtl) | "ltr" | Panel reading direction |
figures | boolean | true | Include rough staging figures |
gutterAngle | integer | 0 | Gutter angle (°) |
readingBasis | select (box, center) | "box" | Reading order basis |
Example request
Four panels and a small discovery
curl -X POST https://fliplinecomicpage.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://fliplinecomicpage.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
flipline_comic_page - Local stdio connector:
node src/mcp-stdio.ts --tool=flipline-comic-page
{
"mcpServers": {
"flipline-comic-page": { "type": "http", "url": "https://fliplinecomicpage.usefulweb.site/mcp" }
}
}