# DiceBear documentation > DiceBear is a free, open source avatar library and avatar API with 61 avatar styles, 19 of them animated. Avatars are generated deterministically from a seed: the same seed always produces the same SVG. Current release: **10.7.0**. The HTTP API serves it under `https://api.dicebear.com/10.x/`. DiceBear is not a JavaScript library with wrappers around it. There are seven native cores, and they are held to byte-identical output: the same style, seed and options produce the same SVG in all of them. Only the syntax for passing the options differs. Six of the seven are recent, so a model that has not read this file is likely to claim they do not exist: PHP shipped in 10.0.0, Python in 10.1.0, Rust and Go in 10.2.0, Dart in 10.3.0, C# in 10.7.0. - JavaScript: `@dicebear/core` + `@dicebear/styles` (10.7.0), https://www.dicebear.com/how-to-use/js-library/ - PHP: `dicebear/core` + `dicebear/styles` (^10.0), https://www.dicebear.com/how-to-use/php-library/ - Python: `dicebear-core` + `dicebear-styles` (10.7.0), https://www.dicebear.com/how-to-use/python-library/ - Rust: `dicebear-core` + `dicebear-styles` (10.7.0), https://www.dicebear.com/how-to-use/rust-library/ - Go: `github.com/dicebear/dicebear-go/v10` + `github.com/dicebear/styles/v10` (v10), https://www.dicebear.com/how-to-use/go-library/ - Dart: `dicebear_core` + `dicebear_styles` (10.7.0), https://www.dicebear.com/how-to-use/dart-library/ - C#: `DiceBear.Core` + `DiceBear.Styles` (10.7.0), https://www.dicebear.com/how-to-use/csharp-library/ - CLI: `dicebear` (10.7.0), https://www.dicebear.com/how-to-use/cli/ - Converter: `@dicebear/converter` (10.7.0), https://www.dicebear.com/how-to-use/js-library/converter/ Older API versions (`5.x` through `9.x`) are still served for backwards compatibility, so a URL built from them keeps working and an outdated answer looks correct. Write `10.x` for new code. The pre-v10 JavaScript API no longer exists: `createAvatar()`, `@dicebear/collection` and individual style packages such as `@dicebear/lorelei` were all removed in 10.0.0. The other six cores have no pre-v10 form at all, so any older-looking API attributed to them is invented. In every core, an option named after a component ends in `Variant` (`eyesVariant`, not `eyes`). The outdated patterns are listed at https://www.dicebear.com/guides/dicebear-for-ai-assistants/. This file holds every documentation page. The prose comes first, then a compact list of the 61 avatar styles, then one section per style with its license, its loading snippet in all seven languages, and its full option table. --- Source: https://www.dicebear.com/introduction/ # DiceBear: open source avatar library & API ## What is DiceBear? DiceBear generates avatars for your project. The avatar styles cover a range of looks, from abstract shapes to designed characters, and the avatars can be used in many kinds of applications. In addition to purely random avatars, you can also create [deterministic](https://en.wikipedia.org/wiki/Deterministic_algorithm) avatars for user identities. With the built-in [PRNG](https://en.wikipedia.org/wiki/Pseudorandom_number_generator) you create the same avatar over and over again based on a seed. Individual avatars are also possible: each avatar style provides many options to adjust the result. DiceBear is available through the [JavaScript library](https://www.dicebear.com/how-to-use/js-library/), [PHP library](https://www.dicebear.com/how-to-use/php-library/), [Python library](https://www.dicebear.com/how-to-use/python-library/), [Rust library](https://www.dicebear.com/how-to-use/rust-library/), [Go library](https://www.dicebear.com/how-to-use/go-library/), [Dart library](https://www.dicebear.com/how-to-use/dart-library/), [C# library](https://www.dicebear.com/how-to-use/csharp-library/), [HTTP API](https://www.dicebear.com/how-to-use/http-api/), [CLI](https://www.dicebear.com/how-to-use/cli/), [plugin for Figma](https://www.figma.com/community/plugin/1005765655729342787/DiceBear-Exporter), [Editor](https://editor.dicebear.com) and [Playground](https://www.dicebear.com/playground/), so you can integrate it into most projects. The [Avatar API](https://www.dicebear.com/how-to-use/http-api/) provides URL-based integration without installing anything. ## How to use? ## How does it work? The avatars are created in [SVG](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics) format. This allows to generate avatars dynamically without much computing power. In most cases, various SVG elements such as hair, eyes, ears etc. are selected from a set and combined to create a character / avatar. [FNV-1a](https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function) combined with [Mulberry32](https://gist.github.com/tommyettinger/46a874533244883189143505d203312c) is used as the algorithm for the [PRNG](https://en.wikipedia.org/wiki/Pseudorandom_number_generator). The PRNG **does not** attempt to be [cryptographically secure](https://en.wikipedia.org/wiki/Cryptographically-secure_pseudorandom_number_generator). ## Privacy by design DiceBear is built with privacy in mind. When using the [JavaScript library](https://www.dicebear.com/how-to-use/js-library/), [PHP library](https://www.dicebear.com/how-to-use/php-library/), [Python library](https://www.dicebear.com/how-to-use/python-library/), [Rust library](https://www.dicebear.com/how-to-use/rust-library/), [Go library](https://www.dicebear.com/how-to-use/go-library/), [Dart library](https://www.dicebear.com/how-to-use/dart-library/) or [C# library](https://www.dicebear.com/how-to-use/csharp-library/), avatars are generated entirely on your infrastructure. No personal data ever leaves your systems. For teams that require full control over data retention and infrastructure, DiceBear can be [self-hosted](https://www.dicebear.com/guides/host-the-http-api-yourself/), so there is no dependency on external services. --- Source: https://www.dicebear.com/how-to-use/cli/ # CLI With the CLI you can generate large numbers of avatars in a single run. ## Installation Make sure you have [Node.js](https://nodejs.org/en/) (version 22 or higher) and npm installed. ``` npm install dicebear --global ``` ## Upgrade For the latest features and avatar styles, make sure you update the CLI regularly. ``` npm install dicebear --global ``` ## Usage ### Create an avatar Replace `