Enhancing movie script creation through retrieval-augmented LLMs and stable diffusion scene modeling

Script writing has become a labor-intensive process, especially when tailored to specific scene setting, culture or character. Recent advancements in the field of Natural Language Processing and Deep Learning algorithms have made it possible to automate the process of script writing. With a simple prompt, it is possible to generate the entire script for a movie, which would be customizable by the input's creativity and imagination. Retrieval Augmented Generation has the potential to facilitate rapid prototyping of movie scripts by ingesting the data in a vector database and retrieving scripts which would be most similar with the input prompt. These retrieved scripts would act as part of context for the Large Language Models and prevent them from hallucinating. This approach enhances the potential of these LLMs to generate context-specific output which is essential when taking into consideration the fine details mentioned in the input prompt. Fine-tuning LLMs is another approach which helps downstream the LLMs to learn how to generate movie scripts. With the inclusion of visualizing the script elements, one can conveniently turn their ideas into a script and scenes. Combining the capabilities of Stable Diffusion with the LLMs, script generation can be extended to scene generation. On training multiple models on the dataset of movie scripts, Gemini-Pro (for RAG) was very effective with a cosine similarity of 0.5713 whereas GPT-2 and Bloom (for fine-tuning) showed a cosine similarity of 0.5011 and 0.5058 respectively between the input prompt and the generated script, and perplexity of 1.7443 for GPT-2 and 1.6892 for Bloom showing that GPT-2 is able to generate scripts which are coherent and relevant to the input prompt and has thus understood the language structure and patterns well. A CLIP score of 0.3061 was achieved with using CompVis for generation of movie scenes.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-04-01
DOI
https://doi.org/10.1038/s41598-026-45852-z
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing movie script creation through retrieval-augmented LLMs and stable diffusion scene modeling

Mayur Gaikwad, Aniket Kailas Shahade, Rampalli Agni Mithra, Ansh Lulla et al.
Scientific Reports
Generative Adversarial Networks and Image Synthesis
article

Enhancing movie script creation through retrieval-augmented LLMs and stable diffusion scene modeling

Mayur Gaikwad, Aniket Kailas Shahade, Rampalli Agni Mithra, Ansh Lulla, Aayush Koul
article en

Abstract

Script writing has become a labor-intensive process, especially when tailored to specific scene setting, culture or character. Recent advancements in the field of Natural Language Processing and Deep Learning algorithms have made it possible to automate the process of script writing. With a simple prompt, it is possible to generate the entire script for a movie, which would be customizable by the input's creativity and imagination. Retrieval Augmented Generation has the potential to facilitate rapid prototyping of movie scripts by ingesting the data in a vector database and retrieving scripts which would be most similar with the input prompt. These retrieved scripts would act as part of context for the Large Language Models and prevent them from hallucinating. This approach enhances the potential of these LLMs to generate context-specific output which is essential when taking into consideration the fine details mentioned in the input prompt. Fine-tuning LLMs is another approach which helps downstream the LLMs to learn how to generate movie scripts. With the inclusion of visualizing the script elements, one can conveniently turn their ideas into a script and scenes. Combining the capabilities of Stable Diffusion with the LLMs, script generation can be extended to scene generation. On training multiple models on the dataset of movie scripts, Gemini-Pro (for RAG) was very effective with a cosine similarity of 0.5713 whereas GPT-2 and Bloom (for fine-tuning) showed a cosine similarity of 0.5011 and 0.5058 respectively between the input prompt and the generated script, and perplexity of 1.7443 for GPT-2 and 1.6892 for Bloom showing that GPT-2 is able to generate scripts which are coherent and relevant to the input prompt and has thus understood the language structure and patterns well. A CLIP score of 0.3061 was achieved with using CompVis for generation of movie scenes.

Scientific Reports
Symbiosis International University (IN)
Openalex Percentile: Top 37%
Generative Adversarial Networks and Image Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.