logo

精选头像API接口

首页 / 随机输出一张精选头像图片

请求方式:

GET

请求地址:

https://api.vvhan.com/api/avatar/rand

请求示例:

https://api.vvhan.com/api/avatar/rand 图片输出

https://api.vvhan.com/api/avatar/rand?type=json JSON输出

返回格式:

JSON

请求参数:

type
JSON输出:json

返回参数:

type
JSON输出:json

返回示例:

{"success":true,"type":"精选头像","url":"https://bucket.4ce.cn/storage/v1/aa4792d2153678355c34198502e81aa2.webp"}