Methods, apparatus and storage media for generating script products

By inputting natural language materials through the interface and generating script products using natural language processing models, the efficiency and creative limitations of traditional script creation are solved, enabling efficient and low-cost script creation and meeting diverse needs.

CN118964416BActive Publication Date: 2025-10-31DIVINE VISION (SHENZHEN) CULTURE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410925372.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2025-10-31
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

Traditional scriptwriting processes are time-consuming, labor-intensive, and creatively limited. Existing AI-assisted writing solutions are insufficient to meet the professional requirements and diverse needs of film and television scriptwriting.

Method used

By acquiring natural language script materials input by users on the interface, a natural language processing model is used to generate script products, including scripts and their hierarchical structure. Multi-level script creation and optimization are supported, and materials are integrated with preset weights to generate the target script.

Benefits of technology

It has enabled highly efficient, low-cost, and highly creative scriptwriting, meeting the scriptwriting needs of different scenarios and improving the efficiency and quality of scriptwriting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964416B_ABST
    Figure CN118964416B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, and storage medium for generating a script product. The method includes: acquiring first script material input by a user on a first interface, the first script material describing at least one element required to generate a script, the input method of the first script material including natural language input; and generating a script product on a second interface based on the first script material in response to a user's operation on a first control, the script product including a script and at least one level of script structure. According to embodiments of this application, efficient, low-cost, and highly creative script creation and rapid conversion from script material to script product can be achieved, and it can meet the different script creation needs in different scenarios. The different levels of script structure facilitate reading by personnel at different stages or in different positions, and also facilitate hierarchical discussion and modification, further improving the efficiency of script creation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of natural language processing, and more particularly to a method, apparatus and storage medium for generating script products. Background Technology

[0002] With the rapid development of the entertainment industry, the demand for scripts is constantly increasing, and traditional scriptwriting processes cannot fully meet the immediate needs of the market. Existing scriptwriting processes are generally plagued by long lead times, high labor costs, and limited creativity, severely restricting the efficiency and quality of film and television production. Current AI-assisted creation solutions generally focus only on short story generation, failing to meet the professional requirements of film and television scriptwriting and unable to fully satisfy the diverse needs of the film and television industry in different scenarios. Therefore, there is an urgent need for a new script product generation solution that can create scripts efficiently, cost-effectively, and creatively while meeting the diverse needs of different scenarios. Summary of the Invention

[0003] In view of this, this disclosure proposes a method, apparatus and storage medium for generating script products.

[0004] According to one aspect of this disclosure, a method for generating a script product is provided. The method includes:

[0005] The system obtains the first script material input by the user on the first interface. The first script material is used to describe at least one element required to generate the script. The input method for the first script material includes natural language input.

[0006] In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material. The script product includes the script and at least one level of script structure.

[0007] In one possible implementation, at least one level of script structure includes any one or more of the following: a thousand-word synopsis, a ten-thousand-word outline, an episode outline, and a scene outline.

[0008] In one possible implementation, the first script material includes one or more of the following: genre, theme, story worldview, character settings, and storyline.

[0009] In one possible implementation, the first control is associated with the type of script product. In response to user actions on the first control, a script product is generated on the second interface based on the first script material, including:

[0010] In response to the user's action on the first control, a script product of the target type indicated by the first script material is generated.

[0011] In one possible implementation, the method further includes:

[0012] In response to the user's action on the second control, a second script material of the target type indicated by the second control is generated based on the first script material;

[0013] In response to user actions on the first control, and based on the first script material, a script product is generated on the second interface, including:

[0014] In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material and the second script material.

[0015] In one possible implementation, the second script material includes script material from at least one subdivision of the target type.

[0016] In one possible implementation, in response to a user's action on the second control, based on the first script material, a second script material of the target type indicated by the second control is generated, including:

[0017] In response to the user's operation on the second control, based on different types of script materials in the first script material, they are merged according to the preset first weight corresponding to the different types of script materials to generate the second script material of the target type. The preset first weight is determined based on the theme type in the first script material.

[0018] In one possible implementation, in response to a user's action on the first control, a script product is generated on the second interface based on first and second script materials, including:

