POST /api/extract-url
从网页中提取图片 URL。
POST /api/extract-url
Content-Type: application/json
{
"url": "https://example.com",
"options": {
"cssBackgrounds": true,
"svgs": true
}
} 用于网页和 favicon 提取的服务端接口。
所有 API 端点限制为每个 IP 每分钟 60 次请求。
从网页中提取图片 URL。
POST /api/extract-url
Content-Type: application/json
{
"url": "https://example.com",
"options": {
"cssBackgrounds": true,
"svgs": true
}
} 发现域名的 favicon URL。
POST /api/extract-favicon
Content-Type: application/json
{ "url": "https://example.com" } 通过服务器代理下载图片(需要同源 referer)。
GET /api/proxy-image?url=https%3A%2F%2Fexample.com%2Fimage.png