mirror of
https://github.com/nemuelw/tpdne
synced 2026-01-02 06:14:49 +00:00
No description
| src | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| tpdne.nimble | ||
tpdne
Fetch and optionally save AI-generated faces from thispersondoesnotexist.com
Installation
- Run this command in your project directory:
nimble install tpdne
Usage
Import the package
import tpdne
Fetch a random face
let img = fetchImage()
Optionally save it to a file
saveImage(img, "random_face.jpg")
Tests
- To run tests, simply run this command:
nimble test -d:ssl
Contributing
Contributions are welcome! Feel free to create an issue or open a pull request.
Credits
Philip Wang (@lucidrains) - creator of thispersondoesnotexist.com
License
This project is licensed under the terms of the MIT License.
SPDX-License-Identifier: MIT