高性能架构
全球边缘计算,website screenshot generator 响应速度快,稳定可靠
免费 Website Screenshot Generator
强大的 website screenshot API,让你轻松 capture screenshot online。支持任意网站,实时生成高清截图。
GET /api/screenshot
| 参数 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
url |
string | 是 | - | 要截图的网站 URL |
format |
string | 否 | webp | 图片格式 (webp, png) |
width |
number | 否 | 1920 | 视窗宽度 (100-3840) |
height |
number | 否 | 1080 | 视窗高度 (100-2160) |
GET /api/screenshot?url=https://example.com
GET /api/screenshot?url=https://example.com&format=png&width=1920&height=1080
// 使用 API 捕获网站截图
const response = await fetch(
'https://screenshotsnap.com/api/screenshot?url=https://example.com&format=webp'
);
const imageBlob = await response.blob();
// 显示网站截图
const img = document.createElement('img');
img.src = URL.createObjectURL(imageBlob);
document.body.appendChild(img);
全球边缘计算,website screenshot generator 响应速度快,稳定可靠
R2 存储桶缓存,支持 7 天缓存,大幅提升 screenshot API 访问速度
支持 WebP 和 PNG 格式,灵活满足各种 website screenshot 需求
支持自定义视窗宽度和高度,capture screenshot online 更灵活
本截图 API 服务由 ScreenshotSnap 提供支持。如果您在项目中使用了 ScreenshotSnap,请添加归属链接至 https://screenshotsnap.com/
帮助我们用您的建议改进 website screenshot generator。