dicebear-cli
is a CLI for https://pypi.org/project/dicebear.
Using this CLI you can get avatars for your program (to get customised avatars use the wrapper instead).
For an example go to examples/dicebear.sh
.
- Dicebear API wrapper: https://pypi.org/project/dicebear/
- Dicebear pip CLI: https://pypi.org/project/dicebear-cli/
- Dicebear API wrapper GitHub: https://github.com/jvherck/dicebear
- Dicebear: https://dicebear.com
Run pip install dicebear-cli
If that doesn't work try py -m pip install dicebear-cli
It can quickly create one or more avatars at a time but it can't take options.
dicebear --help
dicebear create --help
dicebear create avataaars -s "John Apple" -f svg
All the possible avatar styles.
https://dicebear.com/styles
adventurer
adventurer-neutral
avataaars
avataaars-neutral
big-ears
big-ears-neutral
big-smile
bottts
bottts-neutral
croodles
croodles-neutral
fun-emoji
icons
identicon
initials
lorelei
lorelei-neutral
micah
miniavs
open-peeps
personas
pixel-art
pixel-art-neutral
These are the only supported formats.
If you have Pillow (PIL) installed you can convert DAvatar
to a PIL.Image.Image
object to get a
wider range of formats (Pillow doesn't support svg).
DFormat.svg
(default)DFormat.png
DFormat.jpg
DFormat.json
Special thanks to DiceBear (Florian Körner) for making this amazing API and to all artists that helped making avatars!
- Dicebear Licenses: https://dicebear.com/licenses
- Dicebear Privacy Policy: https://dicebear.com/legal/privacy-policy
- Dicebear Python API wrapper (this project): https://github.com/jvherck/dicebear-cli/blob/main/LICENSE