> For the complete documentation index, see [llms.txt](https://sh20raj.gitbook.io/whollyapi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sh20raj.gitbook.io/whollyapi/data/random-avatar.md).

# Random Avatar

## APIs for Generating Random User Avatars

### DiceBear Avatars

[DiceBear](https://avatars.dicebear.com/) offers avatars based on hash values. These avatars are served as SVGs, providing a wide range of customization options. Here are a few examples:

* `api.dicebear.com/7.x/pixel-art/svg`
* `api.dicebear.com/7.x/bottts/png`
* `api.dicebear.com/7.x/lorelei/svg`

![Generated avatar for https://api.dicebear.com/7.x/pixel-art/svg](https://api.dicebear.com/7.x/pixel-art/svg)`api.dicebear.com/7.x/pixel-art/svg`

![Generated avatar for https://api.dicebear.com/7.x/bottts/png](https://api.dicebear.com/7.x/bottts/png)`api.dicebear.com/7.x/bottts/png`

![Generated avatar for https://api.dicebear.com/7.x/lorelei/svg](https://api.dicebear.com/7.x/lorelei/svg)`api.dicebear.com/7.x/lorelei/svg`

<br>

### RoboHash

[RoboHash](https://robohash.org/) provides hash-dependent avatars in a Futurama style, although they are served as PNGs. You can generate avatars with URLs like these:

RoboHash Avatars

* ![Generated avatar for https://robohash.org/stefan-one](https://robohash.org/stefan-one)`robohash.org/stefan-one`
* ![Generated avatar for https://robohash.org/stefan-two](https://robohash.org/stefan-two)`robohash.org/stefan-two`
* ![Generated avatar for https://robohash.org/stefan-three](https://robohash.org/stefan-three)`robohash.org/stefan-three`

### Random Users

[Random Users](https://xsgames.co/randomusers/) offers realistic user avatars that are useful for creating realistic mocks and wireframes. Here are some examples:

* [Male Avatar](https://xsgames.co/randomusers/avatar.php?g=male)
* [Female Avatar](https://xsgames.co/randomusers/avatar.php?g=female)
* [Pixel Avatar](https://xsgames.co/randomusers/avatar.php?g=pixel)

Random Users Images

* ![Generated avatar for https://xsgames.co/randomusers/avatar.php?g=male](https://xsgames.co/randomusers/avatar.php?g=male)`xsgames.co/randomusers/avatar.php?g=male`
* ![Generated avatar for https://xsgames.co/randomusers/avatar.php?g=female](https://xsgames.co/randomusers/avatar.php?g=female)`xsgames.co/randomusers/avatar.php?g=female`
* ![Generated avatar for https://xsgames.co/randomusers/avatar.php?g=pixel](https://xsgames.co/randomusers/avatar.php?g=pixel)`xsgames.co/randomusers/avatar.php?g=pixel`

### Multiavatar API

[Multiavatar](https://multiavatar.com/) is another API that generates unique avatars based on hash values. They offer a variety of styles, including male, female, and neutral avatars. Here are some examples:

* `xsgames.co/randomusers/avatar.php?g=male`
* `xsgames.co/randomusers/avatar.php?g=female`
* `xsgames.co/randomusers/avatar.php?g=pixel`

Multiavatar API

* ![Generated avatar for https://api.multiavatar.com/stefan.svg](https://api.multiavatar.com/stefan.svg)`api.multiavatar.com/stefan.svg`
* ![Generated avatar for https://api.multiavatar.com/kathrin.svg](https://api.multiavatar.com/kathrin.svg)`api.multiavatar.com/kathrin.svg`
* ![Generated avatar for https://api.multiavatar.com/zoe.svg](https://api.multiavatar.com/zoe.svg)`api.multiavatar.com/zoe.svg`

<br>

### Boring avatars <a href="#boring-avatars" id="boring-avatars"></a>

In reality, [boring avatars](https://boringavatars.com/) is a React package for creating avatars, but the maintainers also provide an API endpoint!

Six distinct styles, adjustable colors, and size control make the API shine! The beam style is also really adorable.<br>

Boring avatars

* ![Generated avatar for https://source.boringavatars.com/beam/120/Stefan?colors=264653,f4a261,e76f51](https://source.boringavatars.com/beam/120/Stefan?colors=264653,f4a261,e76f51)`source.boringavatars.com/beam/120/Stefan?colors=264653,f4a261,e76f51`
* ![Generated avatar for https://source.boringavatars.com/bauhaus/120/Stefan?colors=264653,2a9d8f,e9c46a](https://source.boringavatars.com/bauhaus/120/Stefan?colors=264653,2a9d8f,e9c46a)`source.boringavatars.com/bauhaus/120/Stefan?colors=264653,2a9d8f,e9c46a`
* ![Generated avatar for https://source.boringavatars.com/pixel/120/Stefan?colors=26a653,2a1d8f,79646a](https://source.boringavatars.com/pixel/120/Stefan?colors=26a653,2a1d8f,79646a)`source.boringavatars.com/pixel/120/Stefan?colors=26a653,2a1d8f,79646a`

***

These APIs offer a convenient way to generate random user avatars for various applications. Whether you need simple geometric avatars or more complex and realistic ones, these services have you covered.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sh20raj.gitbook.io/whollyapi/data/random-avatar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
