API & MCP

Everything a person can do on 3D Scene and Render Pass Preview, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

3D Scene and Render Pass Preview

Render a small deterministic SVG preview from a Form Studio project or Render Desk recipe. Download the preview and editable recipe, then continue in Kerfwise with higher resolution and sampling.

Inputs of 3D Scene and Render Pass Preview
FieldTypeDefaultDescription
projecttextarea"{\"format\":\"kerfwise-form\",\"version\":1,\"name\":\"Terraced forms\",\"unitsForm project or render recipe JSON
widthnumber96Preview width (px)
heightnumber72Preview height (px)
samplesnumber2Samples per pixel
passselect (beauty, albedo, normal, depth, shadow, object)"beauty"Render pass

Example request

Terraced forms in soft light

curl -X POST https://kerfwisescenepreview.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": {
    "kerfwise-scene-preview": { "type": "http", "url": "https://kerfwisescenepreview.usefulweb.site/mcp" }
  }
}