图片接口整理
声明:本文是二次整理,来源是庭户皓己盈
樱花
网址:https://www.dmoe.cc/
API:https://www.dmoe.cc/random.php
可选参数:type=json
JSON调用格式:https://www.dmoe.cc/random.php?return=json
返回类型:
{
"code":"200" #图片状态码
"acgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkfy08umj31kw0w0nng.jpg" #图片地址
"width":"2048" #图片宽
"height":"1152" #图片高
}
博天
网址:https://api.btstu.cn/doc/sjbz.php
API:https://api.btstu.cn/sjbz/api.php
请求参数:{
"method":输出壁纸端[mobile|pc|zsy]默认为pc,
"lx": 选择输出分类[meizi|dongman|fengjing|suiji],为空随机输出,
"format": 输出壁纸格式[json|images]默认为images
}
返回类型:{
"code":"200",
"imgurl":"https:\/\/tva4.sinaimg.cn\/large\/9bd9b167gy1g2qkr95hylj21hc0u01kx.jpg",
"width":"1920",
"height":"1080"
}
樱道
网址:https://img.r10086.com/
API:https://api.r10086.com/樱道随机图片api接口.php?自适应图片系列=原神
请求参数:参数=json可选
返回类型:{
"error": 0,
"result": 200,
"img": "\/\/api.r10086.com\/..\/图包webp\/原神横屏系列1\/wallhaven-1k2ldw.webp"
}
保罗
网址:https://api.paugram.com/help/wallpaper
API:https://api.paugram.com/wallpaper/
EEE.DOG
网址:https://www.eee.dog/tech/rand-pic-api.html
API: https://api.yimian.xyz/img
岁月小筑
网址:https://img.xjh.me/
API:https://img.xjh.me/random_img.php?return=302 直接返回图片
请求参数: return=json