项目
在 GitHub 查看 


mhshariatipour1378/Avatars-Placeholder
关于
使用这项免费 API 服务,根据用户名、性别和职业获取并下载随机头像,适用于项目和原型中的用户头像。
设计与媒体实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Avatar Placeholder
Generate random user profile pictures to use as placeholders for your prototypes and design projects. To use the avatars in your project, use the following URLs:
1) Random avatar
https://avatarapi.runflare.run/public
2) Random boy avatar
https://avatarapi.runflare.run/public/boy
3) Random girl avatar
https://avatarapi.runflare.run/public/girl
4) Unique avatar by id
Where [ID] is an integer between 0 and 100.
https://avatarapi.runflare.run/public/[ID]
example: ID=60
5) Avatar based on username
genral
https://avatarapi.runflare.run/public?usearname=[value]
example: usearname=Jordan
boy
https://avatarapi.runflare.run/public/boy?usearname=[value]
example: usearname=Scott
girl
https://avatarapi.runflare.run/public/girl?username=[value]
example: username=Angela
Avatars With Initials From Names
Avatars initials, also known as profile pictures with initials, are typically the first letters of a user's name displayed within an avatar icon the ability to change the background color, text color, size, etc
| Param | Type | Default | Description |
|---|---|---|---|
| username | String (firstname + lastname) | Random * | The name used to generate initials |
| background | String (Hex Color Codes) | Random * | Background color Avatar. for example, "eeeeee". |
| color | String (Hex Color Codes) | Random * | Font color Avatar. for example, "aaaeee". |
| bold | Boolean | true | Font weight bold or not. |
| uppercase | Boolean | true | Text in Avatar image uppercase or not. |
| size | Number (Between 32 and 1024) | 256 | Avatar image size in pixels. |
| format | String (png or jpg) | png | Avatar image foramt. |
| length | Number (1 or 2) | 2 | Length of the generated initials. |
https://avatarapi.runflare.run/username?username=[firstname+lastname]&background=[Hex Color Codes]
example: username=James+Taylor&background=f4d9b2&color=FF9800
Recommended for development environments, prototypes, and non-critical applications❕
Built by developers, for developers 👨💻❤️
探索相关项目
加载中…