[0019] In response to the user's operation on the first control, the first script material and the second script material are merged according to a preset second weight to generate a script product on the second interface. The second weight corresponding to the first script material is greater than the second weight corresponding to the second script material.

[0020] In one possible implementation, the method further includes:

[0021] In response to the user's operation on the third control, the optimized script element content is generated on the second interface based on the optimization target indicated by the third control in the script product. The optimization target indicated by the third control is determined based on the first script material and / or the second script material, and the optimization target includes the optimization object and the optimization method.

[0022] In one possible implementation, the method further includes:

[0023] In response to a user's selection of text in the script product, one or more fourth controls are displayed on the second interface. These fourth controls are used to indicate how to optimize the selected portion.

[0024] In response to the user's operation on the fourth control, the selected part is optimized, and text re-creation content is generated on the second interface.

[0025] According to another aspect of this disclosure, a script product generation apparatus is provided. The apparatus includes:

[0026] The acquisition module is used to acquire the first script material input by the user on the first interface. The first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input.

[0027] The first generation module is used to respond to the user's operation on the first control and generate a script product on the second interface based on the first script material. The script product includes the script and at least one level of script structure.

[0028] In one possible implementation, at least one level of script structure includes any one or more of the following: a thousand-word synopsis, a ten-thousand-word outline, an episode outline, and a scene outline.

[0029] In one possible implementation, the first script material includes one or more of the following: genre, theme, story worldview, character settings, and storyline.

[0030] In one possible implementation, the first control is associated with the type of the script product, and the first generation module is used for:

[0031] In response to the user's operation on the first control, based on the first script material, a script product of the target type indicated by the first control is generated on the second interface.

[0032] In one possible implementation, the device further includes:

[0033] The second generation module is used to respond to the user's operation on the second control and generate a second script material of the target type indicated by the second control based on the first script material;

[0034] The first generation module is used for:

[0035] In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material and the second script material.

[0036] In one possible implementation, the second script material includes script material from at least one subdivision of the target type.

[0037] In one possible implementation, the second generation module is used for:

[0038] In response to the user's operation on the second control, based on different types of script materials in the first script material, they are merged according to the preset first weight corresponding to the different types of script materials to generate the second script material of the target type. The preset first weight is determined based on the theme type in the first script material.

[0039] In one possible implementation, in response to a user's action on the first control, a script product is generated on the second interface based on first and second script materials, including:

[0040] In response to the user's operation on the first control, the first script material and the second script material are merged according to a preset second weight to generate a script product on the second interface. The second weight corresponding to the first script material is greater than the second weight corresponding to the second script material.

[0041] In one possible implementation, the device further includes:

[0042] The third generation module is used to respond to the user's operation on the third control and generate optimized script element content on the second interface based on the optimization target indicated by the third control in the script product. The optimization target indicated by the third control is determined based on the first script material and / or the second script material. The optimization target includes the optimization object and the optimization method.

[0043] In one possible implementation, the device further includes:

[0044] The display module is used to respond to the user's selection of text in the script product and display one or more fourth controls on the second interface. The fourth controls are used to indicate how to optimize the selected part.

[0045] The fourth generation module is used to respond to the user's operation on the fourth control, optimize the selected part, and generate text re-creation content on the second interface.

[0046] According to another aspect of this disclosure, a script product generation apparatus is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0047] According to another aspect of this disclosure, a non-volatile computer-readable storage medium is provided that stores computer program instructions thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.

[0048] According to another aspect of this disclosure, a computer program product is provided, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.

[0049] According to the embodiments of this application, by obtaining the first script material input by the user on the first interface, the first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input. In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material. This can achieve high-efficiency, low-cost and highly creative script creation, and realize the rapid conversion from drama material to script product. Since the script product includes the script and at least one level of script structure, it can meet the different script creation needs in different scenarios. The different levels of script structure can facilitate reading by people at different stages or in different positions, and also facilitate discussion and modification at different levels, further improving the efficiency of script creation.

[0050] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0051] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.

[0052] Figure 1 A schematic diagram illustrating an application scenario according to an embodiment of this application is shown.

