DiceBear随机头像

生成随机SVG头像,支持多种风格

GET https://www.pa95.com/API/dicebear_avatar.php
请求方式
GET
返回格式
application/json
调用方式
免费公开
调用次数
5
请求示例
https://www.pa95.com/API/dicebear_avatar.php?style=avataaars&seed=test
请求参数
参数名类型必填说明
seed string 种子字符串,默认随机
style string 风格:pixel-art/avataaars/bottts/identicon/initials/jdenticon/rings/shapes/thumbs,默认pixel-art
返回示例
{ "code": 200, "data": { "url": "https:\/\/api.dicebear.com\/6.x\/avataaars\/svg?seed=test", "style": "avataaars", "seed": "test" } }
在线测试
GET
返回列表