Screenshot
clawhub2 platformsScreen Capture Very Easy
3.7
Capture, inspect, and compare screenshots of screens, windows, regions, web pages, simulators, and CI runs with the right tool, wait strategy, viewport, and...
1.2K
clawhub install screenshot网站截图:捕捉网页内容生成高质量截图。
# Install Skill npx skills add html2png/skills@website-screenshot # Claude Code will auto-detect and use it after installation
# Same install command — works with all SKILL.md-compatible AI coding tools npx skills add html2png/skills@website-screenshot
html2png.dev.POST https://html2png.dev/api/screenshot
curl -X POST "https://html2png.dev/api/screenshot" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "width": 1280, "fullPage": true}'
url | string | required | Website URL to capture |
| width | int | 1280 | Viewport width |
| height | int | 800 | Viewport height |
| fullPage | bool | false | Capture entire scrollable page |
| format | string | png | png, webp, pdf |
| deviceScaleFactor | float | 2 | Retina scale (1-4) |
| delay | int | 0 | Wait ms before capture |
| omitBackground | bool | false | Transparent bg |
| colorScheme | string | - | light or dark |
| userAgent | string | - | Custom user agent |{
"success": true,
"url": "https://html2png.dev/api/blob/screenshot-abc.png",
"format": "png",
"timestamp": "2025-01-27T10:30:00.000Z"
}
curl -X POST "https://html2png.dev/api/screenshot" \
-H "Content-Type: application/json" \
-d '{"url": "https://github.com"}'
curl -X POST "https://html2png.dev/api/screenshot" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "fullPage": true, "delay": 2000}'
curl -X POST "https://html2png.dev/api/screenshot" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "width": 375, "height": 812, "deviceScaleFactor": 3}'
curl -X POST "https://html2png.dev/api/screenshot" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "format": "pdf", "fullPage": true}'
curl -X POST "https://html2png.dev/api/screenshot" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "colorScheme": "dark"}'
const response = await fetch("https://html2png.dev/api/screenshot", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
url: "https://example.com",
width: 1280,
fullPage: true,
delay: 1000,
}),
});
const data = await response.json();
console.log(data.url);
delay for sites with heavy JavaScript or animationsfullPage captures the entire scrollable contentdeviceScaleFactor=2 or higher for crisp textnpx skills add html2png/skills@website-screenshot && skills run website-screenshot --url https://example.com --width 1280 --height 720 --output ./screenshots/website.pngCapture, inspect, and compare screenshots of screens, windows, regions, web pages, simulators, and CI runs with the right tool, wait strategy, viewport, and...
clawhub install screenshot