返回 | 接口 / 图片壁纸 / 镜像图片
GET 图片壁纸

镜像图片

对图片进行镜像

累计调用 9 今日调用 0

更新于 2026-10-16

调用地址

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

请求参数

参数名类型必填说明示例
url string 可选 图片链接,可以直接post图片表单 暂无
base64 string 可选 图片的base64编码,只能是post 暂无
right default 可选 是否以图片右边为镜像源,不为空则为是,默认否 暂无

响应示例

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

在线测试

代码示例

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

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