Character asset extraction and solidification method applied to AI short drama production and electronic device

By using dual-channel scanning and generating and solidifying character deduction information, the problem of inconsistent characters in AI short dramas was solved, achieving efficient management of the character asset library and ensuring the continuity and consistency of AI short dramas.

CN123160713APending Publication Date: 2026-11-24BEIJING DEJIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611367880.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Currently, the lack of character extraction and solidification mechanisms in AI short drama generation leads to character appearance drift and inconsistent facial features, affecting the quality of the finished short drama and the continuity of the series.

Method used

By using dual-channel scanning to extract character information from the script text, character deduction information is generated, including identity anchors, growth process, psychological descriptions, and initial appearance traits. The character's physical appearance and personality information are determined, solidified, and stored in the character asset library.

Benefits of technology

This ensures the consistency of the same character's appearance in AI short dramas, avoids character appearance deviation between different episodes, improves processing efficiency, and reduces the need for manual editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160713A_ABST
    Figure CN123160713A_ABST
Patent Text Reader

Abstract

This invention discloses a method and electronic device for character asset extraction and solidification in AI short drama production. The method includes: acquiring script text containing one or more episodes; extracting character information from the script text using dual-channel scanning; the dual channels include structured format and semantic scanning; extracting character deduction information from the script text and determining character appearance and personality information based on the character deduction information to generate character fields containing a preset character format; and solidifying character assets based on the character fields to obtain a character asset library containing solidified character assets. Extracting basic character information and character deduction information from the script text, and then determining the character's appearance and personality information, facilitates the generation of detailed and accurate character visuals. Solidifying character fields to obtain character assets ensures consistency in character appearance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of AI processing technology, specifically to a method and electronic device for extracting and solidifying character assets in AI short drama production. Background Technology

[0002] With the rapid development of industrialized production of AI short dramas, Wensheng video technology has been gradually applied to the production process of AI short dramas. Based on AI technology, corresponding video clips can be generated directly from the script text to obtain AI short dramas.

[0003] However, at this stage, the inventors have discovered the following problems in the process of generating AI short dramas: Currently, the mainstream AI video generation method mainly generates images directly based on the script text, lacking a mechanism for extracting and solidifying the structured assets of characters in the short drama. When generating each character, because each character is not solidified, the generated characters' appearances drift and facial features are inconsistent, which seriously affects the quality of the finished short drama and the continuity of the series. Summary of the Invention

[0004] In view of the above problems, the present invention is proposed to provide a method, electronic device and storage medium for character asset extraction and solidification in AI short drama production that overcomes or at least partially solves the above problems.

[0005] According to one aspect of the present invention, a method for character asset extraction and solidification applied to AI short drama production is provided, comprising: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format; the character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics. Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

[0006] According to another aspect of the present invention, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction that causes the processor to perform the following operations: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format; the character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics. Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

[0007] According to another aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, the executable instruction causing a processor to perform the operation corresponding to the character asset extraction and solidification method applied to AI short drama production described above.

[0008] According to another aspect of the present invention, a computer program product is provided, including at least one executable instruction, which causes a processor to perform the operation corresponding to the character asset extraction and solidification method applied to AI short drama production described above.

[0009] The character asset extraction and solidification method, electronic device, and storage medium provided by embodiments of the present invention for AI short drama production extract basic character information and character deduction information from the script text. The character deduction information includes multi-dimensional information such as character identity anchors, growth trajectory, psychological description, and / or initial appearance traits. The character's physical appearance and personality information are determined through the basic character information and character deduction information, facilitating the generation of detailed and accurate character visuals. The obtained character fields are solidified and stored in a character asset library, facilitating the generation of AI short dramas based on the solidified character assets. This ensures the consistency of the same character's appearance within the AI ​​short drama, avoids character appearance deviations between different episodes, and eliminates the need for manual processing, thus improving processing efficiency.

[0010] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more obvious and understandable, specific implementation methods of the embodiments of the present invention are described below. Attached Figure Description

[0011] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart of a method for character asset extraction and solidification applied to AI short drama production according to an embodiment of the present invention is shown; Figure 2 A flowchart of a method for character asset extraction and solidification applied to AI short drama production according to another embodiment of the present invention is shown; Figure 3 A schematic diagram of the structure of a computing device according to an embodiment of the present invention is shown. Detailed Implementation

[0012] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0013] First, the terms and concepts involved in one or more embodiments of this application will be explained.

[0014] AI short dramas are online short drama audiovisual works that use artificial intelligence AIGC (Artificial Intelligence Generated Content) technology as the core production tool and are deeply involved in the entire process or core production stages of scriptwriting, virtual scene generation, digital human performance, storyboard drawing, dubbing and music, intelligent editing, and picture rendering.

[0015] Short drama assets: These refer to standardized digital production elements that can be digitally stored, edited, reused across different series, and possess copyright and production value throughout the entire lifecycle of an AI short drama. They form the foundational resource library for the industrialized production of short dramas. In this embodiment, the short drama assets are character assets, used to generate character visuals for AI short dramas.

[0016] Example 1 Figure 1 A flowchart illustrating a method for character asset extraction and solidification in AI short drama production according to an embodiment of the present invention is shown, such as... Figure 1 As shown, the method includes the following steps: Step S101: Obtain the script text containing one or more episodes.

[0017] The script text is used to generate AI short dramas, which contain multiple characters. Depending on their narrative position in the script text, these characters may include protagonists, supporting characters, etc. Based on the character portrayals in the script text, the scenes of each character in the AI ​​short drama generated using AIGC also reflect their different character traits.

[0018] The script text can be obtained by uploading the script text to the client, or all script texts can be uploaded to the script library first, and then a specific script text can be retrieved from the script library to extract scene assets. There is no limitation here.

[0019] The script text can be a single-episode script text, meaning it contains only the content of one episode, or a multi-episode script text, such as containing the content of multiple episodes of a unit drama, or containing the content of each episode of an entire short drama. An AI short drama can contain one or more script texts; there is no limitation here.

[0020] Step S102: Extract character information from the script text using dual-channel scanning based on the script text.

[0021] The text type of a script can include novel form and script form. Novel form is primarily narrative in the form of prose and does not employ a explicitly structured format. Script form uses a structured format, which can be shown below: "Scene No.: 11-1 Daytime Scene 1" -- Documentation Set No. -- Scene No., Time (Daytime, Nighttime), Indoor / Outdoor Scene, Scene Name "Characters:" -- Records the roles played. "▲Action Tracking" -- Records character actions, scene changes, prop changes, etc. "Character (Emotion, State, etc.): Dialogue" -- Records the character's current emotion or state and corresponding dialogue. "Voiceover / Narration / Inner Monologue" – Records lines spoken by a character within the physical space of the current scene, but not within the camera's view. A script can be defined as containing any of the above structured formats. The above structured formats are for illustrative purposes only; specific structured formats can be set according to the implementation situation and are not limited here.

[0022] To ensure complete and accurate character extraction for script texts of different types, a dual-channel extraction method can be employed, combining the structured format of the script text with semantic scanning. Dual-channel extraction can be performed multiple times: first, extraction based on the script text's structured format; second, a full-text semantic scan. Through multiple extractions, all characters appearing in the script text are fully covered. Extraction based on the script text's structured format is suitable for script texts like those in a script format, accurately locating and identifying characters. Semantic scanning is applicable to script texts of all types, scanning the entire text to identify and extract characters appearing in various situations, thus ensuring accurate extraction while avoiding omissions.