[0053] Figure 2 A flowchart illustrating a script product generation method according to an embodiment of this application is shown.

[0054] Figure 3 A schematic diagram of a first interface according to an embodiment of this application is shown.

[0055] Figure 4 A schematic diagram of a first interface according to an embodiment of this application is shown.

[0056] Figure 5 A schematic diagram of a second interface according to an embodiment of this application is shown.

[0057] Figure 6 A schematic diagram of a second interface according to an embodiment of this application is shown.

[0058] Figure 7 A structural diagram of a script product generation apparatus according to an embodiment of this application is shown.

[0059] Figure 8 This is a block diagram illustrating an apparatus 1900 for generating script products according to an exemplary embodiment. Detailed Implementation

[0060] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0061] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0062] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0063] With the rapid development of the entertainment industry, the demand for scripts is constantly increasing, and traditional scriptwriting processes cannot fully meet the immediate needs of the market. Existing scriptwriting processes are generally plagued by long lead times, high labor costs, and limited creativity, severely restricting the efficiency and quality of film and television production. Current AI-assisted creation solutions generally focus only on short story generation, failing to meet the professional requirements of film and television scriptwriting and unable to fully satisfy the diverse needs of the film and television industry in different scenarios. Therefore, there is an urgent need for a new script product generation solution that can create scripts efficiently, cost-effectively, and creatively while meeting the diverse needs of different scenarios.

[0064] In view of this, this application provides a script product generation method, apparatus, and storage medium. The script product generation method of this application obtains first script material input by a user on a first interface. This first script material describes at least one element required to generate a script. The input method for the first script material includes natural language input. Responding to the user's operation on a first control, a script product is generated on a second interface based on the first script material. This achieves highly efficient, low-cost, and highly creative script creation, enabling rapid conversion from script material to a script product. Since the script product includes a script and at least one level of script structure, it can meet the different script creation needs in different scenarios. The different levels of script structure facilitate reading by personnel at different stages or in different positions, and also facilitate hierarchical discussion and modification, further improving the efficiency of script creation.

[0065] Figure 1 This diagram illustrates an application scenario according to an embodiment of the present application. The script product generation method of this application can be applied to scenarios involving script creation for drama series products (such as movies, TV series, web dramas, etc.). Figure 1 As shown, in one scenario, screenwriters can use the method described in this application to quickly create scripts on a web page (i.e., for users). Specifically, screenwriters can input relevant script materials in the "Materials" interface (i.e., the first interface) as shown, and then generate a script product on the "Writing" interface (i.e., the second interface) by clicking the "One-Click Generation" button (i.e., the first control) in the "AI Assistant" area. This product includes the script and at least one level of script structure (such as a script synopsis, script outline, etc.).

[0066] The first interface and the second interface in the embodiments of this application can be different interfaces or the same interface.

[0067] The methods described in this application can be used in terminal devices or servers. The terminal device can be any one or more of the following: mobile phone, foldable electronic device, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), and in-vehicle device. This disclosure does not impose any special limitations on the specific type of terminal device; it can have wired or wireless communication capabilities.

[0068] Servers can be located locally or in the cloud, and can be physical devices or virtual devices such as virtual machines and containers. They possess wireless communication capabilities, which can be configured within the server's chip (system) or other components. Wireless communication capabilities can be implemented through mobile communication technologies such as 2G / 3G / 4G / 5G, as well as Wi-Fi, Bluetooth, frequency modulation (FM), data radio, and satellite communication. Wired connections can also be used to communicate and interact with other devices.

[0069] Figure 2 A flowchart illustrating a script product generation method according to an embodiment of this application is shown. Figure 2 As shown, the method may include:

[0070] Step S201: Obtain the first script material entered by the user on the first interface.

[0071] The first script material can be used to describe at least one element required to generate a script. The first script material includes one or more of the following: genre, theme, story worldview, character settings, and storyline. Users can choose to input all or some of these script material types as the first script material. Input methods for the first script material include natural language input.

