Show HN: AI Generated (Not-Real) User Avatar Images for Development Needs (avatars.tzador.com)
There are many services that return fake avatar images, but it can be hard to get consistent names and faces.
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.
You can get a random avatar image like so: https://avatars.tzador.com/face
Or request a specific size, like so: https://avatars.tzador.com/face?size=250
You can ask for specific gender, like so: https://avatars.tzador.com/face?gender=female
Also you can pin point with id param to get back always the same image: https://avatars.tzador.com/face?gender=female&id=0987654321
If you need a list of fake users with their names, usernames and avatars, you can get it in JSON here. https://avatars.tzador.com/faces
Hope it helps someone, runs on CloudFlare, so should be fast, built using SvelteKit.
44 comments
[ 5.8 ms ] story [ 35.0 ms ] thread> You can mix and match the above paramers as needed.
Should be "parameters", of course.
I'm literally building a tiny webapp for myself and a few others, this'll come in handy!
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?
https://avatars.tzador.com/face?age=26-35ðnicity=hispanic...
I would download/test an App and I would be looking at my Avatar/Picture with someone else's name.
Seems like a matter of crawling the former to get all the images and then tagging them and serving them via your API.
Anyway, I think your approach is great and only wanted to propose a possible approach to the original feedback above :)
For example, this sets the favicon to a little picture of the text "!!!":
You can also replace the "!!!" in the above snippet with any emoji, and it works. (I couldn't do an emoji here because HN filters them out.)You could maybe add this as an option for copying code from your site, and the result will work without any request to any server (with the caveat that the emoji design will vary depending on OS).
I remember the services (faces, or avatar, something) but it was since the early 2010s.
The one I meant is a service, where you can use something similar to the service in this post thread but with real avatars contributed by people on the Internet.
This feels like another small step toward making the tech world a more visually bland and uniform space [0].
0: https://www.theverge.com/2016/8/3/12325104/airbnb-aesthetic-...
But yeah otherwise
When developing things you also want badly take photos, photos with poor lighting, photos with ugly colors.
No one carefully crafts their contact lists as on those apple presentations…