[0023] Based on the structured format of the script text, character information can be extracted by identifying characters in phrases such as "Characters appearing:", "▲Action lines", and "Characters (emotions, states, etc.): Dialogue". Semantic scanning can perform semantic scanning on the entire script text to identify characters in the text, such as dialogues between characters, character actions, character titles, and characters appearing in scenes, thus extracting character information from the script text.

[0024] For dual-channel extraction, there may be cases where the same character information is extracted repeatedly. After dual-channel extraction, the character information extracted from both channels is merged and deduplicated to obtain the character information in the script text. The character information identifies each character appearing in the script text, including things like the character's name.

[0025] Step S103: Based on the script text, extract the character deduction information of the obtained character information, and determine the character appearance and personality information according to the character deduction information to generate a character field containing a preset character format.

[0026] After extracting the basic character information through dual channels, the characters contained in the script text are determined. The character's appearance serves the plot and cannot be arbitrarily generated detached from it. The character's appearance must be determined based on the various descriptive information in the script text as the plot progresses. The character's appearance within the plot is interpretable by the storyline. For example, if a character is an orphan living in poverty, their clothing cannot be luxurious, as this would make the character's appearance detached from the plot. Conversely, when a character wears inexpensive clothing, outdated or ill-fitting donated garments, the presented character appearance better serves the plot.

[0027] When generating character images, it is also necessary to obtain various information related to the plot development from the character's script text in order to convert the narrative description in the script file into a visual presentation. That is, to extract character deduction information from the script text. Character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description, and initial appearance characteristics. By combining the character deduction information, the character's physical appearance and personality information is determined, so as to determine the character's facial features, skin color, clothing, body shape, shape, expression and other aspects of the character image based on the character's physical appearance and personality information.

[0028] Anchor points for a character's identity include extracting their profession, social class, and era. This involves extracting information about the character's identity and work from the script to determine their profession; determining their social class based on the events they participate in, their occupation, living environment, consumption level, and interpersonal relationships; and determining their era based on the script's historical context (such as transportation, communication, light sources, medicine, and weaponry), social systems, cultural concepts, and economy. A character's profession, social class, and era serve as the basis for determining their physical appearance. Profession determines function, such as the clothing requirements for their work; social class determines quality, such as the materials and brands they choose; and the era determines the scope, such as the fashion trends and taboos of that period. A character's profession, social class, and era determine the design logic for their clothing, accessories, and hairstyle, ensuring that these elements align with their profession and do not deviate from the limitations imposed by the technological and economic strength of their social class and era. For example, a character wearing a black suit will have different linings, fabric materials, and accessories depending on their profession, social class, and era, compared to a modern lawyer in a prestigious law firm.

[0029] A character's growth trajectory encompasses their development and personality transformation as the plot unfolds. This growth is determined by examining the character's reactions, choices, responsibilities, and thoughts through explicit time points, pivotal events, and major incidents identified in the script. As the plot progresses, a character's personality changes, resulting in distinct character appearances in the early and later stages. The transformation from cowardice to courage, or from isolation to trust, must be reflected in the character's appearance. The early and later character appearances should be contrasting, with foreshadowing established in the early stages to ensure a cohesive transition later. For example, the shift from cowardice to courage might be indicated by clothing that changes from loose and concealing to fitted and revealing the forehead; similarly, foreshadowing might involve actions or details related to hair, such as touching the ends of the hair, in the early stages.

[0030] The psychological description of a character includes their struggles and conflicts within the plot. This can be obtained directly from the psychological descriptions in the script, their thoughts and statements during different emotional states (emotional breakdown, exhaustion, talking to themselves, critical illness, etc.), and abnormal reactions. This psychological description is then externalized into specific visual details, such as clothing. For example, a character who appears tough on the surface but is inwardly deprived of love might have "meticulous, exquisite makeup" paired with "a worn-out, shiny old ring" to highlight their inner brokenness and contrast.

[0031] The initial impression of a character refers to the core feeling conveyed to the audience when the character first appears without any dialogue. This can be determined by factors such as the color and visual appeal of the character's clothing, posture, and silhouette. For example, dark, cool colors convey a sense of oppression; a restrained body, stiff shoulders, and a slightly tucked chin convey a sense of oppression. These elements help to establish the character's core traits, such as a sense of danger and oppression, a sense of brokenness and pitifulness, or a sense of contrast and subversion. The initial impression can also be used to determine the character's facial features, clothing colors, and subtle physical expressions.

[0032] The above are just examples; the specific settings will vary depending on the implementation situation, and no limitations are set here.

[0033] After obtaining the above character deduction information, the character's physical appearance and personality information are determined based on this information. This includes aspects such as the dynamic anchoring of facial features and the determination of the character's personality. The character's personality is defined by identifying identity anchors, establishing the logic of personality formation based on their growth trajectory, identifying the true core of their personality based on psychological descriptions, and determining their outward appearance based on their initial traits. The dynamic anchoring of facial features is determined based on multi-dimensional information from the character deduction information. This information can determine the character's persona, personality, and faction, allowing for the creation of high-resolution facial features tailored to the character, such as face shape, eyebrow shape, eye shape, nose shape, and lip shape. Furthermore, the basic facial features and physical traces are determined based on the character's identity anchors in the script text, the growth trajectory determines the imprints of facial features, the psychological description determines the static presentation of facial features, and the initial traits determine the layout of facial features. Considering whether the character is a protagonist or supporting character, a hero or a villain, their appearance and clothing can be determined.

[0034] Based on character information, character deduction information, and character appearance and personality information, character fields with a preset character format can be obtained. The preset character format can be a JSON array for easy storage of each character field. Character fields can be strings, arrays, etc., all suitable for JSON arrays. Character fields include character identifier, character name, nickname, appearance description, background description, personality description, and script episode number. The character identifier can be represented by consecutive numbers, or by a preset character letter followed by consecutive numbers such as 0001, 0002, etc.; the character name, nickname, appearance description, background description, and personality description can be recorded as strings, and the script episode number can be recorded as a string or an array. The character name and nickname record the various names and titles used when the character appears in the script text. The appearance description records the character's facial features, hairstyle, clothing, bags, and other external information. The background description records the various situations the character experiences before the plot unfolds, which can be determined based on character deduction information. The personality description records the character's internal personality information. The script episode number records the episode numbers in which the character appears in the script.

[0035] In each of the above steps S102-S103, the AI ​​Agent can be used to parse, identify, filter, extract, and determine the script text, so as to conveniently and quickly obtain character information, character deduction information, and character appearance and personality information, thereby obtaining character assets by solidifying the character fields.

[0036] Step S104: Based on the role field, perform solidification processing on the role assets to obtain a role asset library containing the solidified role assets.

[0037] After obtaining the character fields in the preset character format, these fields can be solidified and stored as character assets. Each character asset corresponds to a specific character's information, ensuring that the same character asset is used to generate all episodes of the AI ​​short drama, avoiding issues such as inconsistent facial features or character drift during generation. The character fields recorded in the JSON array can be directly used for AI short drama generation without manual adjustments. Appearance descriptions and personality descriptions can be directly used as prompts for character AI generation.