[0072] Figure 3 A schematic diagram of a first interface according to an embodiment of this application is shown. The first interface may be as follows: Figure 3 In the "Materials" interface shown, users can enter different types of script materials in the text box on the left.

[0073] The genre type (as shown in "Genre & Type") indicates the style and genre of the script. Users can select the main type and subtypes of the genre type. The main type can be a macro (first-level) division of the script's genre (such as drama, comedy, action, romance, science fiction, etc.), while the subtype can be a further (second-level) subdivision based on the main type (for example, the action type can include martial arts, gunfight, disaster, etc.), thus allowing for a more refined distinction of the script's genre and style. The genre type can be selected from the provided options or entered via natural language input.

[0074] The theme and concept (as shown in "Theme & Concept") can represent the central idea or meaning of the script;

[0075] The story's worldview can refer to the settings, rules, atmosphere, etc. of the virtual world constructed in the script, which determines the logic of the characters' behavior and the possibilities of the story's development;

[0076] Character settings (as shown in the image "Characters") can represent the personality traits, psychological state, background experiences, and relationships of the main characters in the script;

[0077] The storyline can represent the main plot of the story, which may include the beginning, development, climax, and ending.

[0078] Based on the initial script material input by the user in natural language, a natural language processing model can be used to assist in generating setting references.

[0079] The method may also include:

[0080] In response to the user's action on the second control, a second script material of the target type indicated by the second control is generated based on the first script material.

[0081] User interaction with the second control can involve clicking it. The second control can be used to indicate all or part of the content in the generated script material of the target type. The second control can be displayed on the first interface and / or the second interface; for example, the user can click on it... Figure 3 The second control, "One-click character biography generation," generates second script materials of character setting type based on the first script material.

[0082] Figure 4 A schematic diagram of a first interface according to an embodiment of this application is shown. Figure 4 As shown, by clicking Figure 3 Within the corresponding category (e.g., "Character"), users can expand the script material for that category to generate more detailed materials. For example, users can click... Figure 3 You can access the AI-generated content by looking at the area where the "character" is located, or the "AI Generation" control to the right of the "character". Figure 4 The interface. At this point, the second control can be used to generate a portion of the script material for the target type. For example, for script material related to character design, the user can click on... Figure 4 The AI ​​assistant area on the right displays any of the second controls such as "Generate Character Personality", "Generate Character Goal", "Generate Character Motivation", "Generate Character Portrait", "Generate Character Biography", and "Batch Write New Characters". These controls generate materials for a specific subdivision of the target type, meeting the needs of diverse script material generation. This can enrich and improve script materials, and help generate more accurate and demand-compliant script products in the future.

[0083] A second script material can be generated using a natural language processing (NLP) model, which can be any generative model. In the process of generating the second script material using an NLP model, the richer the content of the given first script material, the more accurate and complete the content of the resulting second script material can be. The first script material can be of the same type as the material corresponding to the second control. For example, based on the first script material related to "characters" filled in by the user in natural language, a second script material related to characters can be generated using an NLP model. Alternatively, it can be script material of a different type than the material corresponding to the second control. For example, based on the main idea, storyline, etc., filled in by the user, a second script material related to characters can be generated using an NLP model. Furthermore, a second script material related to characters can be generated by combining the first script material related to "characters" filled in by the user, as well as first script materials of other types besides "characters," using an NLP model.

[0084] In the process of generating the second script material, you can:

[0085] In response to the user's operation on the second control, based on different types of script materials in the first script material, they are merged according to the preset first weight corresponding to different types of script materials to generate a second script material of the target type.

[0086] For example, for a certain second control, different first weights can be set for different types of script materials. Different first weights can reflect the importance of that type of script material in generating the second script material corresponding to that second control. When using a natural language model to generate the second script material, the natural language model can transform the unstructured first script material into structured data representations (such as feature vectors). The structured data representations corresponding to each first script material are weighted and fused according to the first weights corresponding to different types of first script materials, and used as input to the natural language model to generate the second script material.

[0087] For example, regarding the above text Figure 4 The second control, "Generate Character Personality," allows setting different weights for the script materials used in the first script material, such as "Characters," "Theme Type," and "Storyline." The higher the weight, the greater its influence on "Character Personality."

