A downloadable tool for Windows, Mac OS X, and Linux
Generate unique 2D images based on an example photo and input specification. This is an open-source command-line tool available here:
It's not production ready, but very simple and easy enough to understand with the comments and documentation.
The .zip file above is empty. Just go here for the source: