在此收集一些不需要Token认证的API。
推荐的API
在此推荐一些比较好用的 API ,皆为从网上收集,其中的 {url} 部分替换成你自己的网址,{height} 为高度,{width} 为宽度。顺便我会放上预览图,实时检测该API是否失效。
- 自动生成缩略图的API - WordPress
https://s0.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s1.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s2.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s3.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s4.wp.com/mshots/v1/{url}?w={width}&h={height}
https://s5.wp.com/mshots/v1/{url}?w={width}&h={height}
- 图片加速接口API
- WordPress
https://i0.wp.com/{url}
https://i1.wp.com/{url}
https://i2.wp.com/{url}
https://i3.wp.com/{url}
其中url部分是不带协议头的,即http://、https://
- 百度加速
https://image.baidu.com/search/down?url={url}
url填完整url,注意该url需要是直链,重定向链接会失效。
- CDNjson
(旧)https://cdn.cdnjson.com/{url}
(新)https://cdn.cdnjson.com/pic.html?url={url}
其中url部分是不带协议头的,即https://
注意该url需要是直链,重定向链接会失效。
- Favicon图片获取接口API
- Favicon.im
<img src="https://favicon.im/hey.com" alt="hey.com favicon" /> // 小尺寸
<img src="https://favicon.im/hey.com?larger=true" alt="hey.com favicon (large)" /> // 大尺寸
评论区
欢迎留下你的想法和建议