VisualActive
Screenshot API
Capture any URL as a PNG screenshot. Returns image_base64 (base64 PNG — decode to get raw bytes). Full JS rendering via Playwright, works on SPAs and dynamic content. Params: url (required), width px (default 1280), height px (default 800), full_page boolean, wait_ms.
Input Schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "The URL to capture"
},
"width": {
"type": "integer",
"default": 1280,
"description": "Viewport width in pixels"
},
"height": {
"type": "integer",
"default": 800,
"description": "Viewport height in pixels"
},
"full_page": {
"type": "boolean",
"default": false,
"description": "Capture full page height"
},
"wait_ms": {
"type": "integer",
"default": 1000,
"description": "Wait time after page load in ms"
}
}
}
Output Schema
{
"type": "object",
"required": [
"image_base64",
"width",
"height",
"url",
"captured_at"
],
"properties": {
"image_base64": {
"type": "string",
"description": "Base64-encoded PNG image (decode to get raw bytes)"
},
"width": {
"type": "integer",
"description": "Actual image width in pixels"
},
"height": {
"type": "integer",
"description": "Actual image height in pixels"
},
"url": {
"type": "string",
"description": "The URL that was captured"
},
"captured_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of when screenshot was taken"
}
},
"example": {
"image_base64": "iVBORw0KGgoAAAANSUhEUgAABQAAAASwCAYAAACPT...",
"width": 1280,
"height": 800,
"url": "https://example.com",
"captured_at": "2026-04-07T12:00:00.000Z"
}
}