{"id":28437920,"url":"https://github.com/faker-js/assets-person-portrait","last_synced_at":"2026-01-31T15:02:29.797Z","repository":{"id":259612575,"uuid":"878990365","full_name":"faker-js/assets-person-portrait","owner":"faker-js","description":"The repository containing the assets for the person portraits","archived":false,"fork":false,"pushed_at":"2025-02-12T08:26:24.000Z","size":53600,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-28T10:40:04.784Z","etag":null,"topics":["faker","image","person","portrait"],"latest_commit_sha":null,"homepage":"https://faker-js.github.io/assets-person-portrait/","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faker-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-26T16:56:51.000Z","updated_at":"2025-02-12T08:26:26.000Z","dependencies_parsed_at":"2024-10-30T05:30:11.518Z","dependency_job_id":null,"html_url":"https://github.com/faker-js/assets-person-portrait","commit_stats":null,"previous_names":["faker-js/assets-person-portrait"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/faker-js/assets-person-portrait","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faker-js%2Fassets-person-portrait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faker-js%2Fassets-person-portrait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faker-js%2Fassets-person-portrait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faker-js%2Fassets-person-portrait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faker-js","download_url":"https://codeload.github.com/faker-js/assets-person-portrait/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faker-js%2Fassets-person-portrait/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["faker","image","person","portrait"],"created_at":"2025-06-06T00:09:49.833Z","updated_at":"2026-01-31T15:02:29.791Z","avatar_url":"https://github.com/faker-js.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Faker Assets for Person Portraits\n\nThis repository is only for hosting images for [`faker.image.personPortrait()`](https://fakerjs.dev/api/image.html#personportrait).\n\nRequires `@faker-js/faker` v9.5.0 or later\n\n\u003e [!IMPORTANT]\n\u003e The [images](https://faker-js.github.io/assets-person-portrait/) in this repository are generated by AI. \\\n\u003e If you think that one of the pictures resembles you too closely and you would like us to change it, please let us know.\n\nPlease report any issues and feature requests to the [main faker repo](https://github.com/faker-js/faker). \\\nThis repostory does not accept PRs to ensure we do not exceed GitHub's file, size and transfer limits.\n\nPlease access the assets via CDN:\n\nhttps://cdn.jsdelivr.net/gh/faker-js/assets-person-portrait/female/512/42.jpg\n\n## Repo Structure\n\n```txt\n/SEX/SIZE/INDEX.jpg\n/{male,female}/{32,64,128,256,512}/{0...99}.jpg\n```\n\n## Re-Generating New Images\n\nThe basic prompt used for Stable Diffusion 3 was:\n\n`profile picture of a ${age}-year-old ${sex} from ${country}`\n\nYou can use the data in the male/metadata and female/metadata to regenerate images.\nYou can run a model locally, or use a service like Replicate using https://github.com/replicate/replicate-javascript.\nYou will need a Replicate API key, and expect it will cost approximately [$0.035 per image](https://replicate.com/pricing) to generate.\n\n```js\nimport Replicate from \"replicate\";\nconst replicate = new Replicate({\n  auth: process.env.REPLICATE_API_TOKEN,\n});\nconst metadata = JSON.parse(fs.readFileSync(\"female/metadata/42.json\"));\nconst input = metadata.parameters;\nconst output = await replicate.run(metadata.model, {\n  input,\n});\nconsole.log(output);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaker-js%2Fassets-person-portrait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaker-js%2Fassets-person-portrait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaker-js%2Fassets-person-portrait/lists"}