塔罗牌
随机输出塔罗牌
接口信息
接口地址
https://api3.mhimg.cn/api/Tarot_Card
返回格式
img
请求方式
GET
请求示例
https://api3.mhimg.cn/api/Tarot_Card
请求参数说明
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
type |
否 | string | 返回格式:json 返回 JSON 对象;不传则 302 跳转到图片 |
返回参数说明
| 名称 | 类型 | 说明 |
|---|---|---|
imgurl |
string | type=json 时返回,塔罗牌图片地址 |
author |
string | type=json 时返回,图片来源标识 |
time |
string | type=json 时返回,数据时间 |
video_url |
string | type=json 时返回,关联视频地址(通常为空) |
Location |
header | 未传 type=json 时,HTTP 302 跳转到图片地址 |
返回示例
{
"imgurl": "https://cdn.example.com/tarot/20261026.jpg",
"author": "狗哥API:api.mhimg.cn",
"time": "2026-10-26 12:00:00",
"video_url": ""
}
说明:未传 type=json 时直接 302 跳转到图片地址。