An automated script generation system and method

CN123013860APending Publication Date: 2026-10-30SICHUAN WANTAN MEDIA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510034014.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

相较于传统剧本创作需要编剧投入大量时间和精力进行构思、编写和修改,基于AI自动生成剧本的技术,可以在短时间内生成大量的剧本内容,极大地提高了创作效率,但目前基于AI模型来生成剧本脚本,存在一个通病,即普通用户往往难以像专业编剧那样准确表达创作需求,这就导致AI模型无法充分发挥其潜力,从而极大影响剧本创作效率和质量

Benefits of technology

[0046]本发明公开了一种自动化剧本生成系统,通过账号信息单元、创作方法单元、思维模型单元及知识库单元的协同工作,解决现有技术在剧本创作中的效率和质量问题,并且提高了适用性,通过该系统,可以自动生成与账号调性高度一致,并具备较强传播力的剧本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123013860A_ABST
    Figure CN123013860A_ABST
Patent Text Reader

Abstract

The application discloses an automatic script generation system and method, and relates to the technical field of script generation.The application is provided with an account information unit, a creation method unit, a thinking model unit and a knowledge base unit, and the creation method unit is further provided with a topic selection module, an outline module, an inversion module, a character relationship module, a scene module, a dialogue module and an emotional curve module.The application can provide a more intelligent, efficient and customized script generation scheme through the cooperative work of the account information unit, the creation method unit, the thinking model unit and the knowledge base unit, can significantly improve the creation efficiency, reduce manual intervention and time consumption, can provide script content that is highly consistent with the tone of the account and meets the needs of target audiences, can enhance the spreadability and attractiveness of the script, can improve the empathy and participation of audiences, and can meet the diversified needs of scriptwriters through personalized thinking model and knowledge base support.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of script generation technology, and more specifically, to an automated script generation system and method. Background Technology

[0002] Based on user creative input and the knowledge learned by the model, the AI ​​system automatically generates complete scripts. Compared to traditional scriptwriting, which requires screenwriters to invest a significant amount of time and effort in conception, writing, and revision, AI-based script generation technology can generate a large amount of script content in a short time, greatly improving creative efficiency. However, current AI-based script generation suffers from a common problem: ordinary users often struggle to express their creative needs as accurately as professional screenwriters. This prevents the AI ​​model from fully realizing its potential, significantly impacting script creation efficiency and quality. Therefore, there is an urgent need for an automated script generation system that can efficiently and automatically generate high-quality script content, serving more ordinary users and offering broader applicability. Summary of the Invention

[0003] To address the shortcomings of the existing technology, the present invention provides an automated script generation system, the system comprising:

[0004] Account Information Unit: The basic information of the user account is parsed to obtain the parsing results, and the historical evolution data of the user account within a preset time period is obtained. Based on the historical evolution data, the creative direction and content category of the script content are obtained, and the acquisition results are obtained.

[0005] The creative methodology module includes modules for topic selection, outline, plot twist, character relationships, scene setting, dialogue, and emotional curve.

[0006] Topic selection module: Based on the analysis results and the acquisition results, determine the type, style, basic contradiction, and main contradiction of the topic, and obtain the topic selection results;

[0007] Outline module: Based on the basic and main contradictions of the selected topic, and combined with the pre-set story structure, a story outline corresponding to the script is generated;

[0008] Reversal Module: During the script generation process, the screenwriter's reversal data is introduced, and a verification standard is set. The verification standard is used to determine whether the script after reversal conforms to the preset logic.

[0009] Character Relationships Module: During the script generation process, analyze and establish the relationship network between the characters in the script, and determine the goals and motivations of each character;

[0010] Scene module: Based on the topic selection results and the story outline, set the story scene and generate the corresponding scene description;

[0011] Dialogue module: Obtain personality data and background data for each character in the script, and generate the language style for each character based on the personality data and background data;

[0012] Emotional Curve Module: During the script generation process, emotional curve data is introduced. Based on the emotional curve data, the changing trends of emotions in the script are analyzed to obtain the analysis results. Based on the analysis results, the corresponding storyline is generated.

[0013] Thinking Model Unit: Analyze and sort out the thinking patterns and creative habits of multiple screenwriters to obtain a sorted dataset. Extract the corresponding creative data from the sorted dataset and form a corresponding creative logic chain based on all the creative data.

