admin 发表于 2025-5-17 18:22:49

十五个免费随机图片api接口网站[超详细](不定时更新)

接口网站整合
[*]api接口整合
[*]api网站整合
[*]

[*]樱花
[*]晓晴博客
[*]Unsplash Source | API Documentation
[*]夏沫博客
[*]二次元随机图
[*]搏天api
[*]姬长信API For Docker
[*]樱道
[*]小歪API
[*]保罗|API
[*]墨天逸
[*]EEE.DOG
[*]动漫星空
[*]岁月小筑
[*]东方Project



api接口整合樱花:https://www.dmoe.cc/random.php
晓晴博客:https://acg.toubiec.cn/random.php
Unsplash Source | API Documentation:详情请看官网介绍
夏沫博客:https://cdn.seovx.com/?mom=302
https://cdn.seovx.com/d/?mom=302
https://cdn.seovx.com/ha/?mom=302
二次元随机图:https://api.blogbig.cn/random/api.php
搏天api:https://api.btstu.cn/sjbz/api.php
姬长信API For Docker:
----每日bing:https://api.isoyu.com/bing_images.php
----美女图片壁纸:https://api.isoyu.com/mm_images.php
----网红专栏壁纸:https://api.isoyu.com/beibei_images.php
----动态IP签名图片:https://api.isoyu.com/ip_images.php?signature=早安
----ARU(阿鲁)表情包:https://api.isoyu.com/ARU_GIF_S.php
樱道:https://api.r10086.com/动漫综合1.php (网站中有更多api接口)
小歪API:https://api.ixiaowai.cn/api/api.php(二次元动漫)
https://api.ixiaowai.cn/mcapi/mcapi.php(mc酱动漫)
https://api.ixiaowai.cn/gqapi/gqapi.php(高清壁纸)
保罗|API:https://api.paugram.com/wallpaper/
墨天逸:https://api.mtyqx.cn/tapi/random.php
EEE.DOG:https://api.yimian.xyz/img
动漫星空:https://api.dongmanxingkong.com/suijitupian/acg/1080p/index.php
岁月小筑:#https调用https://img.xjh.me/random_img.php
#http调用http://img.xjh.me/random_img.php
东方Project:https://img.paulzzh.tech/touhou/randomapi网站整合樱花网址:https://www.dmoe.cc/
[*]随机二次元图片API

[*]API基本调用格式:https://www.dmoe.cc/random.php

[*]1
[*]参数:type=json

[*]1
[*]JSON调用格式https://www.dmoe.cc/random.php?return=json

