NFTGEN is an open-source tool for generating unique NFT images or GIFs, complete with metadata. You can easily customize and configure NFTGEN to suit your needs and generate your own NFTs in just a few simple steps.
Untitled.video.-.Made.with.Clipchamp.mp4
- Star the project so i know to keep making things others find useful.
- Download Node.js
- Clone the NFTGEN repository from GitHub:
git clone https://github.com/BankkRoll/NFTGEN-nft-gif-generator.git
- Or download here -> https://github.com/BankkRoll/NFTGEN-nft-gif-generator/archive/refs/heads/main.zip
- Install the project dependencies:
npm install
- Update the configuration settings in the
config.js
file to customize the output of your NFTs. - Here's a brief overview of the configuration settings:
traitsFolder
: The name of the folder containing the image assets.traitFolders
: An array of the subfolders withintraitsFolder
containing the individual image assets.outputFolder
: The name of the folder where the generated NFTs will be saved.layersNumber
: The number of image layers to combine in each NFT.numImages
: The number of NFTs to generate.startAt
: The index number to start generating NFTs at. ex. ( 0 or 1 )collectionName
: The name of your NFT collection.collectionDescription
: The description for your NFT collection.collectionExternal_url
: The external URL for your NFT collection.
- Please complete the Configuration
- Generate your NFTs by running the command
npm start
in your terminal or command prompt. - Choose whether to generate GIFs or Images when prompted.
- This will generate the specified number of NFTs and save them to the output folder you specified in the configuration settings.
- Decide whether to upload the files to IPFS or retain them locally. If you opt for the former, you'll need to input a thirdweb-provided secret key for API requests. This is stored locally and no information is transmitted, as we execute the thirdweb SDK during the IPFS upload initiation. The files will be subsequently uploaded to IPFS via thirdweb Storage. In case you opt to keep the files locally, they will remain in your local storage.
- Your NFTs have been generated and saved to the output folder you specified, and if you chose to upload them to IPFS, they are now available on the given URI.
┌────────────────────────────┐
│ Usage: npm run <command> │
└────────────────────────────┘
┌──────────────────────┬───────────────────────────────┐
│ Command │ Description │
├──────────────────────┼───────────────────────────────┤
│ start │ Start the script │
│ collection-info │ Print collection information │
│ help │ Prints this screen │
└──────────────────────┴───────────────────────────────┘
┌──────────────────────────────────────────────────────────────────────────────────────────┐
│ Usage: │
│ 1. Generate your NFTs by running the command "npm start" in your terminal. │
│ 2. Choose whether to generate GIFs or Images when prompted: │
│ > GIFs │
│ > Images │
│ 3. This will generate the specified number of NFTs and save them to the output folder. │
│ 4. Choose whether to upload the files to IPFS or keep them on your files local: │
│ > Yes: Upload the files to IPFS using thirdweb Storage. │
│ > No: Keep the files on your local machine. │
└──────────────────────────────────────────────────────────────────────────────────────────┘
If you encounter any issues while using NFTGEN, please feel free to submit an issue on the GitHub repository. We'll do our best to help you resolve the issue as quickly as possible.
We welcome contributions to the NFTGEN project! If you'd like to contribute, please fork the repository and submit a pull request with your changes. We'll review your changes and merge them if they meet our project standards.
NFTGEN is licensed under the Apache License, Version 2.0. See LICENSE for the full text.
If you found NFTGEN useful, consider buying me a Red Bull to fuel future development at the following Ethereum wallet address: 0xB26b2f9786090A9f647a90979b48C4Be564D7ff9