[0014] Knowledge base unit: Establish and dynamically update a knowledge base that covers the variable factors in the creation method unit.

[0015] This invention is achieved through the following technical solution: This solution sets up an account information unit, a creation method unit, a thinking unit, and a knowledge base unit;

[0016] Account Information Unit: By analyzing the basic information of the account (such as name, positioning, theme, style, fan profile, persona, etc.) and obtaining the historical evolution data of the user account, the creative direction and content category of the script are obtained based on the historical evolution data; based on the comprehensive analysis of account information, a clear script creation direction and content framework are formed.

[0017] The creative methodology unit includes modules for topic selection, outline, plot twist, character relationships, scene setting, dialogue, and emotional curve. Dynamic calls to these modules ensure the logic, interest, and appeal of the generated script. Calls to the plot twist and emotional curve modules help refine the script's structure and content.

[0018] Mind Model Unit: By analyzing and sorting out the screenwriter's mind model and creative habits, the necessary creative data is extracted and a corresponding creative logic chain is formed;

[0019] Knowledge Base Unit: Establish and dynamically update the knowledge base, continuously accumulating and updating keywords, expressions, and related data to make the generated scripts more unique and novel in style and content;

[0020] This solution, through the collaborative work of account information units, creative method units, thinking model units, and knowledge base units, provides a more intelligent, efficient, and customized script generation solution. It not only significantly improves creative efficiency and reduces manual intervention and time consumption; but also provides script content that is highly consistent with the account's tone and meets the needs of the target audience; enhances the script's dissemination and appeal, and increases audience resonance and participation; and meets the diverse needs of screenwriters through personalized thinking models and knowledge base support.

[0021] As an optional technical solution, the reversal module incorporates the screenwriter's reversal data during the script generation process, including:

[0022] Collect scripts containing plot twists from multiple screenwriters' script libraries to obtain a set of plot twist scripts;

[0023] Manually label the content and type of plot twists in all plot twist script collections;

[0024] Extract relevant reversal features from a set of manually annotated reversal scripts and organize them into a reversal feature library;

[0025] Construct an inversion model and integrate the inversion feature library into the training data of the inversion model to train the inversion model;

[0026] The context of the script is obtained and input into a trained plot twist model to generate a script containing plot twists.

[0027] As an optional technical solution, the inversion model sets the following verification criteria:

[0028] Obtain the script containing the plot twist generated by the aforementioned plot twist model, and denote it as the first script;

[0029] Obtain the event corresponding to the first script and denote it as the first event;

[0030] If the first event has a broken causal chain, or the plot development order does not conform to the preset order, or the character's state remains inconsistent, the first script is determined to fail the inspection standard.

[0031] As an optional technical solution, the mental model unit further includes:

[0032] Obtain script type data, and based on different types of data, create multiple mental model templates;

[0033] The mental model unit generates scripts of a corresponding style by acquiring the relevant mental model templates.

[0034] As an optional technical solution, the mental model unit further includes:

[0035] The creative style data of multiple screenwriters were analyzed and processed to obtain the results;

[0036] Based on the processing results, the weights and generation strategies of the thinking model template are adjusted to ensure that the scripts generated through the thinking model template maintain stylistic consistency.

[0037] As an optional technical solution, the knowledge base also includes the classification and management of different dimensions of the script: all dimensions include character dimension, scene dimension, dialogue dimension, emotion dimension, conflict and contradiction dimension, theme and style dimension.

[0038] To address the shortcomings of the existing technology, this invention provides an automated script generation method, the method comprising:

[0039] Acquire user input data, organize the input data, and output corresponding creative element data;

[0040] Based on the creative element data, corresponding topic selection data is generated, including script titles and story summaries;

[0041] Based on the topic selection data, script outline data is generated;

[0042] Based on the script outline data, generate the corresponding script data;

[0043] The script data is then assessed for quality and optimized.

[0044] The optimized script data is then output to obtain the corresponding script.

[0045] One or more technical solutions provided by this invention have at least the following technical effects or advantages:

[0046] This invention discloses an automated script generation system. By working collaboratively with an account information unit, a creative method unit, a thinking model unit, and a knowledge base unit, it solves the efficiency and quality problems in script creation in existing technologies and improves applicability. Through this system, scripts that are highly consistent with the account's tone and have strong dissemination power can be automatically generated. Attached Figure Description

[0047] The accompanying drawings, which are provided to further illustrate embodiments of the invention and constitute a part of this invention, are not intended to limit the scope of the invention.

