Hello,<p>There are many services that return fake avatar images, but it can be hard to get consistent names and faces.<p>In this service ChatGPT was used to generate a list of users with various characteristics and Dall-E to generate their avatars, based on those.<p>You can get a random avatar image like so:
<a href="https://avatars.tzador.com/face" rel="nofollow">https://avatars.tzador.com/face</a><p>Or request a specific size, like so:
<a href="https://avatars.tzador.com/face?size=250" rel="nofollow">https://avatars.tzador.com/face?size=250</a><p>You can ask for specific gender, like so:
<a href="https://avatars.tzador.com/face?gender=female" rel="nofollow">https://avatars.tzador.com/face?gender=female</a><p>Also you can pin point with id param to get back always the same image:
<a href="https://avatars.tzador.com/face?gender=female&id=0987654321" rel="nofollow">https://avatars.tzador.com/face?gender=female&id=0987654321</a><p>If you need a list of fake users with their names, usernames and avatars, you can get it in JSON here.
<a href="https://avatars.tzador.com/faces" rel="nofollow">https://avatars.tzador.com/faces</a><p>Hope it helps someone, runs on CloudFlare, so should be fast, built using SvelteKit.
This is neat, but it bugs me that it generates email addresses with real providers (Gmail, Outlook, etc). This can lead to accidental emails to real people during testing. I would recommend using @example.com for all emails.
It would be refreshing to see a version of this where the avatars actually look like plausible users and not models/dolls/uncanny robots. Backgrounds, less attractive faces, and different poses would help. Most of the time avatars come from candid snapshots.
When are real user-generated avatars ever consistent? What kind of artificial visual goal are you chasing with this? Or is it just to make your pitch deck look pretty?<p>This feels like another small step toward making the tech world a more visually bland and uniform space [0].<p>0: <a href="https://www.theverge.com/2016/8/3/12325104/airbnb-aesthetic-global-minimalism-startup-gentrification" rel="nofollow">https://www.theverge.com/2016/8/3/12325104/airbnb-aesthetic-...</a>
Once upon a time there was a service for avatars and people used to contribute their real avatars (pictures of faces). I contributed mine and it used to pop up at random apps, websites, and such.
Minor spelling issue:<p>> You can mix and match the above paramers as needed.<p>Should be "parameters", of course.<p>I'm literally building a tiny webapp for myself and a few others, this'll come in handy!<p>Just out of interest, would you consider describing the prompt(s) you used for this? I've barely dabbled in ChatGPT for anything like this. Did you use one of those wrapper-like services to ensure the data-out was of the appropriate format?
Honestly, when it comes Avatars for my development needs, I just use Emojis. It’s just really easy to set up compared to getting anything more complicated.
If you use this and refresh they all look the same. <a href="https://avatars.tzador.com/face?gender=male&ethnicity=white&age=26-35" rel="nofollow">https://avatars.tzador.com/face?gender=male&ethnicity=white&...</a>
The images are all overly handsome faces. Can it be dialed to more ugly and less symmetric mugs, like those you are actually likely to see in real life?