Api Endpoint

Relaystation Image From HTML

$0.003/call. Render HTML to an image — sandboxed headless Chromium screenshot of your markup. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

Open interactive test console

Offering

Provider
api.relaystation.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.relaystation.ai/v1/image/from-html
MIME type
Not provided
First seen
2026-10-16T01:51:20.002Z
Last seen
Tags
html-to-image, rendering, screenshots, web-assets, image-generation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
10000 atomic units
Atomic price: 10000 · Network: eip155:8453 · Asset: 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "10000",
    "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A"
  }
]

Observed health

Status
Healthy
Latest latency
27 ms
Average latency
110 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "clip": {
          "description": "A region to capture (mutually exclusive with fullPage).",
          "properties": {
            "height": {
              "maximum": 100000,
              "minimum": 1,
              "type": "number"
            },
            "width": {
              "maximum": 100000,
              "minimum": 1,
              "type": "number"
            },
            "x": {
              "maximum": 100000,
              "minimum": 0,
              "type": "number"
            },
            "y": {
              "maximum": 100000,
              "minimum": 0,
              "type": "number"
            }
          },
          "required": [
            "x",
            "y",
            "width",
            "height"
          ],
          "type": "object"
        },
        "fullPage": {
          "description": "Capture the full scrollable page (mutually exclusive with clip).",
          "type": "boolean"
        },
        "height": {
          "description": "Viewport height.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "html": {
          "description": "Self-contained HTML; all assets inlined as data: URIs (no network).",
          "minLength": 1,
          "type": "string"
        },
        "omitBackground": {
          "description": "Transparent background (png/webp only).",
          "type": "boolean"
        },
        "type": {
          "enum": [
            "png",
            "jpeg",
            "webp"
          ],
          "type": "string"
        },
        "width": {
          "description": "Viewport width.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}