[0048] Figure 1 This is a schematic diagram of the components of an automated script generation system according to the present invention;

[0049] Figure 2This is a schematic diagram of the composition of the creation method unit in this invention;

[0050] Figure 3 This is a schematic diagram of an automated script generation method according to the present invention. Detailed Implementation

[0051] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, where there is no conflict, the embodiments of the present invention and the features thereof can be combined with each other.

[0052] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0053] Example 1

[0054] Please refer to Figure 1 and Figure 2 , Figure 1 This is a schematic diagram of the components of an automated script generation system according to the present invention. Figure 2 This is a schematic diagram of the composition of the creation method unit in this invention. The system includes:

[0055] Account Information Unit: The basic information of the user account is parsed to obtain the parsing results, and the historical evolution data of the user account within a preset time period is obtained. Based on the historical evolution data, the creative direction and content category of the script content are obtained, and the acquisition results are obtained.

[0056] The creative methodology module includes modules for topic selection, outline, plot twist, character relationships, scene setting, dialogue, and emotional curve.

[0057] Topic selection module: Based on the analysis results and the acquisition results, determine the type, style, basic contradiction, and main contradiction of the topic, and obtain the topic selection results;

[0058] Outline module: Based on the basic and main contradictions of the selected topic, and combined with the pre-set story structure, a story outline corresponding to the script is generated;

[0059] Reversal Module: During the script generation process, the screenwriter's reversal data is introduced, and a verification standard is set. The verification standard is used to determine whether the script after reversal conforms to the preset logic.

[0060] Character Relationships Module: During the script generation process, analyze and establish the relationship network between the characters in the script, and determine the goals and motivations of each character;

[0061] Scene module: Based on the topic selection results and the story outline, set the story scene and generate the corresponding scene description;

[0062] Dialogue module: Obtain personality data and background data for each character in the script, and generate the language style for each character based on the personality data and background data;

[0063] Emotional Curve Module: During the script generation process, emotional curve data is introduced. Based on the emotional curve data, the changing trends of emotions in the script are analyzed to obtain the analysis results. Based on the analysis results, the corresponding storyline is generated.

[0064] Thinking Model Unit: Analyze and sort out the thinking patterns and creative habits of multiple screenwriters to obtain a sorted dataset. Extract the corresponding creative data from the sorted dataset and form a corresponding creative logic chain based on all the creative data.

[0065] Knowledge base unit: Establish and dynamically update a knowledge base that covers the variable factors in the creation method unit.

[0066] Specific embodiments of the present invention are as follows:

[0067] Account Information Unit: This unit provides a detailed analysis of a user account's positioning, style, and fan demographics to ensure that the script content meets the needs of the target audience. It also continuously tracks the account's evolution and obtains relevant evolution data to recommend matching content categories and creative directions.

[0068] Creative Methods Unit:

[0069] Topic Selection Module: Based on the analysis results and acquisition results (such as account positioning and fan profile data), determine the type, style, basic conflict, and main conflict of the topic to ensure that the generated script meets the needs of the target audience; the main conflict is the most prominent and consistent conflict in the script, which is the core driving force for the development of the plot, and is usually reflected in the conflict between the main characters and the external environment or internal psychology; while the basic conflict is the root of all conflicts in the script, and is the fundamental reason for the occurrence of various conflicts and contradictions;

[0070] Outline module: Based on the basic and main conflicts of the selected topic, and combined with the story structure (cause, development, climax and ending), a reasonable story outline is generated to ensure the script's logic and appeal;

[0071] Twist Module: Introduces the screenwriter's twist techniques and sets verification standards to ensure that the twist points are unexpected yet logical, thereby enhancing the story's appeal.

[0072] Task Relationship Module: Analyze and establish the relationship network of characters in the script, clarify the goals and motivations of each character, ensure the rationality of character development, and enhance the complexity and watchability of the plot;

[0073] Scene module: Based on the topic and outline, key scenes are set and visually impactful scene descriptions are generated to enhance the script's expressiveness;

[0074] Dialogue module: Generate personalized dialogues based on the character's personality traits and background, ensuring that each character's language style matches their character design, enhancing the script's realism and appeal;

[0075] Emotional Curve Module: Introduces the concept of an emotional curve, analyzes the changing trends of emotions in the script to help generate plots that resonate with the audience, thus enriching the emotional layers of the script;

