Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhishek-01k/buildstorybooksonchain
https://github.com/abhishek-01k/buildstorybooksonchain
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abhishek-01k/buildstorybooksonchain
- Owner: abhishek-01k
- Created: 2024-08-19T00:09:27.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-19T01:48:55.000Z (3 months ago)
- Last Synced: 2024-08-20T02:13:26.222Z (3 months ago)
- Language: TypeScript
- Homepage: https://build-story-bookson-chain.vercel.app
- Size: 3.57 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BuildStoryBookswithAIAgent
Welcome to **BuildStoryBookswithAIAgent**, an innovative platform where you can create and mint your very own children's storybooks using the power of AI agents.
Our platform leverages cutting-edge tools to help you craft engaging stories and beautiful illustrations, which can then be minted as NFTs on various blockchain networks including Base, Goerli, and Zora.
Utilizing Coinbase Smart Wallet, we ensure a seamless and gasless minting experience for our users.
## Features
### Story Creation Tools
- **Story Writer**: Transform your prompts into complete, captivating children's stories. Simply provide a prompt or a full story, and our AI will handle the rest, creating a delightful narrative for young readers.
- **Story Illustrator**: Bring your story to life with vivid illustrations. Our AI generates artwork based on the story's characters and settings, ensuring a cohesive and enchanting visual experience.### Step-by-Step Process
1. **Content Safety**: Ensure the provided story or prompt is appropriate for children.
2. **Title Generation**: Automatically generate an appropriate title based on the story.
3. **Directory Creation**: Create a dedicated directory for each story, organizing text and illustrations.
4. **Story Writing**: If given a prompt, the AI will write a complete story.
5. **Story Verification**: Ensure the generated story remains appropriate for children.
6. **Page Creation**: For each page, write the content to a file and generate corresponding illustrations, saving them in the story's directory.### Monetization and Minting
- **NFT Minting**: Convert your stories into NFTs using the Zora platform. Mint on Base, Goerli, or Zora networks with ease.
- **Gasless Minting**: Enjoy gasless minting using Coinbase Smart Wallet and Coinbase Paymaster, ensuring a cost-effective and user-friendly experience.## Benefits
### Seamless Conversion
Transform your ideas into innovative stories effortlessly with the help of advanced AI agents. Our platform handles everything from writing to illustrating, making it easy to create professional-quality storybooks.### Monetization Opportunity
Unlock new revenue streams by selling the data rights to your stories. Our integration with the Zora Protocol ensures a transparent and fair pricing mechanism, allowing you to capture more value from your creative work.### Showcase & Share
Our platform provides a dedicated space to display your creations, gain recognition, and connect with a community of like-minded storytellers and artists.## Easy Onboarding with Coinbase Smart Wallet
Onboarding is a breeze with Coinbase Smart Wallet on ForgeyourStoryonchain. Our platform supports Coinbase verifications, leveraging the Ethereum Attestation Service to issue on-chain attestations. Verified users can access additional benefits, including gasless minting options.### Coinbase Verifications
- **Account Verification**: Verify that you have a valid Coinbase trading account.
- **Residence Verification**: Optionally verify your country of residence.
- **Coinbase One Membership**: Verify your active Coinbase One membership for additional benefits.## Zora Protocol NFT Marketplace
Monetize your stories on the Zora Protocol NFT marketplace. This decentralized platform ensures fair and transparent pricing, allowing creators to benefit fully from their work.## AI Agent and Tools
Our platform harnesses the power of an advanced AI agent that utilizes several specialized tools to create and illustrate your stories. Here's a closer look at how it works:
### AI Agent: story-book.gpt
The AI agent, **story-book.gpt**, is designed to streamline the process of creating and illustrating children's stories. It includes the following tools:- **story-writer**: This tool writes a complete story based on a provided prompt or completes an existing story. It also generates extensive descriptions of characters and settings, along with suggesting an appropriate illustration style.
- **Args**:
- **prompt**: The prompt to use for the story.
- **pages**: The number of pages the story should have.
- **Output**: Returns the story, illustration style, character descriptions, and setting descriptions.- **story-illustrator**: This tool generates illustrations for each page of the story. It uses character and setting descriptions to create visually appealing artwork in the specified style.
- **Args**:
- **text**: The text of the page to illustrate.
- **characters**: Descriptions of the story's characters.
- **settings**: Descriptions of the story's settings.
- **style**: The illustration style to use.- **mkdir**: This utility tool creates directories to organize the story's content and illustrations.
- **Args**:
- **dir**: Path to the directory to be created.- **sys.write**: Writes the content of each page to a text file.
- **sys.read**: Reads the content from text files.
- **sys.download**: Downloads the illustrations to the specified directory.
- **sys.abort**: Aborts the process if any inappropriate content is detected.
### How the AI Agent Works
1. **Content Safety Check**: The AI agent checks the provided story or prompt to ensure it is appropriate for children. If deemed inappropriate, the process is aborted with a cited reason.
2. **Title Generation**: Based on the story, the AI agent generates an appropriate title.
3. **Directory Creation**: A directory is created for the story, with spaces in the title replaced by hyphens.
4. **Story Writing**: If a prompt is provided, the story-writer tool crafts a complete story.
5. **Content Verification**: The generated story is verified for appropriateness.
6. **Page Processing**: For each page, the story content is written to a text file, and the story-illustrator tool generates corresponding illustrations. The illustrations are then downloaded and saved in the story's directory.---
Start your storytelling journey today with **BuildStoryBookswithAIAgent**.
Whether you're a parent, teacher, or aspiring author, our platform provides the tools and opportunities to create, share, and monetize your unique stories.# How BuildStoryBookswithAIAgent Fits into the Paymaster and Bundler Tracks
## Paymaster and Bundler Tracks Description
The Paymaster and Bundler tracks are designed to support projects that streamline and optimize on-chain transactions, making them more efficient, cost-effective, and user-friendly. These tracks encourage innovations that:
- Reduce transaction costs through gasless transactions.
- Bundle multiple transactions to enhance efficiency and reduce fees.
- Improve the user experience by simplifying the interaction with blockchain technologies.## How BuildStoryBookswithAIAgent Fits into the Paymaster and Bundler Tracks
### Paymaster Integration
** We leverage Coinbase Paymaster to offer gasless minting for NFTs. This integration aligns with the Paymaster track by:
- **Reducing Costs**: By covering gas fees for users, our platform removes the financial barrier to minting NFTs, making it more accessible for creators.
- **Enhancing User Experience**: Users can mint their stories as NFTs without worrying about transaction fees, resulting in a smoother and more enjoyable experience.
- **Encouraging Adoption**: Gasless transactions lower the entry threshold for new users, encouraging broader adoption of blockchain technologies among storytellers and artists.### Bundler Integration
Our platform also fits into the Bundler track through the following features:
- **Transaction Bundling**: When users create and mint their stories, multiple on-chain actions (such as story creation, illustration generation, and NFT minting) are bundled into a single transaction. This reduces the overall cost and complexity for users.
- **Efficiency**: By bundling transactions, we minimize the number of interactions users need to have with the blockchain, improving efficiency and reducing the likelihood of errors.
- **Cost Reduction**: Bundling helps lower gas fees by optimizing the way transactions are processed, making the entire process more economical for users.### User Experience Enhancement
Both Paymaster and Bundler integrations significantly enhance the user experience on **BuildStoryBookswithAIAgent**:
- **Seamless Interaction**: Users can focus on their creative process without being bogged down by the technicalities of blockchain transactions.
- **Accessibility**: By reducing costs and simplifying the transaction process, our platform becomes more accessible to a wider audience, including those who may be new to blockchain technologies.
- **Innovation in Storytelling**: These integrations allow us to provide a unique, user-friendly platform where creativity is prioritized, and technical barriers are minimized.In summary, **BuildStoryBookswithAIAgent** aligns with the goals of both the Paymaster and Bundler tracks by providing a cost-effective, efficient, and user-friendly platform for creating and minting story NFTs. By leveraging these technologies, we enhance the overall user experience, encourage broader adoption, and support innovative on-chain storytelling.