[0038] The generated character assets are stored in the character asset library. AI short dramas generated using script text can directly utilize the character assets stored in the character asset library to create AI short dramas. The same character in the AI ​​short drama is generated using the same character asset throughout the entire game, and there will be no inconsistency in the character's performance.

[0039] The character asset extraction and solidification method for AI short drama production provided by this invention extracts basic character information and character deduction information from the script text. The character deduction information includes multi-dimensional information such as character identity anchors, growth trajectory, psychological description, and / or initial appearance traits. The character's physical appearance and personality information are determined through the basic character information and character deduction information, facilitating the generation of detailed and accurate character visuals. The obtained character fields are solidified and stored in a character asset library, facilitating the generation of AI short dramas based on the solidified character assets. This ensures the consistency of the same character's appearance within the AI ​​short drama, avoids character appearance deviations between different episodes, and eliminates the need for manual processing, thus improving processing efficiency.

[0040] Example 2 Figure 2 A flowchart illustrating a method for character asset extraction and solidification in AI short drama production, according to another embodiment of the present invention, is shown. Figure 2 As shown, the method includes the following steps: Step S201: Obtain script text containing one or more episodes.

[0041] Retrieve script texts uploaded by the client or existing in the server's script library. A script text can contain one or more episodes of an AI short drama.

[0042] Step S202: Determine the overall worldview system based on the script text, and establish a unified tone for character descriptions throughout the series based on the worldview system.

[0043] After obtaining the script, we can first determine the overall world view system of the script text. The overall world view system establishes a unified tone for the character descriptions throughout the entire AI short drama series, so as to ensure that the clothing style of each character is consistent and conforms to the world view system of the script text when constructing characters.

[0044] The overall world-building framework can be derived through analysis of the script text, based on cues such as: The worldview system to which the script text belongs is determined based on the following systems:

Eastern Ancient Style System

[0045] Eastern fantasy / mythology: xxxx Traditional martial arts / jianghu: xxxx [Modern and Near-Modern System] Modern urban / workplace / lifestyle: Haute couture suits, casual wear, and high fashion. Hairstyles must be modern.

[0046] Modern times: xxxx Western fantasy system Medieval / Western Classical: xxxx Western high-fantasy: xxxx Gothic / Urban Fantasy: xxxx [Science Fiction and Post-Apocalyptic Theme] Cyberpunk / Near Future: xxxx Space / Hard Science Fiction: xxxx Post-apocalyptic wasteland: xxxx Steampunk / Victorian Sci-Fi: xxxx The above prompts are for illustrative purposes only. xxxx is an abbreviated description of the example and does not represent the specific content. The specific settings should be based on the implementation situation and are not limited here.

[0047] By analyzing the script text using prompts, the worldview system to which the script belongs is determined. Based on this worldview system, a consistent tone for character descriptions is established throughout the entire series. For example, if the worldview system is modern or near-modern, and the corresponding consistent tone for character descriptions throughout the AI ​​short drama is modern workplace life, then the characters' clothing would include items such as haute couture suits, casual wear, and high fashion, and their hairstyles would be modern styles. The entire AI short drama must adhere to this consistent tone for character descriptions.

[0048] Furthermore, the worldview system can not only establish a unified tone for character descriptions throughout the entire series, but also be used to establish design benchmarks for props and visual tones for scenes, ensuring that all assets such as characters, props, and scenes in the same short series maintain a high degree of consistency in photographic quality, color temperature, and emotional tone, thus eliminating the problem of stylistic drift between different episodes.

[0049] Step S203: Identify and determine the text type of the script text. If the text type is script body, locate and extract the information of the first character appearing in the script text based on the explicit markers of the structured format of the script body.

[0050] Script texts can be written in different text types. You can first identify the text type of the script text, such as by determining whether the script text conforms to any structured format. If so, you can determine that the script text is a script.

[0051] For script text in script format, the explicit markers in the script format, such as "Characters:", "▲Action Line" containing the character in the subject, and "Character (Emotion, State, etc.): Dialogue", can be used to locate the first character information appearing in the script text. For example, based on the explicit markers "Characters:", "Character:", "Role:", "Leading Role:", etc., the character name can be located and extracted; based on "▲Action Line", the subject of the action is determined, and the corresponding character name is extracted; based on the character-related names, titles, and full names mentioned in "Character (Emotion, State, etc.): Dialogue", the character name is obtained. Emotions and states, such as roaring, sneering, trembling, and being shocked, are directly discarded without processing. Nicknames and aliases, such as brother-in-law, landlady, and pet name, are used as substitutes for the character. If the character in the dialogue is present, different forms, such as young or mutated, are recorded as different forms of the character and are not included in the substitutes. The above is an example illustration; the specific settings depend on the implementation and are not limited here.

[0052] Based on the extracted character names, nicknames, and different character states, the information of the first character is obtained.

[0053] Step S204: Perform semantic scanning on the script text according to the preset character identification signal to identify and extract the corresponding second character information in the script text.

[0054] If the text type determines it is not a script, then a full-text semantic scan is performed on the script text. During the semantic scan, pre-defined character identifier signals are used, including dialogue tags, action subjects, addressed objects, and named characters in the scene. For example, based on dialogue tags such as "Character A says" or "Character A:", the secondary character information of Character A can be extracted; based on action subjects such as "Character B pushes open the door", the secondary character information of Character B can be extracted; based on addressed objects such as "Brother-in-law, you're here", the secondary character information of Brother-in-law can be extracted; and based on named characters in the scene description such as "Little C", the secondary character information of Little C can be extracted.

[0055] The above preset role identifier signals are for illustrative purposes only. The specific settings should be determined according to the implementation situation, and no limitations are set here.

[0056] Step S205: Perform deduplication and merging of the first character information and the second character information to obtain the character information of each character in the script file.

[0057] When extracting the first and second character information, there may be instances where identical character information is extracted. In such cases, the first and second character information can be merged, and duplicate information can be removed to obtain a set of character information to be processed. After obtaining this set, further processing is performed on each character's information within the set, based on the character dimension, ultimately yielding the character information for each character in the script file. This processing includes splitting and merging.

[0058] The merging process based on the role dimension involves merging role information for the same character with different titles. Different titles include nicknames, abbreviations, kinship terms, and social titles. Kinship terms include those based on blood ties or marriage, such as "brother-in-law" or "aunt." Social titles include those based on profession, class, social status, or temporary relationships, such as "boss lady" or "village chief." When character A has multiple different titles in the story text, such as "Little A," "sister," or "teacher," these titles are merged, and each title is used as a substitute for the character information. Substitutes can be created by concatenating multiple titles with a preset symbol, such as a comma, to form a string. When merging role information for the same character with different titles, it is determined whether the role information contains a given name. If so, the given name is used as the character name, and other titles are used as substitutes. If not, it is further determined whether the extracted role information contains a title. If so, the title is used as the character name. If "cousin" is a title, when merging it with other titles, if it includes a given name, then the given name will be used as the character name; otherwise, "cousin" will be used as the character name.