[0076] Mental Model Unit:

[0077] By analyzing the screenwriter's thought patterns and creative habits, extracting the core creative data required by the screenwriter, and forming a systematic script creation logic, the depth and coherence of the generated content are improved based on the screenwriter's creative logic chain, ensuring that the generated script has high logical consistency and quality.

[0078] Knowledge base unit:

[0079] Establish and dynamically update a knowledge base that covers variable factors in the creative methodology unit, accumulates rich keywords and expressions, and ensures that each generated script has a unique style and meets expectations.

[0080] Furthermore, during the script generation process, the reversal module incorporates the screenwriter's reversal data, including:

[0081] Collect scripts containing plot twists from multiple screenwriters' script libraries to obtain a set of plot twist scripts;

[0082] Manually label the content and type of plot twists in all plot twist script collections;

[0083] Extract relevant reversal features from a set of manually annotated reversal scripts and organize them into a reversal feature library;

[0084] Construct an inversion model and integrate the inversion feature library into the training data of the inversion model to train the inversion model;

[0085] The context of the script is obtained and input into a trained plot twist model to generate a script containing plot twists.

[0086] The inversion model specification test criteria include:

[0087] Obtain the script containing the plot twist generated by the aforementioned plot twist model, and denote it as the first script;

[0088] Obtain the event corresponding to the first script and denote it as the first event;

[0089] If the first event has a broken causal chain, or the plot development order does not conform to the preset order, or the character's state remains inconsistent, the first script is determined to fail the inspection standard.

[0090] Furthermore, the mental model unit also includes:

[0091] Obtain script type data (such as comedy, tragedy, suspense, etc.), and build multiple mental model templates based on different types of data;

[0092] The mental model unit generates scripts of a corresponding style by acquiring the relevant mental model templates.

[0093] Furthermore, the mental model unit also includes:

[0094] The creative style data of multiple screenwriters (such as delicate emotional descriptions and rapid plot progression) were analyzed and processed to obtain the results.

[0095] Based on the processing results, the weights and generation strategies of the thinking model template are adjusted to ensure that the scripts generated through the thinking model template maintain stylistic consistency.

[0096] Furthermore, the thought model unit also includes providing corresponding modular support for different screenwriters' creative habits (such as reverse thinking, plot-driven, character-driven, etc.), so that the generated scripts are more in line with the screenwriters' personalized needs.

[0097] Furthermore, the knowledge base also includes the classification and management of different dimensions of the script: all dimensions include character dimension, scene dimension, dialogue dimension, emotion dimension, conflict and contradiction dimension, theme and style dimension, specifically manifested as follows:

[0098] Character dimension: This includes the character's personality traits, professional background, relationship network, etc., to ensure that the character is well-developed and realistic.

[0099] Scene Dimension: Provides various types of scene descriptions (such as city, countryside, indoor, outdoor, etc.) and refines the elements in the scene (such as weather, atmosphere, decoration, etc.) to help generate visually impactful scenes;

[0100] Dialogue dimension: Based on character traits and background, provide dialogue modules suitable for different situations to enhance the authenticity and personalization of the dialogue;

[0101] Emotional dimension: Summarize different emotional states (such as happiness, sadness, tension, etc.) to ensure that the development of the script plot has emotional depth and resonance;

[0102] Conflict and contradiction dimension: covering the basic conflict, the main conflict, and the ways to resolve the conflict, ensuring that the conflict in the story is reasonable and dramatic;

[0103] Subject and style dimensions: including different themes (such as coming-of-age, romance, adventure) and styles (such as humor, suspense, tragedy), to help generate scripts that meet specific subject and style requirements.

[0104] The dynamic updating of the knowledge base ensures that the generated scripts strike a balance between diversity and consistency, meeting the needs and expectations of different users.

[0105] Furthermore, regarding the introduction of sentiment curve data, the specific details include:

[0106] Establish a sentiment analysis model, and based on the sentiment analysis model, analyze and obtain the sentiment score of each segment in the script;

[0107] Based on the polynomial fitting method, the emotional score of each segment in the script is fitted into an emotional curve.

[0108] The underlying technology for implementing the automated script generation system in this embodiment is as follows:

[0109] Analyze the account's persona prompt: use analytical-character-setting;

[0110] To determine the user input prompt, use judge-user-input.yaml;

