$0
$0.003/call. Render HTML to an image — sandboxed headless Chromium screenshot of your markup. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny
10000 (raw units)
price
10
calls / 30d
1
unique payers
2026-09-18
updated
Provider
api.relaystation.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
"asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"clip": {
"height": 1,
"width": 1,
"x": 0,
"y": 0
},
"fullPage": true,
"height": 1,
"html": "string",
"omitBackground": true,
"type": "png",
"width": 1
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"ok": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"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": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.relaystation.ai/v1/image/from-html" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.relaystation.ai/v1/image/from-html");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.relaystation.ai/v1/image/from-html")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4597.json, and this resource appears in /discovery/resources and /discovery/search.