[0059] The character-based splitting process involves determining whether the number of characters with the same identity in the set of character information to be processed is not singular. For example, if there are two best friends, and the character is "best friend," then the generated screen needs to include both best friends, not just a single one. If no splitting is performed, only one best friend character information will be recorded, resulting in only one best friend character being generated, which does not match the story text. Therefore, it is necessary to split multiple characters with the same identity into multiple different character information, such as recording them as "Best Friend 1" and "Best Friend 2," to ensure that the number in the generated screen matches the described number.

[0060] The role-based segmentation process can also include: dividing the same role in the set of role information into different forms, and associating them based on the role's nickname. Different forms of the same role include those of youth and old age, before and after disfigurement, and before and after mutation. Different forms result in different appearances and personalities; therefore, it is necessary to further segment the different forms of the same role. For example, role E can be segmented into two different forms: role E-youth and role E-old age. The information of these two different forms can then be associated using nicknames.

[0061] By merging and splitting characters based on their individual dimensions, the character information for each character in the script file is obtained. This information serves the subsequent plot development of the characters, preserving their initial basic state to facilitate the addition of various character information based on this state. Specifically, the script text retrieves the content of a character's first appearance, i.e., the information contained when the character first appears on screen. Based on this initial appearance, prop information that meets preset removal criteria is removed. Preset removal criteria include props held by the character, close-up props in the plot, and non-personally attached clothing items, such as weapons, water cups, enlarged letters, or other plot close-up props. Alternatively, items not attached to the character, such as thick cloaks, are removed from the initial appearance content, retaining only the character information in the script text based on the character's initial basic state. Furthermore, during the plot development, damage caused by acquired factors (not the initial state), such as wounds, torn clothing, or weather conditions resulting in snow accumulation, rain, or windblown debris, is not considered character information. Only when a character first appears and its original base state is irreversible, such as injury or disability, will the special appearance color settings for injury or disability as the initial state be retained.

[0062] Step S206: Based on the script text, extract the character deduction information of the obtained character information, and determine the character's appearance and personality information according to the character deduction information, so as to generate a character field containing a preset character format.

[0063] When extracting character deduction information based on the script text, it is necessary to first obtain the contextual content associated with the character in the character information. For example, for character A, obtain the contextual content related to character A in the script text. Based on the contextual content, extract identity anchors including the character's profession, social class, and era; extract growth processes including the character's circumstances and transformations; extract the character's psychological descriptions; and extract the character's initial appearance traits. Based on the identity anchors, growth processes, psychological descriptions, and initial appearance traits, obtain the character deduction information for the character information. Refer to the description of step S103 for details, which will not be repeated here.

[0064] After extracting the character deduction information, when determining the character's appearance and personality information, it is also necessary to consider the character type. For example, in the Eastern ancient style system, such as Xianxia mythology, characters can include human characters, as well as demons, spirits, and other characters; in the Western fantasy system, such as Western high-fantasy, characters can include alien beast characters; in the science fiction and post-apocalyptic system, such as wasteland, characters can include zombie characters; and in the cyberpunk genre, characters can include mecha characters. Different types of characters have vastly different appearances, and cannot be generalized. It is necessary to determine the character's appearance and other information separately for each character type.

[0065] The system determines whether a character is human based on character deduction information. If, based on identity anchors, the character is determined not to be human (e.g., zombie, beast, robot, mecha, demon, spirit), then the character is categorized based on a preset non-human character type, and the character's appearance and personality information are set accordingly. For example, fantasy characters such as mutated creatures, zombies, and beasts emphasize biological mutation, decay, wildness, and physique in their appearance and personality information. Mechanical characters such as robots and mechas emphasize metallic materials, mechanical structures, and industrial design. Mystical characters such as demons and spirits emphasize nothingness, magic, energy, and translucent light. The above are examples; specific settings will vary depending on the implementation and are not limited here.

[0066] If the character is determined to be human based on the character deduction information, then various appearance setting factors, including the character's personality, underlying character traits, faction, and social class, are determined based on the character deduction information. This allows for the generation of character appearance and personality information, including both physical description and personality information, based on these appearance setting factors and the character's applicable description tone determined by the worldview system. When setting the character's appearance description information according to the appearance setting factors, it must conform to the character's applicable description tone, ensuring that the character's appearance aligns with the overall worldview system. This avoids characters whose appearance deviates from the worldview system, such as characters in Western high-fantasy scenarios having Qing Dynasty hairstyles, which would clearly contradict the worldview system. Specifically, the character's appearance description information includes features such as facial features, clothing, and hairstyle. Facial features specifically include face shape, eyebrow shape, eye shape, nose shape, and lip shape. For example, a character's deduction information might include an ancient, fictional Eastern-style scenario: the daughter of a former Vice Minister of Rites, from a noble family, who received a complete traditional education. After her family's decline, she now lives in a noble household and is forced into a substitute marriage. She is clear-headed, rational, patient, and restrained, rarely clashing with others. Her demeanor is dignified and courteous. Her initial appearance is characterized by a cool, dignified, and composed demeanor. Based on this character information, we can deduce that she is the daughter of a former Vice Minister of Rites, a young lady who, after her family's decline, lived in the Earl's mansion and was forced into a substitute marriage. Her personality is characterized by clarity, independence, patience, restraint, and resilience within gentleness. She belongs to the righteous faction and currently belongs to the scholar-official class, below the powerful and wealthy. Through the above physical characteristics and the appropriate character description within the fictional ancient Eastern world, we can determine her physical features: an oval face, arched eyebrows, phoenix eyes, a straight, slender nose, thin, slightly pursed lips, a high-coiled bun with a plain silver hairpin, and a moon-white, cross-collared, right-fastening, narrow-sleeved blouse paired with a matching high-waisted skirt, all of which match the character's deduced characteristics. Furthermore, based on the character deduction information of different roles, when determining the physical appearance and personality information of different characters, it is also possible to visually strengthen the contrast between the main characters and supporting characters through different multi-dimensional comparisons, based on different role assignments, such as different roles: protagonist and supporting characters, thereby obtaining different character appearance descriptions. Multi-dimensional comparisons include, for example, contrasts of warm and cool tones (e.g., the female lead has warm, fair skin, the second female lead has cool, fair skin), contrasts of soft and hard contours (e.g., the male lead is a military general, the second male lead is a scholar), contrasts of elaborate and simple styles (e.g., the female lead's clothing is exquisite and luxurious, the female supporting character's clothing is simple), contrasts of light and dark hair colors (e.g., the female lead has deep black hair, the female supporting character has dry, yellow hair), and contrasts of refined and casual (e.g., the female lead has exquisite makeup, the female supporting character has no makeup or hair). Based on different role assignments, further multi-dimensional comparisons are added to the character appearance descriptions to visually strengthen the appearances of different main and supporting characters.

[0067] Based on the above information about the character, the character identifier is MainCharacter_0001, and the character name is Shen Zhiyi, also known as Zhiyi. The appearance description records the overall world-building as an ancient Chinese fantasy setting, a 22-year-old female, the daughter of a former Vice Minister of Rites. Her facial features include an oval face, arched eyebrows, phoenix eyes, a straight, slender nose, and thin, slightly pursed lips. Her hairstyle is a high bun with a white silver hairpin, and her clothing is a moon-white, cross-collar, right-fastening, narrow-sleeved ruyi (a type of traditional Chinese dress) paired with a matching high-waisted ruqun (another type of traditional Chinese dress). She has amber-brown eyes, fair skin, and light makeup. Her unique memory anchor is an old, worn-out silver bracelet on her left wrist. Her background is described as the daughter of a former Vice Minister of Rites, who, after her family's decline, lived in a noble household and was forced into a substitute marriage. Her personality is described as clear-headed, independent, and restrained. She is in episodes 1-3 of the script. The above is an example; the specific details will depend on the implementation and are not limited here.