[0111] Generate topic prompts: If account information is available, use topic.yaml; if no account information is available, create a persona using topic-character-setting.yaml.

[0112] Script generation: Use story.yaml;

[0113] Creative Thinking Framework:

[0114] For interview style categories, use the interview_style_thinking_frame framework;

[0115] Satirical comedy, using the satirical_comedy_thinking-frame framework;

[0116] Short drama style, using the short_play_thingking_frame framework;

[0117] Humorous jokes category, using the funny_vines_thinking_frame framework;

[0118] Contrast / comparison classes use the contrast_style_thinking_frame framework;

[0119] General-purpose plot-driven games, using the Universal_drama_thinking_frame framework;

[0120] One person plays multiple roles, using the plays_many_roles_thinking_frame framework;

[0121] For deep story-driven games, use the Deep_story_thinking_framework.

[0122] For comedies and humorous content, use the Funny_comedy_thinking_frame framework.

[0123] This is a snapshot vlog, using the Vlog_thinking_frame framework.

[0124] Variable definition explanation:

[0125] JUDGE_USER_INPUT: Stores key elements extracted from user input that are helpful for creation;

[0126] ACCOUNT_INFO: Stores user account information;

[0127] CHARACTER_SETTING: Stores character profile information;

[0128] HOT_INFO: Retrieves user-selected hotspot information;

[0129] NEGATIVE_WORD: Stores a list of generated topic selections to avoid duplication;

[0130] INPUT: Stores the generated topic selections;

[0131] OUTLINE_REQUIREMENT: Requirements for expanding the story outline;

[0132] STORY_PRINCIPLE: The principle of refining an outline into a complete story script;

[0133] STORY_EXAMPLE: Add expert script examples.

[0134] Rule definition explanation:

[0135] "<Key Elements>" includes the variable JUDGE_USER_INPUT, which is the element extracted from user input;

[0136] The "<Account Information>" field contains the variables ACCOUNT_NAME, TYPE, STYLE, SUMMARY, and ROLE, which are used to store account information.

[0137] The "<Character Information>" contains the variable CHARACTER_SETTING, which is used to store character information;

[0138] The "<Hotspot Information>" field contains the variable HOT_INFO, which stores the hotspot information selected by the user.

[0139] Includes the variable NEGATIVE_WORD, used to avoid generating duplicate topic lists;

[0140] "<Important Note>" represents a constant template, which is the key point that the model needs to pay attention to;

[0141] The "<Topic Selection>" field contains the variable INPUT, which represents the generated topic selection content.

[0142] The "<Requirements>" section includes the variable OUTLINE_REQUIREMENT, which is a description of the expanded outline requirements.

[0143] The "<Principles>" includes the variable STORY_PRINCIPLE, which describes the requirements for refining the outline into a complete story script.

[0144] Generation process:

[0145] User information construction phase:

[0146] For example, user account information; if you don't have an account, click "Create Persona".

[0147] Select a hot topic from the list. After selecting a hot topic, it will be incorporated into the prompt for generating topics. You can choose not to select a hot topic.

[0148] In the user input box, users can enter their creative ideas, which will be incorporated into the prompt that generates the topic.

[0149] Content generation stage:

[0150] The first stage involves generating topics and outlines.

[0151] Output the thought process for generating the topic; output the topic and a brief description of the story; output the thought process for generating the outline; output the outline content;

[0152] The second stage generates the complete script.

[0153] Output the thought process behind generating the script;

[0154] Output the complete script content.

[0155] Example 2

[0156] Please refer to Figure 3 , Figure 3 This is a schematic diagram of an automated script generation method according to the present invention, the method comprising:

[0157] Acquire user input data, organize the input data, and output corresponding creative element data;

[0158] Based on the creative element data, corresponding topic selection data is generated, including script titles and story summaries;

[0159] Based on the topic selection data, script outline data is generated;

[0160] Based on the script outline data, generate the corresponding script data;

[0161] The script data is then assessed for quality and optimized.

[0162] The optimized script data is then output to obtain the corresponding script.

[0163] Specifically, the judge-user-input.yaml block organizes the input data and outputs creative element data in JSON format; the topic.yaml block generates topic data, which includes the script title and story summary; the outline.yaml block generates outline data; the story.yaml block generates script data; and the evaluation-script.yaml block performs quality evaluation on the script data.

