sepandhaghighi/samila

Upload data to IPFS

sepandhaghighi opened this issue · 0 comments

Description

Upload data file to IPFS

>>> from samila import *
>>> g = GenerativeImage()
>>> g.generate()
>>> g.plot()
>>> g.nft_storage(api_key="API_KEY", data_upload=True)
{'status': {'image':True, 'data':True}, 'message': {'image':'IMAGE_FILE_LINK', 'data':'DATA_FILE_LINK'}