返回 | 接口 / 图片壁纸 / 咪蛤油
GET 图片壁纸

咪蛤油

把图片加上mihoyo的logo,支持45帧以下的动图,对图片链接速度有要求,需5秒内响应结束,否则视为非法图链

累计调用 9 今日调用 0

更新于 2026-10-16

调用地址

GET
https://itapi.top/api/Mihoyo

请求参数

参数名类型必填说明示例
url string 必填 图片链接 暂无
round int 可选 圆角度数,默认50 暂无
cache string 可选 此参数存在,且不为空则会立即刷新缓存 暂无

响应示例

200 OK
(该接口直接返回二进制图片,Content-Type: image/PNG; charset=utf-8。用 <img src="https://itapi.top/api/Mihoyo?url=https%3A%2F%2Fitapi.top%2Fog.png"> 直接展示即可;示例不粘贴二进制内容)

在线测试

代码示例

cURL · GET
curl "https://itapi.top/api/Mihoyo?url=%E6%9A%82%E6%97%A0&round=%E6%9A%82%E6%97%A0&cache=%E6%9A%82%E6%97%A0"
PHP
<?php
$res  = file_get_contents("https://itapi.top/api/Mihoyo?url=%E6%9A%82%E6%97%A0&round=%E6%9A%82%E6%97%A0&cache=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res  = await fetch("https://itapi.top/api/Mihoyo?url=%E6%9A%82%E6%97%A0&round=%E6%9A%82%E6%97%A0&cache=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests

r = requests.get("https://itapi.top/api/Mihoyo?url=%E6%9A%82%E6%97%A0&round=%E6%9A%82%E6%97%A0&cache=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())
返回接口列表