Method, device, equipment and medium for creating works based on random seeds
By extracting the semantic information and multi-dimensional feature information of random seeds, the works are generated and optimized, which solves the problems of low creation efficiency and unstable quality in the existing technology, and achieves automated creation and quality improvement.
Patent Information
- Application Number
- CN202410726697.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing artificial intelligence-assisted creation methods rely on prompt words input by humans, resulting in low creation efficiency and unstable work quality, making it impossible to achieve automated creation.
By obtaining random seed information (audio, image, text data types), identifying and extracting semantic information, extracting multi-dimensional feature information based on a pre-built inspiration library, we can generate works and iteratively optimize them, reducing reliance on manual input.
It improves the efficiency of work creation, reduces the dependence on manual input, improves the quality of works, and realizes automated creation.
Smart Images

Figure CN118297077B
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and medium for creating works based on random seeds. Background Art
[0002] In the existing technology, most AI-assisted creation is still dominated by people and assisted by AI. In order to generate high-quality content, it must completely rely on complete, standardized and creative prompts input by humans, and cannot achieve automated creation, resulting in low creation efficiency. At the same time, this dependence makes the generated content severely limited by human imagination and cognitive level, resulting in uneven quality of the generated works. Therefore, there is an urgent need for a work creation method to improve creation efficiency, reduce dependence on manual input, and improve the quality of work creation. Summary of the invention
[0003] The purpose of the embodiments of the present application is to propose a method, device, equipment and medium for creating works based on random seeds, so as to improve the efficiency of work creation, reduce the dependence on manual input, and improve the quality of work creation.
[0004] In order to solve the above technical problems, the embodiment of the present application provides a work creation method based on random seeds, including:
[0005] Acquire random seed information, wherein the random seed information is any data type among an audio data type, an image data type, and a text data type;
[0006] Identify the data type of the random seed information, and extract semantic information of the random seed information based on the data type;
[0007] Extracting multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain target multi-dimensional feature information;
[0008] Performing work generation processing according to the target multi-dimensional feature information to obtain an initial work;
[0009] The initial work is iteratively optimized based on the preset evaluation dimension to obtain a target work.
[0010] In order to solve the above technical problems, the embodiment of the present application provides a work creation device based on random seeds, including:
[0011] A seed information acquisition module, used to acquire random seed information, wherein the random seed information is any data type among an audio data type, an image data type and a text data type;
[0012] A semantic analysis module, used for identifying the data type of the random seed information and extracting semantic information of the random seed information based on the data type;
[0013] An inspiration stimulation module, used for extracting multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain target multi-dimensional feature information;
[0014] A creation execution module, used to perform work generation processing according to the target multi-dimensional feature information to obtain an initial work;
[0015] The iterative optimization module is used to iteratively optimize the initial work based on the preset evaluation dimension to obtain the target work.
[0016] In order to solve the above technical problems, a technical solution adopted by the present invention is: to provide a computer device, including one or more processors; a memory for storing one or more programs, so that the one or more processors can implement any one of the above-mentioned random seed-based work creation methods.
[0017] In order to solve the above technical problems, a technical solution adopted by the present invention is: a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned random seed-based work creation methods is implemented.
[0018] The embodiment of the present invention provides a method, device, equipment and medium for creating works based on random seeds. The method includes: obtaining random seed information, wherein the random seed information is any one of an audio data type, an image data type and a text data type; identifying the data type of the random seed information, and extracting the semantic information of the random seed information based on the data type; extracting the multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain the target multi-dimensional feature information; performing work generation processing according to the target multi-dimensional feature information to obtain an initial work; performing iterative optimization processing on the initial work based on a preset judgment dimension to obtain a target work. The embodiment of the present invention reduces the reliance on manual input by extracting the semantic information of the random seed information, extracting the multi-dimensional feature information according to the semantic information, and automatically generating and optimizing the work according to the multi-dimensional feature information, which is conducive to improving the efficiency of work creation and improving the quality of work creation. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 This is a flowchart of the implementation process of the random seed-based work creation method provided in the embodiment of the present application;
[0021] Figure 2 is a flowchart for implementing step S2 provided in an embodiment of the present application;
[0022] Figure 3 is a flowchart for implementing step S22 provided in an embodiment of the present application;
[0023] Figure 4 It is a flowchart of the sub-process implementation after step S2 provided in the embodiment of the present application;
[0024] Figure 5 is a flowchart for implementing step S3 provided in an embodiment of the present application;
[0025] Figure 6 is a flowchart for implementing step S4 provided in an embodiment of the present application;
[0026] Figure 7 is a flowchart for implementing step S5 provided in an embodiment of the present application;
[0027] Figure 8 It is a schematic diagram of a work creation device based on random seeds provided in an embodiment of the present application;
[0028] Fig. 9 It is a schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0032] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0033] It should be noted that the random seed-based work creation method provided in the embodiment of the present application is generally executed by a server, and accordingly, the random seed-based work creation device is generally configured in the server.
[0034] See also Figure 1 , Figure 1 A specific implementation of a method for creating works based on random seeds is shown.
[0035] It should be noted that if there are substantially the same results, the method of the present invention is not limited to Figure 1 The process sequence shown is limited to the following steps:
[0036] S1: Obtain random seed information, wherein the random seed information is any data type among an audio data type, an image data type, and a text data type.
[0037] Specifically, the embodiment of the present application provides a method for creating works based on random seeds, which is applied to the scenario of automatic creation of works. Therefore, when it is necessary to create works, it is necessary to obtain random seed information, and the random seed information is any data type among audio data type, image data type and text data type.
[0038] S2: Identify the data type of the random seed information, and extract semantic information of the random seed information based on the data type.
[0039] The embodiment of the present application aims to analyze the input random seed information, extract rich semantic information from it, and build a deeper contextual understanding to inspire creative inspiration. In the embodiment of the present application, the data type of the random seed information is first identified, and then different data types are subjected to different semantic extraction methods to extract the semantic information of the random seed information.
[0040] In a specific application embodiment, a function F is constructed that can convert random seed information x with a specific data type identifier t into a creative inspiration instruction G(x'), which is semantic information.
[0041] See also Figure 2 , Figure 2 A specific implementation of step S2 is shown, which is described in detail as follows:
[0042] S21: Identify the data type of the random seed information;
[0043] S22: If the data type is an audio data type, preprocess the random seed information to generate target audio information, and perform semantic extraction based on the target audio information to obtain the semantic information.
[0044] See also Figure 3 , Figure 3 A specific implementation of step S22 is shown, which is described in detail as follows:
[0045] S221: If the data type is an audio data type, performing human voice separation and noise elimination processing on the random seed information to generate the target audio information;
[0046] S222: Performing speech recognition on the target audio information by using speech recognition technology to generate target text information;
[0047] S223: using the preset semantic model to perform multi-dimensional analysis and semantic extraction on the target text information to obtain initial semantic information;
[0048] S224: Perform data solidification processing on the initial semantic information to obtain semantic information.
[0049] Specifically, if the data type is an audio data type, the target audio information is obtained by performing human voice separation and noise elimination on the random seed information to convert it into a clear audio signal, and then the target audio information is subjected to speech recognition through speech recognition technology to generate target text information. The target text information is in the form of a text string, and the target text information is subjected to multi-dimensional analysis and semantic extraction by calling the Finetune-LLM model to obtain initial semantic information. Finally, in order to normalize the format and unify the coding, the extracted initial semantic information is subjected to data solidification processing to obtain semantic information. In an embodiment of the present application, data solidification processing of the semantic information can facilitate the calling, processing and analysis of subsequent modules.
[0050] S23: If the data type is the image data type, resize and encode the random seed information, and perform text string conversion and semantic extraction on the encoded random seed information in sequence to obtain the semantic information.
[0051] Specifically, if the data type is an image data type, the random seed information is cropped to a uniform preset size, and then the cropped random seed information is encoded using base64 encoding. The encoded random seed information is then converted to a text string and semantically extracted in turn. The semantic extraction here is performed by calling the Finetune-LLM model to perform multi-dimensional analysis and semantic extraction. Finally, the extracted semantic information is solidified to obtain semantic information.
[0052] S24: If the data type is the text data type, a preset semantic model is used to perform multi-dimensional analysis and semantic extraction on the random seed information to obtain the semantic information.
[0053] Specifically, if the data type is a text data type, the Finetune-LLM model is directly called to perform multi-dimensional analysis and semantic extraction on the random seed information, and the extracted semantic information is solidified to obtain semantic information.
[0054] Among them, the dimensions in the above multidimensional analysis include: Sentiment: judging the emotional tendency of the text, such as positive, negative or neutral; Theme: identifying the core topics and themes discussed in the text; Scene: understanding the environment and background described or implied by the text; Entity: identifying specific entities such as names, places, organizations, etc. in the text; Style: analyzing the writing style of the text, such as formal, informal, academic, etc.; Intent: inferring the author's intention; Language: determining the language and its variants used in the text; Additional attributes: including but not limited to other language features such as rhythm, rhetoric, and syntactic structure.
[0055] See also Figure 4 , Figure 4 A specific implementation after step S2 is shown, which is described in detail as follows:
[0056] S2A: Determine whether the semantic information meets preset requirements and obtain a determination result;
[0057] S2B: If the judgment result does not meet the preset requirement, new semantic information is generated by using a sample library extraction method or a semantic expansion method, and the new semantic information is added to the semantic information.
[0058] Specifically, the preset requirement is whether the semantic information is sufficient to support the in-depth analysis of the present application. In another specific implementation, it can be determined whether the number of features in the semantic information exceeds the preset number of features to determine whether the semantic information meets the preset requirements. When the judgment result does not meet the preset requirements, a sample library extraction method or a semantic expansion method is used to generate new semantic information, and the new semantic information is added to the semantic information. Among them, the sample library extraction method is to randomly extract a text with a high similarity to the converted text or the original text from the existing sample library to enrich and supplement the missing semantic information in the original text. The semantic expansion method uses the generation capability of Finetune-LLM to semantically expand the converted text or the original text to complete and enrich the information, ensuring that a text with sufficient complexity is obtained, which is suitable for detailed paradigm analysis.
[0059] S3: Extract multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain target multi-dimensional feature information.
[0060] Specifically, the embodiments of the present application utilize semantic information to stimulate and guide creative inspiration, so it is necessary to extract multi-dimensional feature information of the semantic information to obtain target multi-dimensional feature information.
[0061] See also Figure 5 , Figure 5 A specific implementation of step S3 is shown, which is described in detail as follows:
[0062] S31: matching the semantic information with the pre-built inspiration library to extract multi-dimensional feature information of the semantic information to obtain initial multi-dimensional feature information;
[0063] S32: Convert the multi-dimensional feature information into a preset format to obtain the target multi-dimensional feature information.
[0064] Specifically, before step S31, an inspiration library needs to be built, which is a multi-dimensional creative inspiration database containing a wealth of keywords and phrases, which are the sources of creative inspiration. Each piece of data is marked with one or more N-dimensional vectors for easy retrieval and matching.
[0065] In the embodiment of the present application, the semantic information is matched with the data in the inspiration library, and the characteristic attributes of the matching data type, emotion, theme, scene and other dimensions are extracted, and the input in the inspiration library that matches the semantic information is found to obtain the initial multi-dimensional characteristic information. Finally, the multi-dimensional characteristic information is converted into a preset format to obtain the target multi-dimensional characteristic information.
[0066] The preset format is a format that can be understood and used by CreatorAgent.
[0067] S4: Perform work generation processing according to the target multi-dimensional feature information to obtain an initial work.
[0068] Specifically, a series of expert agents automatically create works based on target multi-dimensional information to obtain initial works.
[0069] See also Figure 6 , Figure 6 A specific implementation of step S4 is shown, which is described in detail as follows:
[0070] S41: inputting the target multi-dimensional feature information into a creation execution module;
[0071] S42: Performing work content and evaluation feedback generation processing based on the multi-dimensional feature information to obtain an original work;
[0072] S43: Convert the original work into a preset media format to generate the initial work.
[0073] Specifically, the embodiment of the present application utilizes a creation execution module to perform work generation processing, and the creation execution module includes the following expert agents:
[0074] CreatorAgent: A creative agent that accepts structured input and produces structured output. CriticAgent: A critic agent that evaluates the content produced by IterAgent (CreatorAgent) and provides feedback. IterAgent: An interactive agent that divides the creative process into multiple interactive steps, optional. ScriptwriterAgent: An agent that is specifically responsible for adapting the generated text into a script format suitable for downstream task processing. ClipAgent: An agent responsible for clipping the script into the media form required by the user.
[0075] In the embodiment of the present application, the target multi-dimensional feature information is received through CreatorAgent or IterAgent, the work content and evaluation feedback generation and processing are performed through CriticAgent to obtain the original work, and then the original work is converted into a preset media format through ClipAgent to generate an initial work.
[0076] S5: Iteratively optimize the initial work based on the preset evaluation dimension to obtain a target work.
[0077] Specifically, the initial work is iteratively optimized to improve the creation and enhance the creation effect, so that the generated work is more in line with expectations and has higher artistic quality. The creation iteration process follows the path of IterAgent (CreatorAgent) -> CriticAgent -> NextFlow to maximize the content quality.
[0078] See also Figure 7 , Figure 7 A specific implementation of step S5 is shown, which is described in detail as follows:
[0079] S51: Obtaining feedback information of the initial work based on the preset evaluation dimension;
[0080] S52: judging whether the content of the initial work meets the preset expectation based on the feedback information, and if not, regenerating the initial work;
[0081] S53: When the initial work meets the preset expectations, determining whether the initial work has passed acceptance;
[0082] S54: If the initial work fails to pass the acceptance, the target multi-dimensional feature information is optimized and the work generation process is performed again until the generated work passes the acceptance, thereby obtaining the target work.
[0083] Specifically, since CriticAgent has the work content and evaluation feedback generation, it is necessary to obtain the feedback information of the initial work based on the preset evaluation dimension in each iteration process; based on the feedback information, it is determined whether the content of the initial work meets the preset expectations. If not, the initial work is regenerated until it meets the preset expectations. Among them, the preset evaluation dimension includes the following standards:
[0084] Safety: bool type; Creativity: int type (1-100); Logic: bool type, whether there is a logical contradiction in the context; Style: bool type, used to judge whether <style> meets the preset expectations; Consistency: bool type, used to judge whether the work meets the preset expectations of <entity> <emotion>. The preset expectations are set according to the actual situation and are not limited here.
[0085] When the initial work meets the preset expectations, it is determined whether the initial work has passed the acceptance. The method for determining whether the initial work has passed the acceptance is to send the initial work to the user end, and the user end determines whether it can pass the acceptance and feeds back the judgment result to the server. If the initial work does not pass the acceptance, the target multi-dimensional feature information is optimized and the work generation process is performed again until the generated work passes the acceptance and the target work is obtained.
[0086] In an embodiment of the present application, random seed information is obtained, wherein the random seed information is any one of an audio data type, an image data type, and a text data type; the data type of the random seed information is identified, and the semantic information of the random seed information is extracted based on the data type; the multi-dimensional feature information of the semantic information is extracted based on a pre-constructed inspiration library to obtain target multi-dimensional feature information; work generation processing is performed according to the target multi-dimensional feature information to obtain an initial work; the initial work is iteratively optimized based on a preset judgment dimension to obtain a target work. The embodiment of the present invention reduces the reliance on manual input by extracting the semantic information of the random seed information, extracting the multi-dimensional feature information based on the semantic information, and automatically generating and optimizing the work based on the multi-dimensional feature information, which is conducive to improving the efficiency of work creation and improving the quality of work creation.
[0087] Furthermore, the embodiments of the present application can directly extract semantic information from multimedia or text seed fragments, and then inspire creative inspiration based on this. Therefore, the embodiments of the present application can reduce the dependence on human input, so as to get rid of the constraints of human cognitive level when generating content.
[0088] Please refer to Figure 8 , as a response to the above Figure 1 The present application provides an embodiment of a work creation device based on random seeds. Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0089] like Figure 8 As shown, the random seed-based work creation device of this embodiment includes: a seed information acquisition module 61, a semantic analysis module 62, an inspiration stimulation module 63, a creation execution module 64 and an iterative optimization module 65, wherein:
[0090] A seed information acquisition module 61 is used to acquire random seed information, wherein the random seed information is any data type among an audio data type, an image data type and a text data type;
[0091] A semantic analysis module 62, configured to identify the data type of the random seed information and extract semantic information of the random seed information based on the data type;
[0092] An inspiration stimulation module 63 is used to extract multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain target multi-dimensional feature information;
[0093] A creation execution module 64 is used to perform work generation processing according to the target multi-dimensional feature information to obtain an initial work;
[0094] The iterative optimization module 65 is used to iteratively optimize the initial work based on the preset evaluation dimension to obtain the target work.
[0095] Furthermore, the semantic analysis module 62 includes:
[0096] A data type identification unit, used to identify the data type of the random seed information;
[0097] A first extraction unit is used for, if the data type is an audio data type, preprocessing the random seed information to generate target audio information, and performing semantic extraction based on the target audio information to obtain the semantic information;
[0098] a second extraction unit, configured to, if the data type is the image data type, resize and encode the random seed information, and sequentially perform text string conversion and semantic extraction on the encoded random seed information to obtain the semantic information;
[0099] The third extraction unit is used to perform multi-dimensional analysis and semantic extraction on the random seed information using a preset semantic model to obtain the semantic information if the data type is the text data type.
[0100] Further, the first extraction unit includes:
[0101] a target audio information generating unit, configured to, if the data type is an audio data type, perform human voice separation and noise elimination processing on the random seed information to generate the target audio information;
[0102] A speech recognition unit, used to perform speech recognition on the target audio information through speech recognition technology to generate target text information;
[0103] An initial semantic information generating unit, used to perform multi-dimensional analysis and semantic extraction on the target text information using the preset semantic model to obtain initial semantic information;
[0104] The semantic information generating unit is used to perform data solidification processing on the initial semantic information to obtain semantic information.
[0105] Furthermore, the semantic analysis module 62 further includes:
[0106] A judgment result generating unit, used to judge whether the semantic information meets the preset requirements and obtain a judgment result;
[0107] A new semantic information generating unit is used to generate new semantic information by using a sample library extraction method or a semantic expansion method if the judgment result does not meet the preset requirement, and add the new semantic information to the semantic information.
[0108] Furthermore, the inspiration module 63 includes:
[0109] An initial feature extraction unit, used for matching the semantic information with the pre-built inspiration library to extract multi-dimensional feature information of the semantic information to obtain initial multi-dimensional feature information;
[0110] The feature information format conversion unit is used to convert the multi-dimensional feature information into a preset format to obtain the target multi-dimensional feature information.
[0111] Furthermore, the creation execution module 64 includes:
[0112] An input unit, used to input the target multi-dimensional feature information into a creation execution module;
[0113] An original work generating unit, used for generating work content and evaluation feedback based on the multi-dimensional feature information to obtain an original work;
[0114] The format conversion unit is used to convert the original work into a preset media format to generate the initial work.
[0115] Furthermore, the iterative optimization module 65 includes:
[0116] A feedback information acquisition unit, configured to acquire feedback information of the initial work based on the preset evaluation dimension;
[0117] A preset expectation judgment unit, configured to judge whether the content of the initial work meets the preset expectation based on the feedback information, and if not, regenerate the initial work;
[0118] An acceptance judgment unit, used to judge whether the initial work has passed the acceptance when the initial work meets the preset expectations;
[0119] The acceptance passing unit is used to optimize the target multi-dimensional feature information and re-generate the work if the initial work fails to pass the acceptance, until the generated work passes the acceptance to obtain the target work.
[0120] In an embodiment of the present application, random seed information is obtained, wherein the random seed information is any one of an audio data type, an image data type, and a text data type; the data type of the random seed information is identified, and the semantic information of the random seed information is extracted based on the data type; the multi-dimensional feature information of the semantic information is extracted based on a pre-constructed inspiration library to obtain target multi-dimensional feature information; work generation processing is performed according to the target multi-dimensional feature information to obtain an initial work; the initial work is iteratively optimized based on a preset judgment dimension to obtain a target work. The embodiment of the present invention reduces the reliance on manual input by extracting the semantic information of the random seed information, extracting the multi-dimensional feature information based on the semantic information, and automatically generating and optimizing the work based on the multi-dimensional feature information, which is conducive to improving the efficiency of work creation and improving the quality of work creation.
[0121] To solve the above technical problems, the present application also provides a computer device. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.
[0122] The computer device 7 includes a memory 71, a processor 72, and a network interface 73 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 7 having three components: a memory 71, a processor 72, and a network interface 73, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASIC), programmable gate arrays (FPGA), digital signal processors (DSP), embedded devices, etc.
[0123] Computer devices can be computing devices such as desktop computers, notebooks, PDAs, and cloud servers. Computer devices can interact with users through keyboards, mice, remote controls, touch pads, or voice control devices.
[0124] The memory 71 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 71 can be an internal storage unit of the computer device 7, such as a hard disk or memory of the computer device 7. In other embodiments, the memory 71 can also be an external storage device of the computer device 7, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 7. Of course, the memory 71 can also include both the internal storage unit of the computer device 7 and its external storage device. In this embodiment, the memory 71 is generally used to store the operating system and various application software installed on the computer device 7, such as the program code of the work creation method based on random seeds, etc. In addition, the memory 71 can also be used to temporarily store various data that have been output or are to be output.
[0125] In some embodiments, the processor 72 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 72 is generally used to control the overall operation of the computer device 7. In this embodiment, the processor 72 is used to run the program code stored in the memory 71 or process data, such as running the program code of the random seed-based work creation method to implement various embodiments of the random seed-based work creation method.
[0126] The network interface 73 may include a wireless network interface or a wired network interface, and the network interface 73 is generally used to establish a communication connection between the computer device 7 and other electronic devices.
[0127] The present application also provides another implementation, namely, providing a computer-readable storage medium, which stores a computer program, and the computer program can be executed by at least one processor to enable the at least one processor to perform the steps of a method for creating works based on random seeds as described above.
[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0129] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to replace some of the technical features therein with equivalents. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A method for creating works based on random seeds, characterized in that: include: Acquire random seed information, wherein the random seed information is any data type among an audio data type, an image data type, and a text data type; Identify the data type of the random seed information, and extract semantic information of the random seed information based on the data type; Extracting multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain target multi-dimensional feature information, wherein the target multi-dimensional feature information includes dimensions of emotion, theme, scene, entity, segmentation, intent, language, and additional attributes; Performing work generation processing according to the target multi-dimensional feature information to obtain an initial work; Iteratively optimizing the initial work based on the preset evaluation dimension to obtain a target work; The identifying the data type of the random seed information and extracting semantic information of the random seed information based on the data type includes: Identify the data type of the random seed information; If the data type is an audio data type, preprocessing the random seed information to generate target audio information, and performing semantic extraction based on the target audio information to obtain the semantic information; If the data type is the image data type, resizing and encoding the random seed information, and performing text string conversion and semantic extraction on the encoded random seed information in sequence to obtain the semantic information; If the data type is the text data type, a preset semantic model is used to perform multi-dimensional analysis and semantic extraction on the random seed information to obtain the semantic information; The step of performing work generation processing according to the target multi-dimensional feature information to obtain an initial work includes: Inputting the target multi-dimensional feature information into a creation execution module; Based on the multi-dimensional feature information, the work content and evaluation feedback generation process are performed to obtain the original work, wherein the original work is a work in text format; The original work is converted into a preset media format to generate the initial work.
2. The method for creating works based on random seeds according to claim 1, characterized in that: If the data type is an audio data type, preprocessing the random seed information to generate target audio information, and performing semantic extraction based on the target audio information to obtain the semantic information includes: If the data type is an audio data type, performing human voice separation and noise elimination processing on the random seed information to generate the target audio information; Performing speech recognition on the target audio information by using speech recognition technology to generate target text information; Using the preset semantic model to perform multi-dimensional analysis and semantic extraction on the target text information to obtain initial semantic information; The initial semantic information is subjected to data solidification processing to obtain semantic information.
3. The method for creating works based on random seeds according to claim 1, characterized in that: After identifying the data type of the random seed information and extracting semantic information of the random seed information based on the data type, the method further includes: Determine whether the semantic information meets the preset requirements and obtain a determination result; If the judgment result does not meet the preset requirement, new semantic information is generated by using a sample library extraction method or a semantic expansion method, and the new semantic information is added to the semantic information.
4. The method for creating works based on random seeds according to claim 1, characterized in that: The extracting multi-dimensional feature information of the semantic information based on the pre-built inspiration library includes: Matching the semantic information with the pre-built inspiration library to extract multi-dimensional feature information of the semantic information to obtain initial multi-dimensional feature information; The multi-dimensional feature information is converted into a preset format to obtain the target multi-dimensional feature information.
5. The method for creating works based on random seeds according to any one of claims 1 to 4, characterized in that: The iterative optimization process of the initial work based on the preset evaluation dimension to obtain the target work includes: Obtaining feedback information of the initial work based on the preset evaluation dimension; Determining whether the content of the initial work meets preset expectations based on the feedback information, and if not, regenerating the initial work; When the initial work meets the preset expectations, determining whether the initial work has passed acceptance; If the initial work fails to pass the acceptance, the target multi-dimensional feature information is optimized and the work generation process is performed again until the generated work passes the acceptance, thereby obtaining the target work.
6. A work creation device based on random seeds, characterized in that: include: A seed information acquisition module, used to acquire random seed information, wherein the random seed information is any data type among an audio data type, an image data type and a text data type; A semantic analysis module, used for identifying the data type of the random seed information and extracting semantic information of the random seed information based on the data type; An inspiration stimulation module, used to extract multi-dimensional feature information of the semantic information based on a pre-built inspiration library to obtain target multi-dimensional feature information, wherein the target multi-dimensional feature information includes dimensions of emotion, theme, scene, entity, segmentation, intent, language and additional attributes; A creation execution module, used to perform work generation processing according to the target multi-dimensional feature information to obtain an initial work; An iterative optimization module, used for iteratively optimizing the initial work based on a preset evaluation dimension to obtain a target work; The semantic analysis module includes: A data type identification unit, used to identify the data type of the random seed information; A first extraction unit is used for, if the data type is an audio data type, preprocessing the random seed information to generate target audio information, and performing semantic extraction based on the target audio information to obtain the semantic information; a second extraction unit, configured to, if the data type is the image data type, resize and encode the random seed information, and sequentially perform text string conversion and semantic extraction on the encoded random seed information to obtain the semantic information; A third extraction unit is used for, if the data type is the text data type, using a preset semantic model to perform multi-dimensional analysis and semantic extraction on the random seed information to obtain the semantic information; The creation execution module includes: An input unit, used to input the target multi-dimensional feature information into a creation execution module; An original work generating unit, used for performing work content and evaluation feedback generation processing based on the multi-dimensional feature information to obtain an original work, wherein the original work is a work in text format; The format conversion unit is used to convert the original work into a preset media format to generate the initial work.
7. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the random seed-based work creation method as described in any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the random seed-based work creation method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Video content generation method and device, electronic equipment and storage medium
CN115580758A
Multimedia content analysis method and device, equipment and storage medium
CN116702749A
