Design and Implementation of Story Creation Software Based on Large Language Models
摘要
With the rapid development of Large Language Models (LLMs), the application of artificial intelligence in story creation has gradually become a frontier direction of interdisciplinary research. Although significant progress has been made in recent years regarding text generation quality, style transfer, and automatic evaluation, most existing studies focus on evaluating generative capabilities or providing fragment-level rewriting assistance. However, there remains a notable gap in tool-oriented implementations for the complete creative process, role modeling driven by psychological theories, and the engineering transformation of literary narrative theories to support systematic workflows for creators. To address these issues, this paper proposes and implements a story creation software system based on LLMs, integrating literary narrative research with engineering practice. The software adopts a modular design, decomposing the creative process into eight core stages: theme and idea generation, one-sentence story, character setting, story background, structural framework, plot development, writing and narration, and theme reinforcement with title generation. Innovatively, the Big Five Personality Model is introduced into the character setting module to construct psychological profiles through personality dimensions. By combining this with Agent-based techniques to drive character behavior, the system generates and iteratively develops plots with characters endowed with Big Five traits, thereby enhancing character plausibility and narrative coherence. The system leverages the DeepSeek-V3 model for Chinese text generation and adopts a Flask-based microservice architecture for front–back-end interaction. Experimental results and user feedback demonstrate that the software not only improves creative efficiency and literary quality but also highlights the application potential of interdisciplinary methods in artificial intelligence and cultural creativity.