https://github.com/nemuelw/tpdne
Fetch and optionally save AI-generated faces from thispersondoesnotexist.com
https://github.com/nemuelw/tpdne
ai ai-generated ai-generated-images nim nim-lang nimble thispersondoesnotexist
Last synced: 4 months ago
JSON representation
Fetch and optionally save AI-generated faces from thispersondoesnotexist.com
- Host: GitHub
- URL: https://github.com/nemuelw/tpdne
- Owner: nemuelw
- License: mit
- Created: 2024-08-04T16:56:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-24T12:26:17.000Z (4 months ago)
- Last Synced: 2025-06-24T13:35:53.821Z (4 months ago)
- Topics: ai, ai-generated, ai-generated-images, nim, nim-lang, nimble, thispersondoesnotexist
- Language: Nim
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tpdne
Fetch and optionally save AI-generated faces from thispersondoesnotexist.com
## Installation
- Run this command in your project directory:
```bash
nimble install tpdne
```## Usage
### Import the package
```nim
import tpdne
```### Fetch a random face
```nim
let img = fetchImage()
```### Optionally save it to a file
```nim
saveImage(img, "random_face.jpg")
```## Tests
- To run tests, simply run this command:
```nim
nimble test -d:ssl
```## Contributing
Contributions are welcome! Feel free to create an issue or open a pull request.
## Credits
Philip Wang ([@lucidrains](https://github.com/lucidrains)) - creator of [thispersondoesnotexist.com](https://thispersondoesnotexist.com)
## License
This project is licensed under the terms of the [MIT License](https://opensource.org/licenses/MIT).
SPDX-License-Identifier: MIT