[0068] Step S207: Based on the role field, perform solidification processing on the role assets to obtain a role asset library containing the solidified role assets.

[0069] Character fields include character identifier, character name, nickname, appearance description, background description, personality description, and script episode number. The default character format is a JSON array for easy storage of each character field; character fields can be strings, arrays, etc., all suitable for JSON arrays. The character identifier can be represented by numbers, such as the default character name + consecutive numbers like 0001, 0002, etc.; the character name corresponds to a single character's name, facilitating character retrieval; nicknames can contain multiple names; for example, when merging characters, multiple nicknames can be connected using a default symbol and written to the nickname list, facilitating character retrieval and determining relationships between characters based on nicknames; appearance description, background description, and personality description contain descriptive information about the character's external and internal aspects, as well as various experiences. Based on this description information, AI can be used to generate corresponding characters, and the appearance description must conform to the appropriate character description tone.

[0070] Based on the character field, character assets can be solidified to obtain a character asset library. One AI short drama can correspond to one character asset library, or one episode of an AI short drama can correspond to one character asset library, or one script text can correspond to one character asset library, making it convenient to directly obtain the various character assets required for the AI ​​short drama from the character asset library.

[0071] Character assets can be extracted from the script text multiple times, resulting in multiple sets of fixed character assets. When storing the extracted character assets in the character asset library, you can first check if the library already contains fixed character assets based on the character fields, such as character name or character identifier. If the same character exists, it means that fixed character assets already exist in the library, indicating that the character has already been extracted and fixed. Then, you can append the series number to the fixed character asset based on the character fields. If the asset does not exist, you can perform the fixed character asset processing based on the character fields and store it in the character asset library.

[0072] Furthermore, when determining the character asset library, considering the continuity and serialization of AI short dramas, sequels to AI short dramas can reuse the original character asset library to obtain the character asset library used in the sequel. Therefore, it is also necessary to judge the reused character asset library to determine whether there are character assets in the character asset library that do not match the character fields. That is, whether there are character assets in the original AI short drama that are no longer needed in the sequel. Such character assets will not be used when producing AI short dramas and do not match the character fields extracted from the script text. If there are mismatched asset characters, the character assets that do not match the character fields will be deleted from the character asset library. Alternatively, when each episode of an AI short drama corresponds to a character asset library, after the episode is produced, the character asset library can be reused for the next episode. The reused character asset library is then evaluated to determine if any character assets do not match the character fields. Specifically, it should contain character assets from the original AI short drama episode that are no longer needed in the next episode. These mismatched character assets will not be used in the next episode and will not match the character fields extracted from the next episode's script. If mismatched character assets exist, they will be deleted from the character asset library. This is just one example; for the reuse of character asset libraries, a check can be performed to ensure that character assets match the extracted character fields, preventing the generation of unused characters when creating AI short dramas based on the character asset library and reducing the waste of generation resources.

[0073] Based on the character asset library, the script text contains various fixed character assets. These fixed character assets, such as appearance descriptions and personality descriptions, can be used directly as generation prompts for AI to generate characters for one or more episodes of the AI ​​short drama corresponding to the script text.

[0074] Current AI short drama production processes generally rely on manual organization and constraint of visual elements, resulting in low extraction efficiency and poor standardization. This makes them unsuitable for the large-scale, continuous, and serialized production demands of AI short dramas. The same character is generated independently in different AI short drama episodes, leading to random differences in the generated results each time. This results in high production costs and poor visual consistency. This embodiment extracts and solidifies character assets to create a character asset library. This library can reuse character assets from a single episode or a previous series of AI short dramas, ensuring consistency in character generation. Furthermore, extraction can be performed using an AI Agent, eliminating the need for manual organization of visual elements and resulting in higher extraction efficiency and standardization.

[0075] After obtaining the character assets, the client can view them. An editing interface is also provided to allow the client to perform adaptive editing of the character assets as needed. The client's adaptive editing process must process each character field based on the preset character format. After the client performs adaptive editing of the character assets, it can confirm and upload the edited character assets to the character asset library for storage.

[0076] Based on the obtained character asset library, it can be directly input into an interface such as an LLM large language model as a prompt word for generating AI short drama images, directly constructing the corresponding character without secondary processing.

[0077] The character asset extraction and solidification method for AI short drama production provided by this invention ensures that character construction is based on the same worldview system and applicable descriptive tone through a global worldview framework, avoiding issues such as generated characters being detached from the historical context, technological and economic level of the worldview. Regarding character information, it merges character information with different titles for the same character based on the character dimension, splits multiple sets of character information with the same identity, and splits character information with different forms for the same character, solving problems such as character omissions and merging errors. It also ensures that a group of characters is not mistakenly merged into a single character, guaranteeing the accuracy of the group size during subsequent AI short drama generation. Furthermore, it automates the extraction of character assets, solving problems such as low efficiency and poor standardization of manual processing, reducing reliance on manual processing, and shortening extraction time from several hours to minutes, making it more suitable for the mass production needs of large-scale, continuous, and serialized AI short dramas.

[0078] Example 3 Embodiment 3 of this application provides a non-volatile computer storage medium storing at least one executable instruction that can execute the character asset extraction and solidification method applied to AI short drama production in any of the above method embodiments.

[0079] Executable instructions can specifically be used to cause the processor to perform the following operations: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format; the character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics. Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

[0080] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Identify and determine the text type of the script text. If the text type is a script body, locate and extract the first character information appearing in the script text based on the explicit markers of the structured format of the script body. The script text is semantically scanned according to preset character identification signals to identify and extract the corresponding second character information in the script text; the preset character identification signals include dialogue tags, action subjects, objects being addressed and / or named characters in the scene. The first character information and the second character information are deduplicated and merged to obtain the character information of each character in the script file.

[0081] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: The first role information and the second role information are merged, and duplicate role information is removed to obtain a set of role information to be processed. Based on the role dimension, the information of each role in the set of role information to be processed is processed; the processing includes splitting and / or merging.

[0082] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the role dimension, the role information of the same role with different titles is merged; among them, different titles include nicknames, abbreviations, kinship terms and / or social titles, and each title serves as a substitute for the role information.

[0083] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Determine whether the character information contains a name; If so, use the character name as the character information; If not, determine whether the extracted character information contains a title; If so, use the title as the character's name in the character information.

[0084] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the role dimension, determine whether the number of roles with the same identity in the set of role information to be processed is not single; If so, split multiple roles with the same identity into multiple different role information.

[0085] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the role dimension, the different forms of the same role in the set of role information to be processed are split into different forms of role information, and associated based on the role's nickname.