[0164] Furthermore, the use of the above prompt block includes: the topic.yaml block generates a prompt for users with accounts, including account analysis, topic creation steps, hot topics, user input, etc.; it determines whether the user selects a hot topic and decides whether to incorporate it into the prompt; the judge-user-input.yaml block determines whether the user inputs their creative ideas and whether the input is valid, deciding whether to incorporate the user's ideas into the topic prompt; based on the generated topic output and story outline, this information is incorporated into the outline.yaml block; then, based on the outline output, this information is incorporated into the story.yaml block; finally, the evaluation-script.yaml block performs a quality evaluation of the script data and outputs an optimized script.

[0165] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0166] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. An automated script generation system, characterized in that, The system includes: Account Information Unit: The basic information of the user account is parsed to obtain the parsing results, and the historical evolution data of the user account within a preset time period is obtained. Based on the historical evolution data, the creative direction and content category of the script content are obtained, and the acquisition results are obtained. The creative methodology module includes modules for topic selection, outline, plot twist, character relationships, scene setting, dialogue, and emotional curve. Topic selection module: Based on the analysis results and the acquisition results, determine the type, style, basic contradiction, and main contradiction of the topic, and obtain the topic selection results; Outline module: Based on the basic and main contradictions of the selected topic, and combined with the pre-set story structure, a story outline corresponding to the script is generated; Reversal Module: During the script generation process, the screenwriter's reversal data is introduced, and a verification standard is set. The verification standard is used to determine whether the script after reversal conforms to the preset logic. Character Relationships Module: During the script generation process, analyze and establish the relationship network between the characters in the script, and determine the goals and motivations of each character; Scene module: Based on the topic selection results and the story outline, set the story scene and generate the corresponding scene description; Dialogue module: Obtain personality data and background data for each character in the script, and generate the language style for each character based on the personality data and background data; Emotional Curve Module: During the script generation process, emotional curve data is introduced. Based on the emotional curve data, the changing trends of emotions in the script are analyzed to obtain the analysis results. Based on the analysis results, the corresponding storyline is generated. Thinking Model Unit: Analyze and sort out the thinking patterns and creative habits of multiple screenwriters to obtain a sorted dataset. Extract the corresponding creative data from the sorted dataset and form a corresponding creative logic chain based on all the creative data. Knowledge base unit: Establish and dynamically update a knowledge base that covers the variable factors in the creation method unit.

2. The automated script generation system according to claim 1, characterized in that, The reversal module incorporates the screenwriter's reversal data during script generation, including: Collect scripts containing plot twists from multiple screenwriters' script libraries to obtain a set of plot twist scripts; Manually label the content and type of plot twists in all plot twist script collections; Extract relevant reversal features from a set of manually annotated reversal scripts and organize them into a reversal feature library; Construct an inversion model and integrate the inversion feature library into the training data of the inversion model to train the inversion model; The context of the script is obtained and input into a trained plot twist model to generate a script containing plot twists.

3. The automated script generation system according to claim 2, characterized in that, The inversion model specification test criteria include: Obtain the script containing the plot twist generated by the aforementioned plot twist model, and denote it as the first script; Obtain the event corresponding to the first script and denote it as the first event; If the first event has a broken causal chain, or the plot development order does not conform to the preset order, or the character's state remains inconsistent, the first script is determined to fail the inspection standard.

4. The automated script generation system according to claim 1, characterized in that, The mental model unit also includes: Obtain script type data, and based on different types of data, create multiple mental model templates; The mental model unit generates scripts of a corresponding style by acquiring the relevant mental model templates.

5. The automated script generation system according to claim 4, characterized in that, The mental model unit also includes: The creative style data of multiple screenwriters were analyzed and processed to obtain the results; Based on the processing results, the weights and generation strategies of the thinking model template are adjusted to ensure that the scripts generated through the thinking model template maintain stylistic consistency.

6. The automated script generation system according to claim 1, characterized in that, The knowledge base also includes the classification and management of different dimensions of the script: all dimensions include character dimension, scene dimension, dialogue dimension, emotion dimension, conflict and contradiction dimension, theme and style dimension.

7. An automated script generation method, characterized in that, The method includes: Acquire user input data, organize the input data, and output corresponding creative element data; Based on the creative element data, corresponding topic selection data is generated, including script titles and story summaries; Based on the topic selection data, script outline data is generated; Based on the script outline data, generate the corresponding script data; The script data is then assessed for quality and optimized. The optimized script data is then output to obtain the corresponding script.