DOI : 10.5281/zenodo.24815302
- Open Access

- Authors : S. Mallibabu, P. Saketh, N. Pooja, P. Dinesh, B. Praneeth
- Paper ID : IJERTV15IS111180
- Volume & Issue : Volume 15, Issue 11 , November – 2026
- Published (First Online): 04-12-2026
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
Multilingual Story Generation and Speech System
S. Mallibabu * (1), P. Saketh (2), N. Pooja (3), P. Dinesh (4), B. Praneeth (5)
*(1) Assistant Professor, Department of Computer Science and Engineering (Data Science) CMR Institute of Technology, Hyderabad, Telangana, India
(2) Department of Computer Science and Engineering (Data Science) CMR Institute of Technology, Hyderabad, Telangana, India
(3) Department of Computer Science and Engineering (Data Science) CMR Institute of Technology, Hyderabad, Telangana, India
(4) Department of Computer Science and Engineering (Data Science) CMR Institute of Technology, Hyderabad, Telangana, India
(5) Department of Computer Science and Engineering (Data Science) CMR Institute of Technology, Hyderabad, Telangana, India
Abstract – How can an intelligent system be developed to automatically create meaningful stories in different languages and transform them into natural-sounding speech while preserving linguistic correctness and semantic consistency? This is a pressing issue because language barriers, a lack of localized content, and the requirements of visually impaired or early learners necessitate an inclusive digital storytelling solution. The proposed system employs sophisticated natural language processing techniques to create contextually relevant stories based on user inputs like genre or keywords, neural machine translation to generate multilingual stories, and high-quality speech synthesis to transform text into natural-sounding speech; experimental results verify that the system is capable of producing grammatically consistent stories with high translation fidelity and natural-sounding speech with improved clarity and pronunciation accuracy for supported languages. The findings of this study confirm that the combination of automated story creation with multilingual translation and speech output improves accessibility and supports language learning.
Keywords: Multilingual Story Generation, Natural Language Processing, Text-to-Speech Synthesis, Neural Machine Translation
-
INTRODUCTION
Storytelling has been recognized as a significant factor in education, culture, and cognitive development. Through storytelling, a person can understand complex ideas, improve language skills, and transfer cultural knowledge from one generation to another. Recently, the rapid advancement of artificial intelligence and natural language processing has enabled machines to create human-like text for various purposes, including educational, entertaining, and assisting tasks. Large language models have shown the ability to create coherent stories, answer questions, and create context dependent text using a small input prompt. These advancements have significantly increased the potential of artificial intelligence-based storytelling systems. Moreover, recent research in multilingual natural language processing has enabled artificial intelligence systems to understand and create text in multiple languages. Translation models, including mBART, M2M100, and No Language Left Behind, have significantly increased multilingual communication by enabling accurate translation in hundreds of languages. At the same time, recent advancements in neural speech synthesis, including FastSpeech 2 and VITS, have enabled machines to create human-like speech from text input. These advancements show the potential of artificial
intelligence in multilingual communication and content generation in a digital world.
Despite the developments mentioned above, there are still a few limitations associated with the existing digital storytelling systems. For instance, most of the existing systems support only one feature at a time, i.e., either text generation, translation, or speech synthesis. Although language generation models, such as BART and GPT models, have been able to generate high-quality texts [6], [11], they often lack the ability to integrate with the translation and speech synthesis models. Likewise, multilingual translation models and speech synthesis models are mostly developed independently, without considering the contextual consistency between the generated text, translated content, and speech output. Thus, the user is often forced to rely on the availability of multiple tools to generate the content, translate the content into the desired language, and finally convert the content into speech output. This is where the need for the development of an integrated system arises, considering the requirement of generating meaningful content, translating the content into the desired language, and finally converting the content into speech output. Moreover, most of the existing storytelling applications support only single language environments, which is a
major limitation for the development of multilingual communities and learning environments.
To address this gap, the proposed research introduces a Multilingual Story Generation and Speech System that integrates intelligent story generation, multilingual translation, and speech synthesis into a unified framework. The system allows users to input themes or keywords, which are then processed by an AI-based language model to generate a coherent and contextually relevant story. Modern transformer-based architectures such as GPT-style models, PaLM, OPT, and LLaMA have demonstrated strong capabilities in generating structured and meaningful narratives from limited prompts [8], [9], [13]. After the story is generated, the system uses multilingual translation techniques to convert the story into the users selected language while preserving its semantic meaning. Finally, the translated text can be converted into speech using advanced text-to-speech technologies to produce clear and natural audio output.
The system is implemented using a CGI (Common Gateway Interface) architecture, which helps facilitate communication between the user interface and the various modules involved in the system’s processing. The user inputs, including the keyword, language, and speech mode, are processed through the CGI architecture, which includes various server-side scripts involved in the processing of the user inputs, including the generation of the stories, the translation of the stories, and the speech synthesis of the stories. The overall design of the system helps ensure the efficient processing and delivery of the output to the user, considering the various technologies involved in the proposed system [12].
-
RELATED WORK
Recent breakthroughs in the development of artificial intelligence have seen tremendous improvements in the development of automatic text generation, translation, and synthesis. Early developments in the generation of text were mainly rule-based and template-oriented, which, although ensured grammatically correct output, were often too rigid and repetitive. The introduction of transformer architecture has significantly changed the paradigm in the development of natural language processing, which allows for the development of models that can capture long-range
dependencies and contextual relationships within the text [1]. Further developments in large-scale generative models have shown tremendous improvements in terms of coherence, creativity, and contextual awareness [2], [3]. More recently, advanced multimodal and multilingual models have further enhanced the capabilities of AI systems [4], [5]. However, it must be noted that the capabilities of these systems have largely remained in the realm of text generation and have yet to unify multilingual translation and synthesis within a single architecture.
In the development of machine translation systes, neural machine translation has largely replaced statistical machine translation systems. Multilingual translation frameworks, based on the transformer model, have enabled many-to-many translations without the use of a pivot language [6, 7]. Furthermore, the development of massively multilingual translation systems has improved the number of languages supported and the quality of translations for low-resource languages [8]. Although these systems have high linguistic accuracy, they have been developed as independent translation modules and may not be effective in maintaining the tone of the story, as well as the storytelling elements, in the translation of AI-generated content.
Speech synthesis has also developed from concatenative and parametric approaches to neural network-based approaches, which have improved the quality of synthesized speech [9, 10]. Although speech synthesis is widely used, it is generally developed as an independent module for translating static written text to speech and is not effective in the translation of dynamic and multilingual stories within an integrated framework.
While previous research shows good performance individually for tasks such as text generation, machine translation, and speech synthesis, few systems exist that integrate all these tasks into a comprehensive multilingual storytelling process. Current systems involve multiple tools for generation, translation, and speech synthesis, which might cause difficulties in terms of context maintenance, style, and user experience. The proposed system overcomes these challenges by effectively integrating intelligent story generation, machine translation, and neural speech synthesis into a comprehensive system [4], [8], [10].
Table-1
Title
Problem Stateme
nt
Solution
Methods
Limitatio ns
Langua ge Models are Few- Shot Learner s (Brown
et al.,
2020)
NLP
models need large labeled datasets
GPT3
performs tasks with few examples
Large transfor mer language model
High compute cost; hallucina tions
mBART
(Liu et al., 2020)
Poor translati on for lowreso urce languag
es
Multilingual pretrained translation model
Denoisin g encoder decoder transfor mer
Needs large datasets
M2M1
00 (Fan et al., 2020)
Translati on depends on English
pivot
Direct translation between 100 languages
Multilin gual transfor mer
Heavy computat ion
FastSpe ech 2
(Ren et
al., 2020)
Slow speech synthesi s
Fast nonautoregr essive TTS
Feedfor ward transfor mer
Needs highqual ity data
VITS
(Kim et al., 2021)
TTS
requires multiple compon
ents
Endtoend speech synthesis
VAE + GAN
architect ure
Complex training
BART
(Lewis et al., 2020)
Weak text generati on perform
ance
Robust seqtoseq model
Denoisin g autoenco der transfor
mer
Needs finetuni ng
CLIP
(Radfor d et al., 2021)
Vision models need labeled
data
Connects images with text
Contrasti ve learning
Limited reasonin g
PaLM
(Chowd hery et al.,
2022)
Need stronger reasonin g
in LMs
Largescale language model
540B
transfor mer
Very expensiv e
Literature Review Table
OPT
(Zhang et al., 2022)
Limited access to large
LLMs
Open pretrained models
Transfor mer architect
ure
Slightly lower performa
nce
No Langua ge Left Behind
(2022)
Many languag es lack translati
on
Translation for 200+ languages
Multilin gual transfor mer
Resource imbalanc e
GPT4
Technic al Report (2023)
Need better reasonin g &
multimo dal
ability
Advanced multimodal model
Large transfor mer
Details not public
Gemini (2023)
Difficult y handling multimo
dal tasks
Unified multimodal AI
Multimo dal transfor mer
High compute cost
LLaMA (2023)
Large models need huge resource
s
Efficient open LLM
Optimize d transfor mer
Smaller models less powerful
-
METHODOLOGY
While designing the Multilingual Story Generation and Speech System, our team firstly created the flowcharts and the UML diagrams such as the use case, class, sequence, and collaboration diagrams in order to outline the
architecture. Basically, the pipeline had begun with a user interface where the user selects the language and his story preferences. The inputs collected from the user was then passed to a Language Detector module, then to a Story Generator Module and finally to a Speech Synthesizer module. Whereas, the use case diagrams collected the
users interactions like the select a language, generate story, play audio entities. The class diagrams helped with the components like the Language Detector, Story Generator and Speech Synthesizer module. The Sequence diagrams helped to illustrate the invocation order among
these such as the users click on the submit button triggers the generation of story and later the synthesis is done.
Fig. 1. System Flowchart
Fig. 2. System Architecture
For the Story Generation, we had integrated an OpenAI GPT model through API calls initiated from the backend views. So, when the user submits any inputs such as language, theme or the keywords, the server would construct a prompt and send it to the language model. This large autoregressive language model generates coherent narrative text which are conditioned on these constraints. Then the response is post processed to remove any formatting inconsistencies and it normalises spacing by enforcing the selected language before it is being delivered to the user interface.
In practice, first we took the GPT output and set the users keywords into the prompt and then reinvoked the model. Conceptually, this corresponded to maximizing the
(story prompt) + score(keywords) even though we implemented it through the prompt engineering method rather than any explicit optimization.
LOGIN
We have used the Language Detection which computes the likelihood of the input under each supported language model such as English, Hindi, Telugu by using the character n-gram frequencies or a pretrained classifer. It then selects the language l with the highest posterior probability. We estimated L = argmaxl P( l text) by computing the (text )() for each language l. The detected language then informed us how we can construct the prompt for the story generator.
USER
RUN STORY GENERATOR
LOGOUT
Fig. 3. Use Case Diagram
In practice, first we took the GPT output and set the users keywords into the prompt and then reinvoked the
model. Conceptually, this corresponded to maximizing the (story prompt) + score(keywords) even though we implemented it through the prompt engineering method rather than any explicit optimization.
Algorithm-1:
Algorithm Multilingual_Story_Generation(K, L, S)
-
Initialize text generation model using GPT-2
-
Initialize translation module
-
Receive keywords K from user
-
Generate story
story Generate_Text(K, max_length = 500)
-
If L = Hindi then
story Translate(story, destination = “hi”)
-
Else if L = Telugu then
story Translate(story, destination = “te”)
-
Save story text into file “story.txt”
-
If S = “yes” then
audio Text_To_Speech(story, language = L) Save audio as “story.mp3”
-
Display generated story to the user
-
If speech enabled Provide link to play audio
End Algorithm
The architecture chosen by us was the Tacotron 2 end to end TTS. This is a sequence encoder decoder model which directly synthesises the speech by inputting the character or phonemes, then the model reads the text and converts it into a mel-spectrogram, which visually tells how the sound should look over time. This helps the system understand how the words are to be spoken with a proper pitch, rhythm and pronunciation.
Algorithm Speech_Playback()
-
Receive request for speech playback
-
Locate audio file “story.mp3”
-
Load audio file
-
Play audio using system audio player
-
Display story interface to the user End Algorithm
The spectrogram was then passed into a Neural Vocoder, the vocoder is the one which transforms the spectrogram into actual audio waveforms which generate a clear and natural speech. In probabilistic terms, we framed this step as finding the audio that maximizes ( , ) for the given text Overall, the tacotron converts text into sound features and the vocoder convert them into real speech audio. In our project, all the parts of the system were built using Python and its common libraries and APIs. We used the official Python SDK provided by OpenAI to connect with the GPT model and an open- source implementation of Tacotron 2 and WaveNet for text-to-speech conversion.
Algorithm-2:
DATABASE
-
USER
LOGIN
RUN STORY GENERATOR
LOGOUT
Fig. 4. Sequence Diagram
Fig. 5. Class Diagram
Algorithm-3:
Algorithm System_Workflow()
-
User opens story generation page
-
User enters keywords
-
User selects language
-
User selects speech option
-
Call Multilingual_Story_Generation()
-
Display generated story on webpage
-
If speech option selected – Enable speech playback End Algorithm
-
RESULT ANALYSIS
Our system was evaluated on the live user inputs rather any fixed dataset. The experiments performed by us could supply the free form prompts or the keywords entered by users and our system generated the stories in one of the three supported languages which are English, Hindi and Telugu. Basically, the implementation was in Python, we have used the standard NLP Libraries for text generation and a modern TTS (Text to speech) Engine. Our speech module supports multiple voices and also allows users to select emotional tone (neutral, happy, or sad) for the narration purpose. All the parameters like the language, the story length, the voice and the emotion were adjustable with the user interface and the story generation worked in real time for each request.
Fig. 6. Language-wise distribution of Stories.
Here is a bar chart which summarizes the total number of stories generated in each language. In our trails, about half of all stories were generated in English, while Hindi and Telugu accounted roughly 30-20% of total. This distribution reflects user selection patterns during testing.
Fig. 7. User Selection Frequency of emotional tone.
This represents the frequency with which the users chose each emotional tone for speech synthesis.
Fig. 8. Speech Synthesis accuracy feedback (user rating vs. language)
This shows the average user ratings for speech synthesis accuracy across different languages on a scale of 1 to 5. We can see that the language English have received the highest mean score of 4.5, followed by Hindi with 4.3 and Telugu with 4.0. The results in the graph can say that the system produced consistently accurate and natural speech output for all supported languages.
Fig. 9. System Response Time vs Story Length This graph shows how the story generation time (in
minutes) varied with the story length (in words). We can observe a linear trend here, as very short stories (~100 words) took around 1 to 1.2 minutes to generate, medium length ones took around 3 minutes and the longer ones took around 5 minutes to generate the story.
Table-2: Average Story Generation time per language
Multiple trails were conducted for every language to ensure consistent and reliable measurements. For each language, the processing times were averaged to compute the mean generation time. All timings were recorded on the same hardware and included both text generation and the speech synthesis preparation by ensuring a fair comparison.
Table-3: Speech clarity ratings for each language
This table depicts how the users evaluated the clarity of the speech synthesized by using a rating scale of 5 points. We can see that the feedback was collected separately for the English, Hindi and Telugu Outputs. Here, multiple ratings were recorded for each language and they have been averaged to obtain the mean clarity score. All languages scored above 4, indicating clear and easily understandable speech.
Table-4: System Performance with vs. without emotional modulation
This compares the system performance under two models with emotion modulation and without emotion. When
emotion speech was enabled, the average user engagement score increased from 7.2 to 8.4, these results show that adding emotional expression improved user engagement and encouraged longer interaction within the system.
Fig. 10. User-Input Interface
The Generate Story Screen enables the user to provide the story keywords, select the language, and speech mode, after which the system will generate the story accordingly, including the selected language and speech mode, if specified.
Fig. 11. Speech Selection Interface
The user can enter the story keywords, select the language and speech of their choice, with or without speech, and the system will generate the story accordingly, possibly converting it into audio form as well.
Fig. 12. Generated Story as Output
The system processes the keywords entered by the user, the chosen language, and then generates the story based on the input. Finally, it displays the generated story output on the screen with the option of playing the speech.
-
DISCUSSION
In this article, an integrated system for generating multilingual stories and expressive speech synthesis was presented. The idea is to use advanced large language models in conjunction with multilingual text-to-speech systems for generating texts and converting them into natural and expressive speech. Recent advancements in large language have greatly improved the quality of text generation and understanding in different languages [1], [8], [11], [14]. By integrating these models with advanced neural-based text-to-speech systems, a system can be created for generating narration and speech in different voices.
The proposed framework improvesaccessibility by supporting multilingual storytelling, allowing for audio narration for users, including the visually impaired. Recent developments in neural-based TTS models, such as FastSpeech 2 and VITS, have enabled the production of high-quality and expressive speech from text, improving the user experience for AI-based storytelling tools [4], [5]. Moreover, multilingual research projects indicate the increasing possibilities of AI tools for supporting multiple languages and cultures[10].
However, several challenges remain. Large language models may still produce occasional inconsistencies in long narrative structures, and multilingual speech synthesis requires extensive training data to maintain naturalness and emotional expressiveness in different languages [9], [13]. Future work will focus on improving
narrative coherence, expanding multilingual datasets, and enhancing emotion-aware speech synthesis models.
Overall, our integrated approach contributes an accessible and real time story telling solution while acknowledging these constraints..
-
CONCLUSION
From words to moving pictures – this study introduced a tool building videos automatically through text, guided by speech synthesis, image analysis, and language understanding. Built because older methods took too long, demanded skill, and soaked up effort. Tests proved it could assemble clips across several scenes fast, usually under a minute, keeping spoken lines matched and stories clear. Instead of scattered parts, here came one smooth flow: smart enough to stitch pieces together without constant oversight, shrinking the space where past efforts fell short.
-
FUTURE WORK
Future research will concentrate on the extension of the system to handle more regional and minority languages by creating different linguistic datasets. The system will also employ adaptive personalization strategies to personalize stories according to user preferences and interaction patterns. The speech synthesis component of the system will be improved to handle emotional expressions and multiple speakers. The system will also be integrated with new technologies such as augmented reality and virtual reality to develop interactive storytelling systems for educational and assistive purposes.
-
REFERENCES
-
Brown, T. B., et al.(2020). Language Models are FewShot Learners. NeurIPS.
-
Liu, Y., et al. (2020). Multilingual Denoising Pre-training for Neural Machine Translation (mBART). TACL.
-
Fan, A., et al. (2020). Beyond English-Centric Multilingual Machine Translation (M2M-100). arXiv.
-
Ren, Y., et al. (2020). FastSpeech 2: Fast and HighQuality End-to- End Text to Speech. ICLR.
-
Kim, J., Kong, J., & Son, J. (2021). Conditional Variational Autoencoder with Adversarial Learning for End-to-End TTS (VITS). ICML.
-
Lewis, M., et al. (2020). BART: Denoising Sequence-toSequence Pre-training for Natural Language Generation. ACL.
-
Radford, A., et al. (2021). Learning Transferable Visual Models From Natural Language Supervision (CLIP). ICML.
-
Chowdhery, A., et al. (2022). PaLM: Scaling Language Modeling with Pathways. arXiv.
-
Zhang, S., et al. (2022). OPT: Open Pre-trained Transformer Language Models. arXiv.
-
NLLB Team. (2022). No Language Left Behind: Scaling Human- Centered Machine Translation. arXiv.
-
OpenAI. (2023). GPT-4 Technical Report.
-
Google DeepMind. (2023). Gemini: A Family of Highly Capable Multimodal Models. arXiv.
-
Touvron, H., et al. (2023). LLaMA: Open and Efficient Foundation Language Models. arXiv.
-
Dubey, A., et al. (2024).
