Making NFT Art Collections With AI and Python

Using AI art or image generation, I was able to take my NFT art collections to a higher level, and create more art, at higher quality, more quickly.

In the same way as in this post, and by adding a helper Python program with a graphical user interface, I was able to efficiently extract the position, scale and rotation (transformation) parameters of how I manually custom-positioned the cartoon cheetah in Inkscape over each AI-generated background image (generated using Midjourney), and then the metadata (in this case the path to each background image and the transformation code from the SVG to position the cheetah layer) is used by the Python program that creates each SVG and calls Inkscape to convert it into a PNG file, populating a folder ready for upload to IPFS.

I created the art samples here in late 2022.