[*]1
[*]JSON数据{      "code":"200" #图片状态码      "acgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkfy08umj31kw0w0nng.jpg" #图片地址      "width":"2048" #图片宽      "height":"1152" #图片高}

[*]1
[*]2
[*]3
[*]4
[*]5
[*]6

晓晴博客网址:https://www.toubiec.cn/318.html
[*]随机二次元图片接口

源码项目地址:https://www.toubiec.cn/99.html
Unsplash Source | API Documentation网址:https://source.unsplash.com/
[*]简单的嵌入Unsplash图片,可以登录Unsplash账号设置,也可以自定义筛选接口的图片类型

[*]随机搜索术语
使用上述任何格式,您可以通过在 URL 末尾提供逗号分离的搜索词列表来进一步缩小随机照片的选择范围。如果您想将结果限制在我们精心策划的收藏中,只需在 URL 末尾添加即可。featured
[*]参数https://source.unsplash.com/featured/?{KEYWORD},{KEYWORD}

[*]1
*可选地指定大小,将其放置在基座URL之后。[*]例https://source.unsplash.com/1600x900/?nature,water

[*]1

夏沫博客网址:https://cdn.seovx.com/
[*]在线古风美图二次元API接口

[*]美图接口代码示例:<img src="https://cdn.seovx.com/?mom=302" style="max-width: 100%; max-height: 100%;">

[*]1
[*]二次元接口代码示例:<img src="https://cdn.seovx.com/d/?mom=302" style="max-width: 100%; max-height: 100%;">

[*]1
[*]古风接口代码示例:<img src="https://cdn.seovx.com/ha/?mom=302" style="max-width: 100%; max-height: 100%;">

[*]1

二次元随机图网址:https://api.blogbig.cn/random
[*]该api已停运,原接口保持但不维护

[*]二次元随机图API请求方式Method: GET

[*]1
[*]请求地址./dmapi/api.php二次元./bsapi/api.php风景

[*]1
[*]2
[*]参数return // return=json返回jsonreturn // return=img直接输出图片

[*]1
[*]2
[*]返回数据{    "code":"200" #图片状态码    "acgurl":"图片地址" #图片地址    "width":"2048" #图片宽    "height":"1152" #图片高}

[*]1
[*]2
[*]3
[*]4
[*]5
[*]6

搏天api网址:https://api.btstu.cn/doc/sjbz.php
[*]随机输出各类壁纸

[*]请求方式:get
[*]请求地址:https://api.btstu.cn/sjbz/api.php
[*]返回格式:json/images
[*]请求示例:https://api.btstu.cn/sjbz/api.php?lx=dongman&format=images
请求参数:
名称必填类型说明
method否string输出壁纸端默认为pc
lx否string选择输出分类,为空随机输出
format否string输出壁纸格式默认为images

返回参数:
名称类型说明
codestring返回的状态码
imgurlstring返回图片地址
widthstring返回图片宽度
heightstring返回图片高度

返回示例:{"code":"200","imgurl":"https:\/\/tva4.sinaimg.cn\/large\/9bd9b167gy1g2qkr95hylj21hc0u01kx.jpg","width":"1920","height":"1080"}
[*]1
姬长信API For Docker网址:https://api.isoyu.com/
[*]姬长信API For Docker 一个基于多种编程语言开源免费不限制提供生活常用,出行服务,开发工具,金融服务,通讯服务和公益大数据的平台.


樱道网址:https://img.r10086.com/
[*]の随机图片API接口ฅ•ﻌ•ฅ

小歪API网址:https://api.ixiaowai.cn/
[*]图片API,文字API,二维码API,随心所动不再单调

[*]图片API基本调用格式:https://api.ixiaowai.cn/api/api.php(二次元动漫)https://api.ixiaowai.cn/mcapi/mcapi.php(mc酱动漫)https://api.ixiaowai.cn/gqapi/gqapi.php(高清壁纸)

[*]1
[*]2
[*]3
[*]JSON调用格式图片列:https://api.ixiaowai.cn/api/api.php?return=json文字列:https://api.ixiaowai.cn/ylapi/index.php/?code=js

[*]1
[*]2
[*]JSON数据{    "code":"200" #图片状态码    "acgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkjcneg1j31kw0w0hbs.jpg" #图片地址    "width":"2048" #图片宽    "height":"1152" #图片高}

[*]1
[*]2
[*]3
[*]4
[*]5
[*]6
[*]文字API基本调用格式:https://api.ixiaowai.cn/ylapi/index.php(一言语录)https://api.ixiaowai.cn/tgrj/index.php(舔狗日记)

[*]1
[*]2
[*]二维码API基本调用格式:https://api.ixiaowai.cn/ewm(网址转二维码)

[*]1

保罗|API网址:https://api.paugram.com/help/wallpaper
[*]生成适合 Single 主题的白底动漫壁纸

[*]使用方法:
调用地址 https://api.paugram.com/wallpaper/ 可自动跳转到对应的壁纸
[*]参数:
参数可选值描述
sourcesm cp sina paul图片源,如留空则默认采用 sm.ms 源
category(施工中)us jp cn图片分类,可按不同国家和类别选择

[*]图片源:
参数名称状态图片源描述
sm可用sm.ms 图床,国外速度较快,部分浏览器会阻止访问
cp不可用Coding Pages 服务托管,服务器位于香港,部分移动网络无法访问
gt可用Gitee Pages 服务托管,服务器位于国内,速度稳定
sina可用新浪微博相册,国内速度较快,已更换新地址
gh可用存放在 GitHub 上的图片资源,基于 JSDelivr 托管,速度非常理想

[*]图片分类(施工中):
参数名称状态分类描述
1不可用白底动漫插图
2不可用透明底动漫插图
3不可用随机底动漫壁纸

[*]示例:

[*]使用 sm.ms 图片源https://api.paugram.com/wallpaper/?source=sm

[*]1
[*]使用新浪图片源,并选择美漫图片分类https://api.paugram.com/wallpaper/?source=sina&category=us

[*]1
[*]在网页背景上使用本 APIbody{    background: url("https://api.paugram.com/wallpaper/") center/cover no-repeat;}

[*]1
[*]2
[*]3
[*]在网页背景上使用本 API(伪元素半透明版)body:before{    top: 0;    left: 0;    right: 0;    bottom: 0;    opacity: .3;    z-index: -1;    content: "";    position: fixed;    background: url(https://api.paugram.com/wallpaper/) center/cover;}

[*]1
[*]2
[*]3
[*]4
[*]5
[*]6
[*]7
[*]8
[*]9
[*]10
[*]11


墨天逸网址:https://api.mtyqx.cn/
[*]随机图片API

[*]API基本调用格式:https://api.mtyqx.cn/api/random.php(二次元动漫)丨https://api.mtyqx.cn/tapi/random.php(二次元动漫)

[*]1
[*]参数:type=json

[*]1
[*]JSON调用格式例:https://api.mtyqx.cn/api/random.php?return=json 丨https://api.mtyqx.cn/tapi/random.php?return=json

[*]1
[*]JSON数据{      "code":"200" #图片状态码    "acgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkjcneg1j31kw0w0hbs.jpg" #图片地址    "width":"2048" #图片宽    "height":"1152" #图片高}

[*]1
[*]2
[*]3
[*]4
[*]5
[*]6

EEE.DOG网址:https://www.eee.dog/tech/rand-pic-api.html
[*]本API基于华为云对象存储,使用华为CDN云加速,全球平均下载速度达10MB/s。API中已收录1100+张二次元图片,20+张Bing壁纸(每日自动抓取),150+张二次元头像,10+张图床上传图片。

1.API地址
[*]https://api.yimian.xyz/img
2.快速入门
随机二次元图片
[*]GET/POST /img?type=moe
[*]示例:https://api.yimian.xyz/img?type=moe
随机Bing壁纸
[*]GET/POST /img?type=wallpaper
[*]示例:https://api.yimian.xyz/img?type=wallpaper
随机二次元头像
[*]GET/POST /img?type=head
[*]示例:https://api.yimian.xyz/img?type=head
随机图床图片
[*]GET/POST /img?type=imgbed
[*]示例:https://api.yimian.xyz/img?type=imgbed
随机1920x1080尺寸二次元图片
[*]GET/POST /img?type=moe&size=1920x1080
[*]示例:https://api.yimian.xyz/img?type=moe&size=1920x1080
动漫星空网址:https://api.dongmanxingkong.com/


[*]HTML调用格式1080P: https://api.dongmanxingkong.com/suijitupian/acg/1080p/index.php2K: https://api.dongmanxingkong.com/suijitupian/acg/2k/index.php4K: https://api.dongmanxingkong.com/suijitupian/acg/4k/index.php参数: type=json

[*]1
[*]2
[*]3
[*]4
[*]JSON调用格式1080P: https://api.dongmanxingkong.com/ ... x.php?return=json2K: https://api.dongmanxingkong.com/ ... x.php?return=json4K: https://api.dongmanxingkong.com/ ... dex.php?return=json

[*]1
[*]2
[*]3
[*]JSON数据"code":"200" #图片状态码"imgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkfy08umj31kw0w0nng.jpg" #图片地址"width":"2048" #图片宽"height":"1080" #图片高

[*]1
[*]2
[*]3
[*]4

岁月小筑网址:https://img.xjh.me/
[*]随机图片API

东方Project网址:https://img.paulzzh.tech/
[*]随机图片API

[*]





admin 发表于 2025-5-17 18:29:50

背景图片随机API

在美化博客园的时候,遇到了一个问题:博客背景图片只支持一张图片,看到有道友说可以用API随机图片。于是就有了这篇文章。本文主要整理了一些随机图片API,希望对你有帮助。
[*]岁月小筑 https://img.xjh.me
[*]保罗API https://api.paugram.com/help/wallpaper
[*]墨天逸 http://api.mtyqx.cn
[*]Unsplash https://source.unsplash.com/
[*]小歪API https://api.ixiaowai.cn
[*]樱花API http://www.dmoe.cc/
[*]EEEDOG https://www.eee.dog/tech/rand-pic-api.html
[*]东方Project https://img.paulzzh.tech/
[*]动漫星空 https://api.dongmanxingkong.com/suijitupian.html
[*]随机生成图片大全:https://www.fang1688.cn/study-code/103.html
[*]随机美图API:https://cdn.seovx.com/
[*]二次元:http://www.dmoe.cc/random.php
[*]二次元:https://api.mz-moe.cn/img.php

分享是一种快乐,开心是一种态度!

本文作者:贾维斯Echo本文链接:https://www.cnblogs.com/taoxiaoxin/p/14532459.html版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

页: [1]
查看完整版本: 十五个免费随机图片api接口网站[超详细](不定时更新)