Matt Mayer

Results 288 comments of Matt Mayer
trafficstars

I think a fairly easy way to do this while nsuring a diverse set of images would be: 1. Generate a list of prompts using something like ```js faker.helpers.fake(`profile picture...

I tried generating 100 images with Stable Diffusion 3 (50 male, 50 female) They can be accessed like this: https://cdn.jsdelivr.net/gh/matthewmayer/sd3-avatars/generic/1.jpg up to https://cdn.jsdelivr.net/gh/matthewmayer/sd3-avatars/generic/100.jpg Code i used to generate is at...

Made a new branch https://github.com/matthewmayer/sd3-avatars/tree/country-prompt where i append a random `from {{location.country}}` to each prompt e.g. "profile picture of a 67-year-old woman from India" https://cdn.jsdelivr.net/gh/matthewmayer/sd3-avatars@country-prompt/generic/74.jpg These folks seem more diverse.

![Screenshot 2024-09-17 at 22 14 29](https://github.com/user-attachments/assets/dd4db834-7e65-499f-8f8b-5d2c7f47de00)

Would we want to make this a new method like avatarAI() and then have avatar() pick between avatarAI() and avatarGithub()?

I think `avatar` is fairly commonly used in software development as a synonym for a typically user-set "profile picture" etc so i don't mind the current name. `faker.image.portrait()` at first...

we should definitely cross-reference in the person module overview like we do for email addresses and phone numbers

Blocked by #3131 next step is to set up the assets repo

In theory we could use the last_name_patterns to do some basic weighting (this is used for hyphenated last names in some locales) For example 80 percent of names could pull...