Generate random mutations of an image for an NFT collection
Project description
Generate_NFT : Create random mutations of a picture for NFT collections
What is it?
generate-nft is a Python package that creates multiple random mutations of a given picture without needing to feed separate layers of the image. Just provide one image and it can generate multiple variants of that image quickly.
Main Features
Here are just a few of the things that generate-nft does internally:
- Split the given image into mutliple color channels - RGB, RGBA etc..
- Mix and match these color channels randomly to create unique images
- Creates random background images to make it more unique
Where to get it
The source code is currently hosted on GitHub at: https://github.com/Mcprasad/Generate_NFT
Binary installers for the latest released version are available at the Python Package Index (PyPI)
#PyPI
pip install generate-nft
Installation from sources
Follow the steps given below to install the package from the source
- Clone the github repo
https://github.com/Mcprasad/Generate_NFT.git
- Run setup.py
python3 setup.py sdist bdist_wheel
How to use
from Generate_NFT import generate_art
generate_art.generate("input_image_path","output_image_directory",number_of_mutations,output_width,output_height)
#example
from Generate_NFT import generate_art
generate_art.generate("/documents/img.jpg","/documents/output/",50,1920,1920)
License
Future Ideas
- Ability to combine traits from multiple images
- Extract objects from an image and superimpose those
- Generate meta data for each image in ERC721 standard
- Ability to launch the collections into a preferred blockchain; create and register contract, link metamask wallet and IPFS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
generate_nft-0.0.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for generate_nft-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b354534a43fcfb810322f9be45de0398655926e5a27d8949f9499af6e75018df |
|
MD5 | fc788db0011c35d8f3080a6524260011 |
|
BLAKE2b-256 | d5b4041e44dd92f027ec2ff0ed479544bddd0c1fd63baf2bfb3e862cd1a74e89 |