随机图片API——维尔汀
极速版文档
适用于桌面端:https://pic.thirhythm.top/random?dir=Vertin&type=img&orientation=landscape
适用于移动端:https://pic.thirhythm.top/random?dir=Vertin&type=img&orientation=portrait
自动判断:https://pic.thirhythm.top/random?dir=Vertin&type=img&orientation=auto
基本信息
使用 CloudFlare ImgBed 搭建的维尔汀随机图片 API
端点:https://pic.thirhythm.top/random?dir=Vertin&type=img
方法:GET
请求参数
| 参数名 | 类型 | 必需 | 默认值 | 说明 |
|---|---|---|---|---|
orientation |
string | 否 | - | 图片方向筛选,可选值:landscape(横图)、portrait(竖图)、square(方图)、auto(自适应设备方向) |
示例
获取横图
1 | |
使用场景
网站随机背景
1 | |
手机壁纸 API
1 | |
VSCode编辑器背景
在VSCode扩展商店搜索安装 background
进入扩展设置,在 Background: Fullscreen 栏点击 在setting.json中编辑
在配置文件中填入如下内容
1 | |
随机图片API——维尔汀
https://www.thirhythm.top/1783057814/