Tale Weaver Research Paper 2
Tale Weaver Research Paper 2
net/publication/389390424
CITATIONS READS
0 2
4 authors, including:
Hriday Budhiraja
Mahatma Gandhi Mission's College Of Engineering and Technology, Noida
1 PUBLICATION 0 CITATIONS
SEE PROFILE
All content following this page was uploaded by Hriday Budhiraja on 27 February 2025.
ABSTRACT
In an era where story writing meets technological innovation, Tale Weaver represents
a significant step in writing stories with the help of technology by enhancing their own stories
rather than completely replacing them. This research paper examines the development and
implementation of an unique web platform that bridges the gap between artificially enhanced
stories and community-shared content. Our study explores Tale Weaver's distinctive approach
to story creation, using Generative Artificial Intelligence while maintaining a strong focus on
user engagement and community building. The platform's architecture, built on the MERN
stack, demonstrates a thoughtful balance between technical stability and user accessibility,
featuring a modular design that separates story generation, community interaction, and user
management.What makes Tale Weaver different from other platforms is its focus on "unheard
and unimagined stories." It encourages writers to explore ideas beyond the conventional
narratives of the past.This research contributes to the growing debate on AI-assisted
creativity by presenting a practical solution for combining automated story generation with
human creativity. By analyzing user engagement patterns and story-sharing behaviors, we
provide insights into how AI tools can enhance rather than replace human storytelling. Tale
Weaver's approach suggests new possibilities for creative writing platforms, where
technology serves as an enabler for human imagination rather than its substitute.
Keywords: MERN Stack, (composed of MongoDB, Express, React.js, and Node.js), Story
Generation, Community Building, Creative Work enhanced using Technology, Gemini API
1
1. INTRODUCTION
In today's digital world, storytelling has taken on new forms thanks to technology.
Tale Weaver is a new website that helps anyone become a storyteller by combining artificial
intelligence with human creativity. This research looks at how Tale Weaver works and why it
matters for people who want to write stories.
Many people have great story ideas but find it hard to write them down. Tale Weaver solves
this problem by using Google’s Gemini API to help create stories. Users simply type in their
ideas, and the Gemini AI will help turn them into complete stories. But Tale Weaver is more
than just a story creator - it's also a place where people can share their stories with others.
The website has three main parts that make it special. First, there's the story creation section
where users can make new stories using prompts. Second, there's a community section where
people can read stories others have shared, this section shows both the most popular stories
and the recent ones. Third, there's a user profile area where users can login, if they have not
previously, keep track of their favorite stories and see how many people have liked the work
they have shared.
Tale Weaver uses modern technology like MongoDB for storing stories, JSON Web Tokens
for authentication, and React for making the website modular and easy to develop. The
platform helps connect people who love stories, letting them create, share, and enjoy stories
together.
2. LITERATURE REVIEW
In [1], A comprehensive study on AI-driven fiction creation reveals the five core
processes involved in generating stories: pre-processing, plot structure development,
character growth, dialogue generation, and iterative refinement. The research emphasizes
how modern AI models, particularly GPT architectures, demonstrate sophisticated language
manipulation capabilities through unsupervised learning, enabling them to create contextually
relevant and syntactically accurate narratives.
2
In [2], This research examines how digital platforms transform literary creation through
collaborative writing systems. The study highlights how cloud-based technologies enable
real-time collaboration regardless of geographical boundaries. The research demonstrates that
collaborative platforms have democratized authorship by breaking traditional barriers and
fostering inclusive storytelling approaches across cultures and languages.
In [3], A detailed analysis of AI's impact on creative writing reveals its evolution from basic
language translation to sophisticated creative applications. The research explores how
AI-powered writing assistants support authors through various stages of writing, from idea
generation to final editing. The study particularly emphasizes AI's capability to streamline the
writing process through natural language processing and its ability to provide contextual
suggestions for improvement.
3. METHODOLOGY
Tale Weaver was designed keeping the user at the center of the product and catering to
all his needs. Our website follows a modular approach, separating the frontend and backend
into small components, so that they can be reused and also making it easier for testing and
debugging. The user will have a seamless experience using the different features of the
backend or the frontend. Having a modular architecture ensures scalability and
maintainability in case of any failures or any future enhancements.
3
The Frontend is developed using React.js and TailwindCSS. React.js helps in the modular
architecture of the website while TailwindCSS helps in efficiently creating the user interface.
The interface is divided into 3 primary sections: Stories, Community and User. Each section
serves a specific purpose in the user journey, from story generation to community
engagement. The Stories section handles story creation and viewing previously generated
stories, while the Community section manages public story distribution through Latest and
Most Liked categories. User section is for helping the guest users login and also to view the
stories which were liked by the user.
In Figure 1, you can see the User Flow Diagram. The user starts by first signing up on our
website or logging in, if previously signed up. The user also gets the option to login in as a
Guest. Then he is welcomed by our home page which can take the user to 3 main sections of
our website, Stories section, Community section or the User Profile section. Stories section is
the section where the main action takes place, the user enters his desired inputs for the story
that is then generated using Google’s Gemini AI, the generated story is then displayed to the
user and saved in the database. The Community Section houses the public stories generated
by other users. There are 2 sections, the Recently Uploaded section to showcase the newly
generated stories and the Most Liked section to display the stories that are loved by the
community. The User Profile section is there to help the Guest users signup/login or help the
logged in users change their credentials. Logged in users can also see their liked stories in
this section.
4
For data persistence, MongoDB is used as a database which stores the user information and
stories information in a structured format. The database design has two main collections:
Users and Stories. The Users collection maintains essential authentication data and references
to created and liked stories, while the Stories collection stores generated content along with
metadata such as views, likes, and publication status.
User Security is handled using JSON Web Token authentication, protecting user data and
ensuring secure access to private features. The system generates tokens upon successful
authentication, which are then used to maintain secure sessions and authorize access to
protected routes.
The backend, built on Node.js and Express, handles API requests and integrates with
Generative AI for story generation. The system architecture ensures smooth data flow
between the frontend interface and backend services, creating a smooth user experience while
maintaining system security and performance.
In Figure 2, our core architecture is shown. The user goes to our Stories section and gives the
inputs related to which he wants to make a story. Firstly the inputs are processed and then the
required prompt is created. Then the prompt is sent to the back-end using a POST request.
Then Google’s Gemini API is called and the prompt is sent along with the required
configurations. Gemini will generate the story and return it to the back-end, the received
response is then stored in the database and sent to the front-end, where it is displayed to the
user. The user can make the story public, so that everyone can view it , or he can delete it and
alter the inputs he gave initially to modify the generated story.
5
4. ANALYSIS
Tale Weaver employs a well-structured architecture that effectively combines user
management, story generation, and community engagement. The Stories section handles both
creation and viewing, while the Community section facilitates content discovery through
Latest and Most Liked categories. The platform's design shows particular attention to user
engagement metrics, tracking views, likes, and URLs for public stories, while maintaining
user privacy through secure authentication and personal story management. This architectural
approach ensures scalability and maintainability while providing a seamless user experience
for both story generation and community participation.
6
RESULTS AND DISCUSSION
The frontend's three-tier architecture (Stories, Community, and User sections) facilitates
intuitive navigation and content discovery. The Stories section effectively combines creation
and viewing functionalities, while the Community section's dual-view approach (Latest
Stories and Most Liked Stories) promotes content discovery and user engagement.
7
The backend architecture successfully handles data persistence and system operations. The
modular design allows for independent scaling of different components, particularly
beneficial for handling varying loads in story generation and storage. The implementation of
JSON Web Token authentication ensures secure access to user-specific features and content
management.
These results indicate that Tale Weaver's architecture successfully addresses the core
challenges of AI-assisted story generation while maintaining a user-friendly interface and
robust community features. The platform's design demonstrates potential for future expansion
and feature integration without compromising existing functionality.
CONCLUSION
Tale Weaver represents a significant advancement in AI-assisted storytelling
platforms through its unique integration of story generation and community engagement.
Unlike traditional AI writing tools that focus solely on content generation, Tale Weaver
creates a comprehensive ecosystem where stories can be created, shared, and discovered. The
platform's architecture, with its distinct separation between story generation and community
features, enables a seamless transition from creation to publication while maintaining user
privacy through careful data management.
Tale Weaver's modular design and scalable database architecture demonstrate foresight in
accommodating future growth and feature expansion. The implementation of public data
tracking through views and likes creates a dynamic environment where quality content
naturally rises to the top, distinguishing Tale Weaver from platforms that rely solely on
chronological content organization.
The future of AI-assisted storytelling lies not in automated content creation but in enhancing
human imagination through intelligent suggestions and creative prompts. Tale Weaver's
architecture lays the groundwork for this vision, preparing for future integrations of
collaborative features and advanced AI capabilities while maintaining its core focus on user
engagement and community building.
8
View publication stats
REFERENCES
[1] Poulakos, S., Kapadia, M., & Sumner, R. W. (2018). A Two-Level Planning Framework
for Mixed Reality Interactive Narratives with User Engagement. IEEE Conference on
Artificial Intelligence and Virtual Reality (AIVR).
(https://www.ijraset.com/research-paper/how-ai-creates-fiction-stories)
[2] Elna Raj (2023). Digital Humanities and Collaborative Writing Platforms: Transforming
Literary Creation(https://www.shanlaxjournals.in/conferences/index.php/rtdh/article/view/73)
[3] Goodwin, R. (2018). 1 the Road: An AI-Generated Novel. Jean Boîte Éditions.
(https://copywritercollective.com/ai-creative-writing/)
[4] Kapadia, M., Poulakos, S., Gross, M., & Sumner, R. W. (2017). Computational Narrative.
(https://studios.disneyresearch.com/story-technology/)
[5] Fortuin, V., Weber, R. M., Schriber, S., Wotruba, D., & Gross, M. (2018). InspireMe:
Learning Sequence Models for Stories. 30th Conference on Innovative Applications of
Artificial Intelligence (IAAI-18). (https://irojournals.com/rrrj/article/view/3/2/3 )
[7] The Best Artificial Intelligence Science Fiction Books, by Iris Marsh (2022)
(https://www.irismarsh.com/aritifical-intelligence-scifi-books)
[8] "Artificial Fiction": An Essay by Chi Rainer Bornfree (Keywords: AI; Technology; Art;
Literature), by Chi Rainer Bornfree
(https://www.thephilosopher1923.org/post/artificial-fiction)