API & MCP

Everything a person can do on Nonogram Maker (Picross from a Picture), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Nonogram Maker (Picross from a Picture)

Turn a pixel drawing, a built-in picture or a PNG image into a printable nonogram (picross, griddler) with row and column clues. A line solver checks that the puzzle can be solved without guessing; if not, it adds as few given cells as it can until it can. Answer key included.

Inputs of Nonogram Maker (Picross from a Picture)
FieldTypeDefaultDescription
sourceselect (picture, grid, image)"picture"Picture from
pictureselect (heart, house, cat, tree, fish, rocket)"cat"Built-in picture
gridtextarea—Drawing (# = filled, . = empty). One line per row, up to 50 × 50.
imagefile—PNG image
colsinteger20Columns (image)
rowsinteger20Rows (image)
thresholdinteger128Darkness threshold (image, 0–255). Cells darker than this are filled.
invertbooleanfalseInvert (light cells filled)
fixbooleantrueAdd givens until it solves line by line
seedtext"nonogram-1"Seed. The same seed and settings always give the same puzzles. Change it for new ones.
titletext—Title on the page (optional)
answersbooleantrueAnswer-key pages
headerbooleantrueName and date line
paperselect (a3, a4, a5, a6, b5, letter, legal, tabloid, halfletter)"a4"Paper size
orientationselect (portrait, landscape)"portrait"Orientation

Example request

Built-in cat

curl -X POST https://printshopnonogram.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"source":"picture","picture":"cat"}'

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": {
    "printshop-nonogram": { "type": "http", "url": "https://printshopnonogram.usefulweb.site/mcp" }
  }
}