[0088] Therefore, when generating script materials, the contribution of different types of script materials to the second script materials can be considered, resulting in more reasonable script materials. Furthermore, by integrating different types of script materials, the information provided by various script materials can be comprehensively utilized to generate more comprehensive and richer second script materials.

[0089] The preset first weight can also be determined based on the genre type in the first script material. For example, the first weight of each type of script material in the first script material can be different for different genre types. Thus, by adjusting the first weight of different types of script materials for different genre types, the influence of various materials can be dynamically controlled during the generation process, adapting to the creative needs of different genre script products.

[0090] Second script material generated using natural language models can be displayed in the AI ​​assistant area (e.g., Figure 3 , Figure 4 As shown, users can also filter and modify script materials generated by the natural language processing model as second script materials.

[0091] Step S202: In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material.

[0092] The operation of the first control can be clicking on it, and the first control can be associated with the type of script product. The script product can include the script itself and at least one level of script structure. This script structure can include one or more of the following: a 1000-word synopsis, a 10,000-word outline, an episode outline, and a scene outline. In other words, based on the generated script, the second interface can also generate script structures of any level, such as a 1000-word synopsis or a 10,000-word outline. The relationship from the 1000-word synopsis to the scene outline represents a whole-to-part relationship, with different levels of script structure serving different needs.

[0093] A 1,000-word synopsis can be a high-level summary of the entire script's story, and its length is usually around 1,000 words;

[0094] A 10,000-word outline can be derived from a 1,000-word synopsis, which is then refined and expanded upon to elaborate on the story of the script. It is usually around 10,000 words in length.

[0095] Episode outlines can be derived by dividing the entire story into several episodes based on a 10,000-word outline and summarizing the content of each episode.

[0096] Scene outlines can be derived from episode outlines by breaking down each episode into several scenes and providing further descriptions of the content of each scene.

[0097] According to the embodiments of this application, by obtaining the first script material input by the user on the first interface, the first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input. In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material. This can achieve high-efficiency, low-cost and highly creative script creation, and realize the rapid conversion from drama material to script product. Since the script product includes the script and at least one level of script structure, it can meet the different script creation needs in different scenarios. The different levels of script structure can facilitate reading by people at different stages or in different positions, and also facilitate discussion and modification at different levels, further improving the efficiency of script creation.

[0098] In step S202, the following can be done:

[0099] In response to the user's operation on the first control, based on the first script material, a script product of the target type indicated by the first control is generated on the second interface.

[0100] For example, the first control can be displayed on the first interface, and the user can click on it. Figure 3 or Figure 4 The first control in the AI ​​assistant area shown is "Generate a 1000-word summary with one click," which generates a 1000-word summary-type product on the second interface.

[0101] The first control can also be displayed on the second interface. Figure 5 A schematic diagram of a second interface according to an embodiment of this application is shown. A script generated on the second interface is as follows: Figure 5 As shown, based on the generated script, by clicking the "+" sign in the "Document" column on the left, a list of script products of various types can be expanded. Users can click the first control associated with the corresponding type of script product in the list to select and generate a script structure of any level based on the first script material.

[0102] In step S202, the following can be done:

[0103] In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material and the second script material.

[0104] Natural language processing models can be used to process the first and second script materials to generate a script on the second interface.

[0105] Among them, it is possible to:

[0106] In response to the user's operation on the first control, the first script material and the second script material are merged according to a preset second weight to generate a script product on the second interface.

[0107] In this model, the second weight corresponding to the first script material can be greater than the second weight corresponding to the second script material. The second weight represents the importance of the script material in the generated script product. The higher the second weight, the more important the corresponding script material. The natural language model will not arbitrarily change the settings corresponding to this part of the script material during processing.

[0108] For example, when using a natural language model to generate script products, the natural language model can transform unstructured first and second script materials into structured data representations (such as feature vectors), and then perform weighted fusion of the structured data representations corresponding to the first and second script materials according to a second weight, which is then used as input to the natural language model to generate script products of the corresponding type.

[0109] This application assigns higher weights to the script materials input by the user, ensuring that the model does not arbitrarily change the user-given settings when generating the script product, thus making the resulting script product more in line with the user's needs.

[0110] Users can manually adjust the content of the generated script product. To further improve the efficiency of script product optimization, the method may also include:

[0111] In response to user actions on the third control, optimized script element content is generated on the second interface based on the optimization targets indicated by the third control in the script product.

[0112] User interaction with the third control can involve clicking on it, and the optimization target indicated by the third control can be determined based on the first script material and / or the second script material. The third control can be displayed on the first interface and / or the second interface.

[0113] The optimization target indicated by the third control can be determined based on specific objects set in the first and / or second script materials. That is, based on the first and / or second script materials, content that can be optimized can be automatically identified as the optimization target indicated by the third control. For example, the optimization object in the optimization target can be at least one type of script material in the first and / or second script materials. The optimization method can be preset or determined based on the content of the first and / or second script materials. For example, the optimization object can be optimized for one or more specific characters, or it can be a general optimization based on a certain type of script material. For example, selecting a certain material type (such as characters, plot, scene, etc.) in the first or second script materials, the optimization method can be to optimize the material of that type as a whole. The direction of optimization can be to increase or decrease, such as increasing or decreasing the role of characters, increasing or decreasing plot twists, strengthening or weakening conflict contrast, enriching scene description, optimizing dialogue rhythm, increasing or decreasing the amount of dialogue, etc. For example, if the first and second script materials contain script materials of the "character" type, then characters can be the optimization targets. Optimization goals could include increasing or decreasing a character's screen time, or increasing or decreasing conflicts between characters. Script elements can include any element that constitutes the script content. Optimized script elements can include optimized characters, plot, conflicts, scenes, dialogue, structure, pacing, etc.

[0114] See Figure 5 In the example, after the script is generated, the AI ​​assistant area on the right can display third controls associated with the script materials, such as "add scenes for XX and YY", "add plot twists", and "expand based on a certain scene". By clicking on any of these third controls, users can use a natural language processing model in the AI ​​assistant area to generate corresponding optimized script elements. Users can then optimize and adjust the script product accordingly based on these optimized script elements.

[0115] To further improve the efficiency and effectiveness of script product optimization and facilitate users in quickly optimizing script products, this method may also include:

[0116] In response to a user's selection of text in the script product, one or more fourth controls are displayed on the second interface;

[0117] In response to the user's operation on the fourth control, the selected part is optimized, and text re-creation content is generated on the second interface.

[0118] The fourth control can be used to indicate how the selected portion should be optimized. The fourth control can be displayed on the first interface and / or the second interface.

[0119] Figure 6 A schematic diagram of a second interface according to an embodiment of this application is shown. Figure 6 As shown, by selecting the highlighted section through the user's highlighting action, the highlighted portion "XX nervously gripped the jade pendant" can be displayed as a fourth control. This fourth control can include text boxes, buttons, etc., where the buttons can include buttons corresponding to at least one level of optimization methods. The user can input the optimization method for the highlighted portion in natural language in the text box, or click any of the preset first-level optimization method buttons "AI Expansion," "AI Rewriting," "AI Simplification," or "AI Continuation" to quickly optimize the highlighted portion. Users can click preset buttons (such as the "AI Expansion" button) to generate detailed (second-level) optimization suggestions in the AI ​​assistant area to help them optimize the highlighted content. For example, for expansion optimization, the AI ​​assistant area can generate shortcut buttons for second-level optimization methods such as "Add character state description," "Add cause," "Add consequence," "Add dialogue," "Increase conflict level," "Add emotional shift," "Enhance the purposefulness of character actions," and "Enhance the intensity of character reactions." By clicking any of these buttons, users can use a natural language processing model in the AI ​​assistant area to generate corresponding re-creation content for the highlighted section. Users can then optimize and adjust the highlighted content based on this re-creation content. The re-creation content can include re-creating the selected text based on the optimization methods indicated by the fourth control, generating new text. The suggestions in the buttons can be determined based on the contextual information of the highlighted section, such as the storyline, its cause, and consequence. That is, based on the highlighted part and its contextual information, the content that needs to be optimized can be automatically identified and used as the corresponding optimization method for the fourth control.

[0120] The natural language processing (NLP) models in this application can run on either a client or a server. Users can provide processing data and instructions to the NLP model through a client interface, and the model can run on either the client or server, returning and displaying the processing results on the client interface. Each NLP model can be trained based on its task, using samples and corresponding labels, and constructing a loss function as needed, using existing training methods. This application does not restrict the training methods for NLP models.

[0121] As can be seen, this application provides an efficient and rapid solution for scriptwriting, meeting the huge market demand. By pre-setting writing materials such as background worldview, characters, and themes in natural language within the product, it can generate 1,000-word outlines, 10,000-word synopses, scene outlines, episode outlines, and scripts with a single click, thereby achieving intelligent and automated scriptwriting, reducing manpower and time costs, and improving the production efficiency of the entire entertainment industry. In addition to traditional films and television dramas, this technology can also be applied to emerging fields such as web dramas, radio dramas, and interactive dramas, with broad application prospects and potential market value.

[0122] Figure 7 A structural diagram of a script product generation apparatus according to an embodiment of this application is shown. Figure 7 As shown, the device includes:

[0123] The acquisition module 701 is used to acquire the first script material input by the user on the first interface. The first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input.

[0124] The first generation module 702 is used to respond to the user's operation on the first control and generate a script product on the second interface based on the first script material. The script product includes the script and at least one level of script structure.

[0125] In one possible implementation, at least one level of script structure includes any one or more of the following: a thousand-word synopsis, a ten-thousand-word outline, an episode outline, and a scene outline.

[0126] In one possible implementation, the first script material includes one or more of the following: genre, theme, story worldview, character settings, and storyline.

[0127] In one possible implementation, the first control is associated with the type of the script product, and the first generation module 702 is used for:

[0128] In response to the user's operation on the first control, based on the first script material, a script product of the target type indicated by the first control is generated on the second interface.

[0129] In one possible implementation, the device further includes:

[0130] The second generation module is used to respond to the user's operation on the second control and generate a second script material of the target type indicated by the second control based on the first script material;

[0131] The first generation module 702 is used for:

[0132] In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material and the second script material.

[0133] In one possible implementation, the second script material includes script material from at least one subdivision of the target type.

[0134] In one possible implementation, the second generation module is used for:

[0135] In response to the user's operation on the second control, based on different types of script materials in the first script material, they are merged according to the preset first weight corresponding to the different types of script materials to generate the second script material of the target type. The preset first weight is determined based on the theme type in the first script material.

[0136] In one possible implementation, in response to a user's action on the first control, a script product is generated on the second interface based on first and second script materials, including:

[0137] In response to the user's operation on the first control, the first script material and the second script material are merged according to a preset second weight to generate a script product on the second interface. The second weight corresponding to the first script material is greater than the second weight corresponding to the second script material.

[0138] In one possible implementation, the device further includes:

[0139] The third generation module is used to respond to the user's operation on the third control and generate optimized script element content on the second interface based on the optimization target indicated by the third control in the script product. The optimization target indicated by the third control is determined based on the first script material and / or the second script material. The optimization target includes the optimization object and the optimization method.

[0140] In one possible implementation, the device further includes:

[0141] The display module is used to respond to the user's selection of text in the script product and display one or more fourth controls on the second interface. The fourth controls are used to indicate how to optimize the selected part.

[0142] The fourth generation module is used to respond to the user's operation on the fourth control, optimize the selected part, and generate text re-creation content on the second interface.

[0143] According to the embodiments of this application, by obtaining the first script material input by the user on the first interface, the first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input. In response to the user's operation on the first control, a script product is generated on the second interface based on the first script material. This can achieve high-efficiency, low-cost and highly creative script creation, and realize the rapid conversion from drama material to script product. Since the script product includes the script and at least one level of script structure, it can meet the different script creation needs in different scenarios. The different levels of script structure can facilitate reading by people at different stages or in different positions, and also facilitate discussion and modification at different levels, further improving the efficiency of script creation.

[0144] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0145] This disclosure also proposes a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the above-described method. The computer-readable storage medium can be volatile or non-volatile.

