返回首页

随机头像

随机输出各类头像

2903 飞飞免费API接口
接口地址
https://ffapi.cn/int/v1/randportrait
返回格式
json
请求方式
get
请求示例
https://ffapi.cn/int/v1/randportrait

参数说明

名称 必填 类型 说明
formatstring输出壁纸格式(json、url)默认为json
typestring头像站点(1=360、2=网易、3=疼讯、4=个性)

返回数据

{
    "code": 1,
    "msg": "获取成功",
    "imgurl": "https://p.qpic.cn/music_cover/PiajxSqBRaEI2tGl99p8c0nicTfMD8vckt5FcKlGcXTFE/90"
}

示例代码

<img src="https://ffapi.cn/int/v1/randportrait?format=url">