🖼️ Wallpaper Image API

这是一个简单的壁纸图片 API 服务

📚 API 端点

获取所有图片列表

GET /api/images

参数: sort (alphabetical, reverse, random), format (json, image)

示例: /api/images

获取最新图片

GET /api/images/latest

参数: format (json, image)

示例: JSON格式 | 直接跳转图片

获取指定位置图片

GET /api/images/position/{number}

参数: format (json, image)

示例: 第1张(JSON) | 第1张(图片)

获取今日壁纸(缓存24小时)

GET /api/images/today

参数: format (json, image)

示例: JSON格式 | 直接跳转图片

🔄 使用方式

# 获取随机图片
curl -L "https://wallpaper.virola.me/api/images?format=image"

# 获取最新图片信息
curl "https://wallpaper.virola.me/api/images/latest"

# 获取所有图片列表
curl "https://wallpaper.virola.me/api/images?sort=random"

# 获取今日壁纸
curl -L "https://wallpaper.virola.me/api/today?format=image"