[0086] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the script text, obtain the contextual content associated with the character in the character information; Based on the context, extract identity anchors including the character's profession, social class, and / or era. Based on the aforementioned context, extract the growth trajectory that includes the character's circumstances and / or character transformation; Based on the context, extract the character's psychological description; Based on the given context, extract the character's initial appearance traits; Role deduction information based on the aforementioned identity anchors, growth process, psychological description and / or initial appearance characteristics.

[0087] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the script text, a global worldview system is determined, and a unified tone for character descriptions is established throughout the series based on this worldview system.

[0088] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Determine whether the character is a human based on the character deduction information. If not, the characters are classified based on preset non-human character types, and character appearance and personality information are set according to the classification. If so, determine the appearance setting factors, including the character's persona, personality traits, faction, and / or class, based on the character deduction information; based on the appearance setting factors and the character's applicable description tone, obtain the character's appearance and personality information, including the character's appearance description information and character personality information; each appearance includes face shape, eyebrow shape, eye shape, nose shape, lip shape, clothing, and / or hairstyle.

[0089] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the character deduction information of different roles and different role assignments, the character appearance description information of different roles is determined by multi-dimensional comparison enhancement; the multi-dimensional comparison includes warm and cool color tone comparison, soft and hard outline comparison, complex and simple style comparison, light and dark hair color comparison and / or delicate and casual comparison.

[0090] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Obtain the content of the character's first appearance in the script text, remove the prop information that meets the preset removal conditions from the content of the character's first appearance, and obtain the character information in the script text; the preset removal conditions include props held by the character, props in the plot close-ups and / or clothing items not worn by the character.

[0091] In one alternative implementation, the executable instructions further cause the processor to perform the following operations: Based on the character fields, determine whether there are any fixed character assets in the character asset library; wherein, the character fields include character identifier, character name, nickname, appearance description, background description, personality description and / or script set number; If so, append the set number to the solidified character assets according to the aforementioned character field; If not, the character assets are solidified based on the aforementioned character fields and stored in the character asset library; Determine whether there are any character assets in the character asset library that do not match the character field; If so, delete the character asset that does not match the character field from the character asset library; Based on the character asset library, the fixed character assets of the script text are obtained to generate an AI short drama corresponding to the script text.

[0092] Example 4 Embodiment 4 of this application also provides a computer program product, which includes at least one executable instruction or computer program that enables a processor to perform the operation corresponding to the character asset extraction and solidification method applied to AI short drama production in any of the above method embodiments.

[0093] Example 5 Figure 3 The diagram shows a structural schematic of an electronic device according to Embodiment 5 of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the electronic device.

[0094] like Figure 3 As shown, the electronic device may include: a processor 302, a communications interface 304, a memory 306, and a communications bus 308.

[0095] in: The processor 302, communication interface 304, and memory 306 communicate with each other via communication bus 308.

[0096] Communication interface 304 is used to communicate with other network elements such as clients or other servers.

[0097] The processor 302 is used to execute program 310, specifically to perform the relevant steps in the above embodiment of the method for extracting and solidifying character assets applied to AI short drama production.

[0098] Specifically, program 310 may include program code that includes computer operation instructions.

[0099] Processor 302 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The server may include one or more processors of the same type, such as one or more CPUs; or it may include processors of different types, such as one or more CPUs and one or more ASICs.

[0100] Memory 306 is used to store program 310. Memory 306 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0101] Specifically, program 310 can be used to cause processor 302 to perform the following operations: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format; the character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics. Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

[0102] In one alternative implementation, program 310 is used to enable processor 302 to identify and determine the text type of the script text; if the text type is a script body, the program locates and extracts the first character information appearing in the script text based on the explicit markings of the structured format of the script body. The script text is semantically scanned according to preset character identification signals to identify and extract the corresponding second character information in the script text; the preset character identification signals include dialogue tags, action subjects, objects being addressed and / or named characters in the scene. The first character information and the second character information are deduplicated and merged to obtain the character information of each character in the script file.

[0103] In an optional implementation, program 310 is used to cause processor 302 to merge the first role information and the second role information, and to perform deduplication on the same role information to obtain a set of role information to be processed. Based on the role dimension, the information of each role in the set of role information to be processed is processed; the processing includes splitting and / or merging.

[0104] In one optional implementation, program 310 is used to enable processor 302 to merge role information of the same role with different titles based on the role dimension; wherein, different titles include nicknames, abbreviations, kinship terms and / or social titles, and each title serves as a substitute for the role information.

[0105] In one alternative implementation, program 310 is used to cause processor 302 to determine whether the role information contains a name; If so, use the character name as the character information; If not, determine whether the extracted character information contains a title; If so, use the title as the character's name in the character information.

[0106] In an optional implementation, program 310 is used to enable processor 302 to determine, based on the role dimension, whether the number of roles with the same identity in the set of role information to be processed is not single; If so, split multiple roles with the same identity into multiple different role information.

[0107] In an optional implementation, program 310 is used to enable processor 302 to split different forms of the same character in the set of character information to be processed into different forms of character information based on the character dimension, and associate them based on the character's nickname.

[0108] In one alternative implementation, program 310 is configured to cause processor 302 to obtain contextual content associated with the character in the character information based on the script text; Based on the context, extract identity anchors including the character's profession, social class, and / or era. Based on the aforementioned context, extract the growth trajectory that includes the character's circumstances and / or character transformation; Based on the context, extract the character's psychological description; Based on the given context, extract the character's initial appearance traits; Role deduction information based on the aforementioned identity anchors, growth process, psychological description and / or initial appearance characteristics.

[0109] In an alternative implementation, program 310 is used to enable processor 302 to determine a global worldview system based on the script text, and to establish a unified character description tone for the entire series based on the worldview system.

[0110] In one alternative implementation, program 310 is used to enable processor 302 to determine whether a character is a human character based on the character deduction information; If not, the characters are classified based on preset non-human character types, and character appearance and personality information are set according to the classification. If so, determine the appearance setting factors, including the character's persona, personality traits, faction, and / or class, based on the character deduction information; based on the appearance setting factors and the character's applicable description tone, obtain the character's appearance and personality information, including the character's appearance description information and character personality information; each appearance includes face shape, eyebrow shape, eye shape, nose shape, lip shape, clothing, and / or hairstyle.

[0111] In one optional implementation, program 310 is used to enable processor 302 to determine the character appearance description information of different characters based on multi-dimensional contrast enhancement according to the character deduction information of different characters and different character assignments; the multi-dimensional contrast includes warm and cool color contrast, soft and hard contour contrast, complex and simple style contrast, light and dark hair color contrast and / or delicate and casual contrast.

[0112] In one optional implementation, program 310 is used to enable processor 302 to obtain the content of the character's first appearance in the script text, remove prop information that meets preset removal conditions from the content of the character's first appearance, and obtain the character information in the script text; the preset removal conditions include props held by the character, props in close-up scenes, and / or clothing items not worn by the character.

[0113] In one optional implementation, program 310 is used to enable processor 302 to determine whether there are any fixed character assets in the character asset library based on the character field; wherein, the character field includes character identifier, character name, nickname, appearance description, background description, personality description and / or script set number; If so, append the set number to the solidified character assets according to the aforementioned character field; If not, the character assets are solidified based on the aforementioned character fields and stored in the character asset library; Determine whether there are any character assets in the character asset library that do not match the character field; If so, delete the character asset that does not match the character field from the character asset library; Based on the character asset library, the fixed character assets of the script text are obtained to generate an AI short drama corresponding to the script text.