[0146] This disclosure also proposes a script product generation apparatus, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0147] This disclosure also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.

[0148] Figure 8 This is a block diagram illustrating an apparatus 1900 for generating a script product according to an exemplary embodiment. For example, apparatus 1900 may be provided as a server or terminal device. (Refer to...) Figure 8The apparatus 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.

[0149] Device 1900 may also include a power supply component 1926 configured to perform power management of device 1900, a wired or wireless network interface 1950 configured to connect device 1900 to a network, and an input / output interface 1958 (I / O interface). Device 1900 can operate on an operating system, such as Windows Server, stored in memory 1932. TM macOS X TM Unix TM Linux TM FreeBSD TM Or similar.

[0150] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of the device 1900 to perform the above-described method.

[0151] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.

[0152] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0153] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0154] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0155] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0156] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0157] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0158] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0159] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for generating a script product, characterized in that, The method includes: The system obtains the first script material input by the user on the first interface. The first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input. In response to the user's operation on the second control, based on the first script material, a second script material of the target type indicated by the second control is generated using a natural language processing model; In response to the user's operation on the first control, based on the first script material, a script product is generated on the second interface, including: In response to the user's operation on the first control, the first script material and the second script material are merged according to a preset second weight to generate a script product on the second interface. The second weight corresponding to the first script material is greater than the second weight corresponding to the second script material, and the script product includes scripts and at least one level of script structure.

