收集的一些線上美圖 API ,可以用做網站随機背景圖檔之類的。
說明
本文隻收集 API,如果 API 内有澀圖什麼的,與我無關。畢竟是随機的,我無法驗證全部圖檔。(如果有的話你們肯定會更興奮…)
使用方法
一般直接放在
<img src="">
的 src 屬性裡即可。比如:
<img src="http://api.nmb.show/xiaojiejie1.php">
或者
Markdown
裡:
![随機圖檔](http://api.nmb.show/xiaojiejie1.php)
有的 API 需要傳入參數,如果參數固定圖檔也固定,此時使用随機數作為參數即可。
使用效果如下:記得重新整理頁面檢視效果
API(詳細使用教程看連結後的官網)
二次元
人物
- https://cdn.seovx.com/d/【官網】【女性】
- https://api.nmb.show/1985acg.php【女性】
- https://tuapi.eees.cc/dongman.php【官網】【男女】【橫圖】
- https://api88.net/api/img/rand/【官網】【女性】【小清新】
- http://www.dmoe.cc/random.php【官網】【女性】
- http://api.mtyqx.cn/api/random.php【女性】【橫圖】
- http://api.btstu.cn/sjbz/?lx=dongman【女性】【橫圖】
- https://api.dongmanxingkong.com/suijitupian/acg/1080p/index.php?return=json【官網】【JSON】【女性】【橫圖】
- https://img.xjh.me/random_img.php【女性】【橫豎】【慢】
- https://acg.yanwz.cn/api.php【官網】【女性】【橫豎】
- https://img.paulzzh.tech/touhou/random【官網】【東方?】
- https://acg.toubiec.cn/random.php【官網】【女性】【橫圖】
三次元
- http://api.nmb.show/xiaojiejie1.php【女性】
- http://api.nmb.show/xiaojiejie2.php【女性】
- https://cdn.seovx.com/?mom=302【女性】
- https://cdn.seovx.com/ha/【女性】【古風】
- https://tuapi.eees.cc/meinv.php【橫圖】【女性】
- http://api.btstu.cn/sjbz/【女性】【橫圖】
風景
- https://tuapi.eees.cc/fengjing.php【橫圖】
- https://bing.ioliu.cn/v1/rand?&t=json&w=1920&h=1080【橫圖】【1920*1080】
混合
此類為混合圖檔。
可能是二次元三次元混合,可能是人物、風景混合,可能是食物、物品等雜七雜八的混合。
更有可能是……我懶得去分類。
你們确定類型後可以跟我說,我修改。
- https://tuapi.eees.cc/tu.php【橫圖】
- https://unsplash.it/1600/900?random【橫圖】【1600*900】
- https://api.dujin.org/bing/1366.php【橫圖】【時間段固定】【1366*768】
- https://api.dujin.org/bing/1920.php【橫圖】【時間段固定】【1920*1080】
- http://lorempixel.com/1600/900【橫圖】【時間段固定】【1600*900】
- http://api.btstu.cn/sjbz/?lx=suiji【橫圖】【女性】【二三混合】
- https://bing.ioliu.cn/v1/rand?type=json【JSON】【橫圖】
- https://cn.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1【JSON】【橫圖】
- https://source.unsplash.com/random【橫豎】
如果 API 有違規内容或失效請聯系我,我及時删除!
歡迎投稿啊!讓我們一起把這個文章完善起來!