[0114] The specific implementation of each step in procedure 310 can be found in the corresponding descriptions of the steps in the above embodiment of character asset extraction and solidification applied to AI short drama production, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described equipment and modules can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0115] The solution provided in this embodiment extracts basic character information and character deduction information from the script text. The character deduction information includes multi-dimensional information such as character identity anchors, growth trajectory, psychological descriptions, and / or initial appearance traits. The basic character information and character deduction information determine the character's physical appearance and personality, facilitating the generation of detailed and accurate character visuals. The obtained character fields are then solidified and stored in a character asset library, enabling the generation of AI short dramas based on these solidified character assets. This ensures the consistency of the same character's appearance within the AI ​​short drama, avoids character appearance deviations between different episodes, and eliminates the need for manual processing, thus improving processing efficiency.

[0116] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of the present invention are not directed to any particular programming language. It should be understood that the embodiments of the present invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing preferred embodiments of the present invention.

[0117] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0118] Similarly, it should be understood that, in order to streamline the embodiments of the invention and aid in understanding one or more of the various inventive aspects, features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this disclosure should not be construed as reflecting an intention that the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0119] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0120] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.

[0121] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The embodiments of the present invention can also be implemented as device or apparatus programs (e.g., computer programs and computer program products) for performing part or all of the methods described herein. Such programs implementing the embodiments of the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0122] It should be noted that the above embodiments are illustrative of the present invention and not restrictive of the invention, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the present invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

[0123] This invention discloses: A1. A method for character asset extraction and solidification applied to AI short drama production, comprising: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format; the character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics. Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

[0124] A2. The method according to A1, wherein the step of extracting the character information from the script text using dual-channel scanning further includes: Identify and determine the text type of the script text. If the text type is a script body, locate and extract the first character information appearing in the script text based on the explicit markers of the structured format of the script body. The script text is semantically scanned according to preset character identification signals to identify and extract the corresponding second character information in the script text; the preset character identification signals include dialogue tags, action subjects, objects being addressed and / or named characters in the scene. The first character information and the second character information are deduplicated and merged to obtain the character information of each character in the script file.

[0125] A3. According to the method described in A2, the step of deduplicating and merging the first character information and the second character information to obtain the character information of each character in the script file further includes: The first role information and the second role information are merged, and duplicate role information is removed to obtain a set of role information to be processed. Based on the role dimension, the information of each role in the set of role information to be processed is processed; the processing includes splitting and / or merging.

[0126] A4. According to the method described in A3, the step of processing the information of each role in the set of role information to be processed based on the role dimension further includes: Based on the role dimension, the role information of the same role with different titles is merged; among them, different titles include nicknames, abbreviations, kinship terms and / or social titles, and each title serves as a substitute for the role information.

[0127] A5. According to the method described in A4, the step of merging the role information of the same role with different titles based on the role dimension further includes: Determine whether the character information contains a name; If so, use the character name as the character information; If not, determine whether the extracted character information contains a title; If so, use the title as the character's name in the character information.

[0128] A6. According to the method in A3, the step of processing the information of each role in the set of role information to be processed based on the role dimension further includes: Based on the role dimension, determine whether the number of roles with the same identity in the set of role information to be processed is not single; If so, split multiple roles with the same identity into multiple different role information.

[0129] A7. According to the method described in A3, the step of processing the information of each role in the set of role information to be processed based on the role dimension further includes: Based on the role dimension, the different forms of the same role in the set of role information to be processed are split into different forms of role information, and associated based on the role's nickname.

[0130] A8. According to the method described in A1, wherein the step of extracting character deduction information based on the script text further includes: Based on the script text, obtain the contextual content associated with the character in the character information; Based on the context, extract identity anchors including the character's profession, social class, and / or era. Based on the aforementioned context, extract the growth trajectory that includes the character's circumstances and / or character transformation; Based on the context, extract the character's psychological description; Based on the given context, extract the character's initial appearance traits; Role deduction information based on the aforementioned identity anchors, growth process, psychological description and / or initial appearance characteristics.

[0131] A9. The method according to any one of A1-A8, wherein, after obtaining the script text comprising one or more episodes, the method further comprises: Based on the script text, a global worldview system is determined, and a unified tone for character descriptions is established throughout the series based on this worldview system.

[0132] A10. The method according to A9, wherein determining the character's appearance and personality information based on the character deduction information further includes: Determine whether the character is a human based on the character deduction information. If not, the characters are classified based on preset non-human character types, and character appearance and personality information are set according to the classification. If so, determine the appearance setting factors, including the character's persona, personality traits, faction, and / or class, based on the character deduction information; based on the appearance setting factors and the character's applicable description tone, obtain the character's appearance and personality information, including the character's appearance description information and character personality information; each appearance includes face shape, eyebrow shape, eye shape, nose shape, lip shape, clothing, and / or hairstyle.

[0133] A11. The method according to A10, wherein determining the character's appearance and personality information based on the character deduction information further includes: Based on the character deduction information of different roles and different role assignments, the character appearance description information of different roles is determined by multi-dimensional comparison enhancement; the multi-dimensional comparison includes warm and cool color tone comparison, soft and hard outline comparison, complex and simple style comparison, light and dark hair color comparison and / or delicate and casual comparison.

[0134] A12. The method according to A1, wherein the step of extracting the character information from the script text using dual-channel scanning further includes: Obtain the content of the character's first appearance in the script text, remove the prop information that meets the preset removal conditions from the content of the character's first appearance, and obtain the character information in the script text; the preset removal conditions include props held by the character, props in the plot close-ups and / or clothing items not worn by the character.

[0135] A13. The method according to any one of A1-A12, wherein the character field includes character identifier, character name, nickname, appearance description, background description, personality description and / or script episode number; The step of solidifying character assets based on the character fields to obtain a character asset library containing solidified character assets further includes: Based on the role field, determine whether there are any fixed role assets in the role asset library; If so, append the set number to the solidified character assets according to the aforementioned character field; If not, the character assets are solidified based on the aforementioned character fields and stored in the character asset library; Determine whether there are any character assets in the character asset library that do not match the character field; If so, delete the character asset that does not match the character field from the character asset library; Based on the character asset library, the fixed character assets of the script text are obtained to generate an AI short drama corresponding to the script text.

[0136] The present invention also discloses: B14. An electronic device, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction, which causes the processor to perform the following operations: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format; the character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics. Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

[0137] B15. The electronic device according to B14, the executable instructions further cause the processor to perform the following operations: Identify and determine the text type of the script text. If the text type is a script body, locate and extract the first character information appearing in the script text based on the explicit markers of the structured format of the script body. The script text is semantically scanned according to preset character identification signals to identify and extract the corresponding second character information in the script text; the preset character identification signals include dialogue tags, action subjects, objects being addressed and / or named characters in the scene. The first character information and the second character information are deduplicated and merged to obtain the character information of each character in the script file.

[0138] B16. The electronic device according to B15, wherein the executable instructions further cause the processor to perform the following operations: The first role information and the second role information are merged, and duplicate role information is removed to obtain a set of role information to be processed. Based on the role dimension, the information of each role in the set of role information to be processed is processed; the processing includes splitting and / or merging.

