API & MCP

Everything a person can do on Render Sampling Budget, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Render Sampling Budget

Plan a local Render Desk image before starting the worker. Compare the chosen sample count with a target, see pixel and ray bounds, buffer estimates and the expected relative sampling noise under independent samples.

Inputs of Render Sampling Budget
FieldTypeDefaultDescription
widthnumber640Width (px)
heightnumber480Height (px)
samplesnumber8Samples per pixel
targetnumber16Comparison samples per pixel

Example request

Standard versus fine preview

curl -X POST https://kerfwiserenderbudget.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-render-budget": { "type": "http", "url": "https://kerfwiserenderbudget.usefulweb.site/mcp" }
  }
}