Utility to generate a large collection of unique images along with metadata. Able to automatically deploy on IPFS.

sem, updated 🕥 2022-05-08 14:14:19


Utility for creating a generative art collection from supplied image layers, especially made for making NFT collectibles.

Click here for example images. final_images eyes clothes_hats body_horns backgrounds


  1. Clone the repository by opening your Terminal and typing git clone https://github.com/sem/NFT-Image-Generator.git.
  2. Install the dependencies pip3 install -r requirements.txt.

How to use

  1. Get an API key from Pinata.
  2. Open config.json and put the JWT (Secret access token) in api_key.
  3. Adapt the config to your liking and make sure there is a sequential number at the beginning of each folder to represent the order of layers.
  4. Run main.py.

File structure

Before you start, make sure your file structure looks something like this: NFT-Image-Generator/ ├─ main.py ├─ config.json ├─ 1 background/ │ ├─ red.png │ ├─ green.png │ ├─ blue.png ├─ 2 body/ │ ├─ female.png │ ├─ male.png │ ├─ zombie.png ├─ 3 eyes/ │ ├─ sun_glasses.png │ ├─ normal_eyes.png │ ├─ vr_glasses.png


  • [x] Generate metadata for direct use on OpenSea.
  • [x] Being able to update the image URL after the metadata is created.
  • [x] Automatically upload images and metadata to Pinata.
  • [x] Ensure that no duplicate images will appear in the collection.
  • [x] Create a .GIF profile picture for your collection.
  • [x] Give each image a rarity value.
  • [x] Influence rarity by giving layers a weight.


NFT 적용가능 오픈소스 검토

opened on 2022-03-03 05:08:05 by JustinKwak-TJ None
Sem Moolenschot
GitHub Repository

nft art generator collection images gif blockchain ipfs nft-generator opensea pinata rarity