[0139] B17. The electronic device according to B16, the executable instructions further cause the processor to perform the following operations: Based on the role dimension, the role information of the same role with different titles is merged; among them, different titles include nicknames, abbreviations, kinship terms and / or social titles, and each title serves as a substitute for the role information.

[0140] B18. The electronic device according to B17, the executable instructions further cause the processor to perform the following operations: Determine whether the character information contains a name; If so, use the character name as the character information; If not, determine whether the extracted character information contains a title; If so, use the title as the character's name in the character information.

[0141] B19. The electronic device according to B16, the executable instructions further cause the processor to perform the following operations: Based on the role dimension, determine whether the number of roles with the same identity in the set of role information to be processed is not single; If so, split multiple roles with the same identity into multiple different role information.

[0142] B20. The electronic device according to B16, wherein the executable instructions further cause the processor to perform the following operations: Based on the role dimension, the different forms of the same role in the set of role information to be processed are split into different forms of role information, and associated based on the role's nickname.

[0143] B21. The electronic device according to B14, wherein the executable instructions further cause the processor to perform the following operations: Based on the script text, obtain the contextual content associated with the character in the character information; Based on the context, extract identity anchors including the character's profession, social class, and / or era. Based on the aforementioned context, extract the growth trajectory that includes the character's circumstances and / or character transformation; Based on the context, extract the character's psychological description; Based on the given context, extract the character's initial appearance traits; Role deduction information based on the aforementioned identity anchors, growth process, psychological description and / or initial appearance characteristics.

[0144] B22. The electronic device according to any one of B14-B21, wherein the executable instructions further cause the processor to perform the following operations: Based on the script text, a global worldview system is determined, and a unified tone for character descriptions is established throughout the series based on this worldview system.

[0145] B23. The electronic device according to B22, wherein the executable instructions further cause the processor to perform the following operations: Determine whether the character is a human based on the character deduction information. If not, the characters are classified based on preset non-human character types, and character appearance and personality information are set according to the classification. If so, determine the appearance setting factors, including the character's persona, personality traits, faction, and / or class, based on the character deduction information; based on the appearance setting factors and the character's applicable description tone, obtain the character's appearance and personality information, including the character's appearance description information and character personality information; each appearance includes face shape, eyebrow shape, eye shape, nose shape, lip shape, clothing, and / or hairstyle.

[0146] B24. The electronic device according to B23, wherein the executable instructions further cause the processor to perform the following operations: Based on the character deduction information of different roles and different role assignments, the character appearance description information of different roles is determined by multi-dimensional comparison enhancement; the multi-dimensional comparison includes warm and cool color tone comparison, soft and hard outline comparison, complex and simple style comparison, light and dark hair color comparison and / or delicate and casual comparison.

[0147] B25. The electronic device according to B14, wherein the executable instructions further cause the processor to perform the following operations: Obtain the content of the character's first appearance in the script text, remove the prop information that meets the preset removal conditions from the content of the character's first appearance, and obtain the character information in the script text; the preset removal conditions include props held by the character, props in the plot close-ups and / or clothing items not worn by the character.

[0148] B26. The electronic device according to any one of B14-B25, wherein the executable instructions further cause the processor to perform the following operations: Based on the character fields, determine whether there are any fixed character assets in the character asset library; wherein, the character fields include character identifier, character name, nickname, appearance description, background description, personality description and / or script set number; If so, append the set number to the solidified character assets according to the aforementioned character field; If not, the character assets are solidified based on the aforementioned character fields and stored in the character asset library; Determine whether there are any character assets in the character asset library that do not match the character field; If so, delete the character asset that does not match the character field from the character asset library; Based on the character asset library, the fixed character assets of the script text are obtained to generate an AI short drama corresponding to the script text.

[0149] The present invention also discloses: C27. A computer storage medium storing at least one executable instruction that causes a processor to perform an operation corresponding to the character asset extraction and solidification method for AI short drama production as described in any one of A1-A13.

[0150] The present invention also discloses: D28. A computer program product comprising at least one executable instruction that causes a processor to perform an operation corresponding to the character asset extraction and solidification method for AI short drama production as described in any one of A1-A13.

Claims

1. A method for character asset extraction and solidification applied to AI short drama production, comprising: Retrieve script text containing one or more episodes; Based on the script text, character information in the script text is extracted using dual-channel scanning; The dual channels include structured format and semantic scanning; Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format. The character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics; Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

2. The method according to claim 1, wherein, The step of extracting character information from the script text using dual-channel scanning further includes: Identify and determine the text type of the script text. If the text type is a script body, locate and extract the first character information appearing in the script text based on the explicit markers of the structured format of the script body. The script text is semantically scanned according to preset character identification signals to identify and extract the corresponding second character information in the script text; the preset character identification signals include dialogue tags, action subjects, objects being addressed and / or named characters in the scene. The first character information and the second character information are deduplicated and merged to obtain the character information of each character in the script file.

3. The method according to claim 2, wherein, The step of deduplicating and merging the first character information and the second character information to obtain the character information of each character in the script file further includes: The first role information and the second role information are merged, and duplicate role information is removed to obtain a set of role information to be processed. Based on the role dimension, the information of each role in the set of role information to be processed is processed; the processing includes splitting and / or merging.

4. The method according to claim 3, wherein, The step of processing the information of each role in the set of role information to be processed based on the role dimension further includes: Based on the role dimension, the role information of the same role with different titles is merged; among them, different titles include nicknames, abbreviations, kinship terms and / or social titles, and each title serves as a substitute for the role information.

5. The method according to claim 4, wherein, The merging of role information for the same character with different titles based on the role dimension further includes: Determine whether the character information contains a name; If so, use the character name as the character information; If not, determine whether the extracted character information includes a title; If so, use the title as the character's name in the character information.

6. The method according to claim 3, wherein, The step of processing the information of each role in the set of role information to be processed based on the role dimension further includes: Based on the role dimension, determine whether the number of roles with the same identity in the set of role information to be processed is not single; If so, split multiple roles with the same identity into multiple different role information.

7. The method according to claim 3, wherein, The step of processing the information of each role in the set of role information to be processed based on the role dimension further includes: Based on the role dimension, the different forms of the same role in the set of role information to be processed are split into different forms of role information, and associated based on the role's nickname.

8. An electronic device, comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the following operations: Retrieve script text containing one or more episodes; Based on the script text, character information is extracted from the script text using a dual-channel scanning method; the dual-channel method includes structured format scanning and semantic scanning. Based on the script text, character deduction information is extracted from the character information, and character appearance and personality information is determined according to the character deduction information to generate character fields containing a preset character format. The character deduction information includes multi-dimensional information such as identity anchors, growth process, psychological description and / or initial appearance characteristics; Based on the aforementioned role fields, the role assets are solidified to obtain a role asset library containing the solidified role assets.

9. A computer storage medium storing at least one executable instruction that causes a processor to perform an operation corresponding to the character asset extraction and solidification method for AI short drama production as described in any one of claims 1-7.

10. A computer program product comprising at least one executable instruction that causes a processor to perform an operation corresponding to the character asset extraction and solidification method for AI short drama production as described in any one of claims 1-7.