Updated 517 days ago

BNB StoryChain

StoryChain is a multi-level AI based story telling NFT dapp where users collaboratively create stories that have unique chapters and arts using Language AI, Image AI and NFTs.

  • Crypto / Web3
  • BNB Chain
  • DAO / Community
  • NFT
  • L2
  • opBNB
  • BNB Greenfield

StoryChain, a multi-level AI based story telling NFT dapp, is a new take on the ages old classic chain of stories, where different users collaboratively create stories.

Using this dapp, users create stories that have unique chapters and arts using web3, AI, NFTs, BNB Greenfield. Each page can belong to a different user.

Once a user creates a story, they define the category (such as if it is a childrens' story), select the story AI and also the image generation AI. Once the story is created, users simply read the previous chapters and enter a prompt however they wish to continue.

So a story is created collaboratively by the users and each page belongs to one user with unique story and art. More if it, this page itself is minted as an NFT for the user; which can be visited on opBNB Explorer.

storypage.png

Once the prompt is entered, NodeJS backend server running catches the emitted events from the contract and applies multiple steps on it;

-Gets the contract events

-Checks if the prompt is suitable for the category (For an example if it's a children's story and the user asked the character to burn down a forest, the prompt is rejected)

-It gets the latest story data from BNB Greenfield,

-Providing entire story to chatgpt, asks to create a new chapter that would fit the continuity, and also create a prompt for ai image generator

-AI Image generator generates an image for our chapter

-Then we upload the image to BNB Greenfield

-Upload the entire story with new chapter and the image to BNB Greenfield

-Then submit these BNB Greenfield addresses to the contract

-And finally the contract mints an NFT for the author of the new chapter

The metadata for the NFT items is stored on-chain and BNB Greenfield. After an update on the story, user's chapter now have the story and the image, and this chapter also belongs to the author as an NFT. We can also view this NFT or other chapters or other books on nft explorers. The story metadata on BNB Greenfield is also available to view.

Another option for creating a story is using the voting mechanism. When creating a story, user can select if the future entries to the story requires voting. This way each story becomes a DAO itself. When a user wants to continue to the story, they enter their prompt. Then in a certain period, NFT owners submit their votes to their favorite prompt, creator having an extra half vote to break the equal votes. At the end of the voting period, prompt with the highest vote is used to continue the story, minting the NFT to the elected prompt owner. This way as the story grows, a larger community forms within, increasing the chance of higher quality prompts to be entered. Other users can choose to buy NFTs from the authors to have a vote in the decision.