Prompt NFT mint site that allows users can mint their original prompts through this site and earn with it.
This project allows individuals who create prompts to easily mint NFTs on OpenSea through our site with just a click of a button, and generate revenue through the minted NFTs. Since prompts are text-based information, they can be easily copied. Therefore, when attempting to mint prompts through our site, we compare them with other prompts to determine if they are the same, and if the result is satisfactory, minting is permitted. Comparisons are made using AI for both image and text information.
Furthermore, by converting prompts into NFTs, a system is in place that distributes revenue not only to the primary buyers but also to the sales made by those primary buyers. This ensures that the creators of the prompts receive appropriate profits for their inventions.
We developed a smart contract compliant with ERC1155 using Remix. We utilized NFT.Storage as external storage. To enable trading on OpenSea, we used the Polygon test network, Mumbai. We also deployed on Scroll's test network, Scroll Alpha Testnet. There were no issues in dynamically changing the deployment destination via MetaMask.
The client was built using Next.js, TypeScript, and Tailwind CSS. Asset images were created using StableDiffusion. We adopted NLP(Natural Language Processing) AI for evaluating the similarity of prompts. We devised a way to prevent the minting of similar NFTs based on the similarity of prompts. Not only the prompts but also the similarity distance between the generated images were calculated to determine similarity.