2. The method according to claim 1, characterized in that, The script structure of at least one level includes any one or more of the following: a thousand-word synopsis, a ten-thousand-word outline, an episode outline, and a scene outline.

3. The method according to claim 1, wherein the first script material includes any one or more of the following: subject matter type, theme concept, story world view, character setting, and storyline.

4. The method according to claim 2, characterized in that, The first control is associated with the type of script product. The step of generating a script product on the second interface in response to a user's operation on the first control, based on the first script material, includes: In response to the user's operation on the first control, a script product of the target type indicated by the first control is generated on the second interface based on the first script material.

5. The method according to claim 1, characterized in that, The second script material includes script material from at least one subdivision of the target type.

6. The method according to claim 1, characterized in that, In response to a user's action on the second control, based on the first script material, generating a second script material of the target type indicated by the second control using a natural language processing model includes: In response to the user's operation on the second control, based on different types of script materials in the first script material, they are fused according to a preset first weight corresponding to different types of script materials to generate a second script material of the target type. The preset first weight is determined based on the theme type in the first script material.

7. The method according to claim 1, characterized in that, The method further includes: In response to the user's operation on the third control, the optimized script element content is generated on the second interface based on the optimization target indicated by the third control in the script product. The optimization target indicated by the third control is determined based on the first script material and / or the second script material, and the optimization target includes the optimization object and the optimization method.

8. The method according to claim 1, characterized in that, The method further includes: In response to a user's selection of text in the script product, one or more fourth controls are displayed on the second interface. These fourth controls are used to indicate how to optimize the selected portion. In response to the user's operation on the fourth control, the selected portion is optimized, and text re-creation content is generated on the second interface.

9. A script product generation device, characterized in that, The device includes: The acquisition module is used to acquire the first script material input by the user on the first interface. The first script material is used to describe at least one element required to generate the script. The input method of the first script material includes natural language input. The second generation module is used to respond to the user's operation on the second control, and generate a second script material of the target type indicated by the second control based on the first script material using a natural language processing model; The first generation module, in response to user actions on the first control, generates a script product on the second interface based on the first script material, including: In response to the user's operation on the first control, the first script material and the second script material are merged according to a preset second weight to generate a script product on the second interface. The second weight corresponding to the first script material is greater than the second weight corresponding to the second script material, and the script product includes scripts and at least one level of script structure.

10. A script product generation device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 8 when executing instructions stored in the memory.

11. A non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Video plot reorganization method and device, electronic equipment and storage medium

    CN116980718A

  • Scenario generation method and related device

    CN117149971A