Video generation method, computing device, computer storage medium and computer program product
Through artificial intelligence big models, the video script content is generated and combined with the material library video audio is solved, and the problem of inefficient promotion video generation in the existing technology is achieved, which can achieve fast and accurate video generation and adapt to multiple promotion needs.
Patent Information
- Application Number
- CN202411253353.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-15
AI Technical Summary
In the prior art, the generation efficiency of promotional videos is low, manual operation is cumbersome and time-consuming, making it difficult to quickly deal with urgent promotion time requirements or multiple promotional needs.
Use artificial intelligence models to generate video script content, combine video and audio in the material library to automatically synthesize and promote videos to ensure that the content matches the target object.
It improves the generation efficiency and content accuracy of promotional videos, realizes fast and automated video generation, and adapts to multiple promotion needs.
Smart Images

Figure CN118972670A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of video processing technology, and in particular to a video generation method, a computing device, a computer storage medium, and a computer program product. Background Art
[0002] In the era of short videos, the services provided by businesses can be promoted and publicized in the form of promotional videos. However, in related technologies, promotional videos generally rely on manual editing and production using video editing software. This method has significant defects, such as low efficiency and the whole process is complicated and time-consuming. From the initial careful selection of materials, to the subsequent editing and processing, to the addition of various special effects and many other links, a lot of time and energy are required. Especially when faced with urgent promotion time requirements, or when there are many promotion needs, manual operations are often difficult to respond quickly and effectively.
[0003] Therefore, how to provide an efficient method for generating promotional videos becomes a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a video generation method, a video generation method, a computing device, a computer storage medium, and a computer program product.
[0005] In a first aspect, an embodiment of the present application provides a video generation method, which is applied to a server, and the method includes:
[0006] In response to the video generation instruction for the target object sent by the client, determine the object description information and the video script type of the target object;
[0007] Determine a script structure corresponding to the video script type; the script structure includes a plurality of storyboards;
[0008] Generate the script content of each storyboard based on the object description information and the script structure using the artificial intelligence big model; the script content includes the spoken copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard;
[0009] Convert the spoken text corresponding to each storyboard into spoken audio;
[0010] Searching for a material video that matches the storyboard description information of each storyboard and the target object from a material library;
[0011] The spoken audio of each storyboard is combined with the corresponding source video to form a storyboard video;
[0012] According to the script structure, the target storyboard videos corresponding to the multiple storyboards are synthesized to obtain a promotional video for the target object.
[0013] In a second aspect, an embodiment of the present application provides a video generation device, including:
[0014] An instruction response module, used to respond to a video generation instruction for a target object sent by a client, and determine object description information and a video script type of the target object;
[0015] A structure determination module, used to determine the script structure corresponding to the video script type; the script structure includes a plurality of storyboards;
[0016] A script content generation module, used to generate the script content of each storyboard based on the object description information and the script structure by using the artificial intelligence big model; the script content includes the oral copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard;
[0017] The text conversion module is used to convert the spoken text corresponding to each storyboard into spoken audio;
[0018] A material search module, used to search the material video that matches the storyboard description information of each storyboard and the target object from the material library;
[0019] A first video synthesis module is used to synthesize the spoken audio of each storyboard with the corresponding source video into a storyboard video;
[0020] The second video synthesis module is used to synthesize the target storyboard videos corresponding to the multiple storyboards according to the script structure to obtain a promotional video for the target object.
[0021] In a third aspect, an embodiment of the present application provides a computing device, including a processing component and a storage component;
[0022] The storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the video generation method provided in the embodiment of the present application.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processing component, the video generation method provided in the embodiment of the present application is implemented.
[0024] In a fifth aspect, a computer program product is provided in an embodiment of the present application, including a computer program / instruction, which, when executed by a processing component, implements the video generation method provided in an embodiment of the present application.
[0025] The embodiment of the present application provides a video generation method, which determines the object description information and video script type of the target object by responding to the video generation instruction for the target object sent by the client; determines the script structure corresponding to the video script type; the script structure includes multiple storyboards; uses an artificial intelligence big model to generate the script content of each storyboard based on the object description information and the script structure; the script content includes spoken copy and storyboard description information; the storyboard description information is used to describe the picture content of the storyboard; converts the spoken copy corresponding to each storyboard into spoken audio; searches for the storyboard description information of each storyboard from the material library and matches the target object; synthesizes the spoken audio of each storyboard with the corresponding material video into a storyboard video; and synthesizes the storyboard videos of multiple storyboards according to the script structure to obtain a technical solution for a promotional video for the target object. The promotional video can be automatically generated based on the object description information of the target object and according to the video script type, and the spoken copy and video material used in the promotional video are matched with the target object and the object description information, thereby improving the accuracy of the promotional video content while improving the generation efficiency of the promotional video.
[0026] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. 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.
[0028] Figure 1 A system architecture diagram provided by an embodiment of the present application is shown;
[0029] Figure 2 A flowchart of a video generation method provided by an embodiment of the present application is shown;
[0030] Figure 3 A schematic diagram schematically illustrates a video script provided by an embodiment of the present application;
[0031] Figure 4 A framework diagram of the video generation method provided by the present application is shown;
[0032] Figure 5 A block diagram of a video generating device provided by an embodiment of the present application is shown;
[0033] Figure 6A block diagram of a computing device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0034] 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 drawings in the embodiments of the present application.
[0035] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0036] It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).
[0037] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0038] It should be noted that the technical solution of the embodiment of the present application is applicable to a network virtual environment. The users described generally refer to "virtual users". Real users can register user accounts in the server through registration to obtain user identities in the network environment. In the embodiment of the present application, the same user account can be used to log in to the server through different types of clients, so that the server can identify the same user. Of course, different user accounts can also be used to log in to the server through different types of clients. The server stores binding relationships between different user accounts, so that different user accounts with binding relationships can be considered to be the same user.
[0039] In the era of short videos, the services provided by businesses can be promoted and publicized through promotional videos. However, in related technologies, promotional videos are generally edited and produced manually using video editing software. This method has significant drawbacks, such as low efficiency and a complicated, time-consuming and labor-intensive process. From the initial careful selection of materials, to the subsequent editing and processing, to the addition of various special effects and many other links, a lot of time and energy are required. Especially when faced with urgent promotion time requirements, or when there are many promotion needs, manual operations are often difficult to respond quickly and effectively.
[0040] Therefore, how to provide an efficient method for generating promotional videos becomes a technical problem that needs to be solved urgently.
[0041] In order to solve the technical problems existing in the related art, the embodiment of the present application provides a video generation method, which determines the object description information and the video script type of the target object by responding to the video generation instruction for the target object sent by the client; determines the script structure corresponding to the video script type; the script structure includes multiple storyboards; uses an artificial intelligence big model to generate the script content of each storyboard based on the object description information and the script structure; the script content includes a spoken copy and storyboard description information; the storyboard description information is used to describe the picture content of the storyboard; converts the spoken copy corresponding to each storyboard into spoken audio; searches for a material video that matches the storyboard description information of each storyboard and the target object from a material library; synthesizes the spoken audio of each storyboard with the corresponding material video into a storyboard video; and synthesizes the storyboard videos of multiple storyboards according to the script structure to obtain a technical solution for a promotional video for the target object. The promotional video can be automatically generated based on the object description information of the target object and according to the video script type, and the spoken copy and video material used in the promotional video are matched with the target object and the object description information, thereby improving the accuracy of the promotional video content while improving the generation efficiency of the promotional video.
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0043] Figure 1 A system architecture diagram is shown in which the technical solution of an embodiment of the present application can be applied. The system architecture may include a client 101 and a server 102.
[0044] Among them, the client 101 and the server 102 are connected through the network. The network provides a medium for the communication link between the client 101 and the server 102. The network may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. Optionally, the server can communicate with the client through a mobile network. Accordingly, the network standard of the mobile network can be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G+ (LTE+), 5G, WiMax, etc. Optionally, the client can also establish a communication connection with the server through Bluetooth, WiFi, infrared, etc.
[0045] The client 101 can interact with the server 102 through the network to receive or send messages, etc.
[0046] Among them, the client 101 can be a browser, an APP (Application), or a web application such as an H5 (HyperText Markup Language 5, Hypertext Markup Language Version 5) application, or a light application (also known as a mini-program, a lightweight application) or a cloud application, etc. The client 101 can be deployed in an electronic device and needs to rely on the device to run or some apps in the device to run, etc. The electronic device can, for example, have a display screen and support information browsing, such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, a desktop computer, a smart speaker, a smart watch, etc. For ease of understanding, Figure 1 The client is mainly represented by a device image. Various other types of applications can usually be configured in electronic devices, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc. Electronic devices can refer to devices used by users, which have the functions of computing, surfing the Internet, communicating, etc. required by users, such as mobile phones, tablet computers, personal computers, wearable devices, etc. Electronic devices can usually include at least one processing component and at least one storage component. Electronic devices may also include basic configurations such as network card chips, IO buses, audio and video components, which are not limited in this application. Optionally, according to the implementation form of the electronic device, some peripheral devices may also be included, such as keyboards, mice, input pens, printers, etc., which are not limited in this application.
[0047] The server 102 may include servers that provide various services, such as a server for background training that provides support for the model used on the client 101, or a server that processes interactive information sent by the client.
[0048] It should be noted that the server 102 can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.
[0049] It should be noted that the video generation method provided in the embodiment of the present application is generally executed by the server 102, and the corresponding video generation device is generally set in the server 102. However, in other embodiments of the present application, the client 101 may also have similar functions as the server 102, so as to execute the video generation method provided in the embodiment of the present application. In other embodiments, the video generation method provided in the embodiment of the present application may also be jointly executed by the client 101 and the server 102.
[0050] It should be understood that Figure 1 The number of clients and servers in the example is only for illustration. Any number of clients and servers may be provided as required.
[0051] The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.
[0052] Figure 2 A flowchart of a video generation method provided by an embodiment of the present application is shown. The video generation method can be applied to a server, such as Figure 2 As shown, the video generation method may specifically include the following steps:
[0053] 201, responding to the video generation instruction for the target object sent by the client, and determining the object description information and the video script type of the target object;
[0054] The target object may include a commodity, and the promotional video generated by the video generation instruction may be used to introduce and promote the commodity represented by the target object. The above-mentioned commodity may include tangible products or intangible services; tangible products may refer to commodities that can be touched and physically owned, such as electronic products, clothing or daily necessities; intangible services may include services provided by merchants, such as nanny services, cleaning services, maintenance services or any products and services that do not have a physical form.
[0055] The object description information may include the name, characteristics, purpose, advantages, etc. of the target object, and may serve as the basis for the video content. For example, the following is the object description information for a cleaning service: "Professional home cleaning service, covering whole house cleaning, including kitchens, bathrooms, bedrooms and other areas, meticulous service, and the use of environmentally friendly cleaning agents." Through the object description information, the name of the target object may be introduced, such as "home cleaning service", where the service content of "home cleaning service" includes "whole house cleaning, including kitchens, bathrooms, bedrooms and other areas", and the service advantages and characteristics are "meticulous service, the use of environmentally friendly cleaning agents".
[0056] The video script can be used to guide the elements and links in the video generation process, and different types of video scripts can be used to generate different types of promotional videos. The video script can include multiple storyboards, each of which can be used to guide the generation of a video segment of the promotional video, and the video segment can be a link in the process of generating the promotional video.
[0057] After receiving the video generation instruction, the video script type can be determined based on the target object, promotion purpose, etc.; alternatively, the user can specify the desired video script type in the video generation instruction.
[0058] Video script types may include, for example, narrative type, explanatory type, etc., wherein each video script type corresponds to a different script structure.
[0059] 202, determining a target script structure corresponding to the video script type; the target script structure includes a plurality of storyboards;
[0060] After determining the type of video script, you can determine the script structure corresponding to the type of video script. The script structure can refer to the number of storyboards, and each storyboard can be used to display specific content. Take the three-part script structure as an example. This structure divides the video content into three main parts or storyboards. First, storyboard 1 can focus on emotional marketing, with the goal of establishing a connection with the audience through emotional resonance, stimulating the audience's interest and emotional response; storyboard 2 is dedicated to service introduction, where the characteristics and advantages of the service provided can be introduced in detail to ensure that the audience has a clear understanding of the service itself. Finally, storyboard 3 shows the applicable population of the service and shares the feedback and evaluation of the experiencers, which helps the audience understand the actual application effect of the service and enhances the sense of trust.
[0061] Through this structured approach, the video script can be developed in an orderly manner, with each storyboard designed for specific goals and content, thus forming a coherent and persuasive video narrative. This clear script structure not only helps guide video shooting and production, but also helps ensure that the final video content can effectively convey information, attract target audiences, and achieve established marketing goals.
[0062] 203, using the artificial intelligence big model based on the object description information and the target script structure, generating the script content of each storyboard; the script content includes the spoken copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard;
[0063] Among them, the spoken copy may include the narration or dialogue text in the current storyboard, and the storyboard description information may be used to illustrate the visual content of each storyboard, for example, it may include scene layout, character actions, camera angles, lens movement, etc.
[0064] The artificial intelligence large model can understand the overall framework of the video and the order of each storyboard based on the script structure, and understand the basis of the script content based on the object description information of the target object, so that the script content of each storyboard can be intelligently generated.
[0065] The storyboard description information can ensure that the generated promotional video images can accurately convey the intended information and emotions, and can also maintain consistency with the spoken copy.
[0066] 204, converting the spoken text corresponding to each storyboard into spoken audio;
[0067] 205, searching the material library for a target material video that matches the storyboard description information of each storyboard and the target object;
[0068] 206, synthesizing the spoken audio of each storyboard with the corresponding target material video into a target storyboard video;
[0069] 207 , according to the target script structure, synthesize the target storyboard videos corresponding to the multiple storyboards to obtain a promotional video for the target object.
[0070] After the spoken copy is generated, the spoken copy of each storyboard can be converted into spoken audio using text-to-speech conversion technology. Next, according to the screen content described by the storyboard description information of the storyboard, the material content that matches the screen content described by the storyboard description information and matches the target object can be searched from the material library. Among them, matching the target object can refer to the material content that matches the product corresponding to the target object.
[0071] By searching for source videos based on the storyboard description information and the target object, it is possible to ensure that the visual content of the generated promotional video matches the target object and the usage scenario of the target object.
[0072] For the material video and spoken audio corresponding to each storyboard, the corresponding material video and spoken audio can be synthesized and synchronized to generate a target storyboard video.
[0073] Then, according to the script structure, multiple target storyboard videos can be synthesized in an orderly manner to generate a promotional video for the target object.
[0074] In an embodiment of the present application, by adopting a video generation instruction for a target object sent by a response client, the object description information and the video script type of the target object are determined; the script structure corresponding to the video script type is determined; the script structure includes multiple storyboards; the script content of each storyboard is generated based on the object description information and the script structure using an artificial intelligence big model; the script content includes spoken copy and storyboard description information; the storyboard description information is used to describe the picture content of the storyboard; the spoken copy corresponding to each storyboard is converted into spoken audio; the material video that matches the storyboard description information of each storyboard and the target object is searched from the material library; the spoken audio of each storyboard is synthesized with the corresponding material video into a storyboard video; according to the script structure, the storyboard videos of multiple storyboards are synthesized to obtain a technical solution for a promotional video for the target object, which can automatically generate a promotional video based on the object description information of the target object and according to the video script type, and the spoken copy and video material used in the promotional video are matched with the target object and the object description information, thereby improving the accuracy of the promotional video content while improving the generation efficiency of the promotional video.
[0075] In some embodiments, using the artificial intelligence big model based on the object description information and the target script structure to generate the script content of each storyboard can be specifically implemented as follows:
[0076] Generate the spoken copy for each storyboard based on the object description information and the target script structure using the artificial intelligence big model;
[0077] The artificial intelligence model is used to generate storyboard description information for each storyboard based on the spoken text of each storyboard.
[0078] Among them, the artificial intelligence large model can integrate the object description information into the script based on the provided object description information and the target script structure, through understanding the object description information, and generate spoken text for each storyboard that conforms to the script structure and the target object.
[0079] The artificial intelligence big model can generate storyboard description information for describing the visual content corresponding to the spoken text by understanding the spoken text, so that the visual effects presented in the generated promotional video match the spoken content.
[0080] In some embodiments, using the first artificial macro model based on the object description information and the target script structure to generate the spoken copy for each storyboard can be specifically implemented as follows:
[0081] Obtain the target script template and target script requirements corresponding to the target script structure;
[0082] Generate a first prompt word according to the first prompt template by using the object description information, the target script template and the target script requirements;
[0083] The first prompt word is input into the artificial intelligence big model, so as to utilize the artificial intelligence big model to generate the spoken text for each storyboard based on the object description information, refer to the target script template and follow the script requirements.
[0084] The target script template may refer to a script pre-generated under the target script structure, which includes the same number of storyboards as the target script structure, and each storyboard includes corresponding script content. For example, the target script template may be generated by reverse parsing other popular promotional videos that have been generated. Thus, by generating script content according to the target script template generated by reverse parsing other popular promotional videos, its script structure, script style, etc. may be imitated, thereby improving the maturity and popularity of the generated script content.
[0085] The target script requirements may be used to indicate the length, style, target audience, content requirements, format requirements, etc. of the script that is expected to be generated based on the target script structure.
[0086] The first prompt template can be a predefined framework or structure for guiding and standardizing the content input into the artificial intelligence model. In an embodiment of the present application, the first prompt template can include elements such as script structure, target audience, copy length, format requirements, language and tone, and specific requirements.
[0087] The first prompt word can be generated by filling the object description letter, the target script template and the target script requirements into the corresponding elements of the first prompt template.
[0088] By inputting the first prompt word into the artificial intelligence big model, the artificial intelligence big model can generate the spoken text for each storyboard based on the object description information, refer to the target script template and follow the script requirements.
[0089] The following may be a possible implementation of a first prompt word provided in an embodiment of the present application. It should be noted that the first prompt word is only an example.
[0090] #Setting a Purpose#
[0091] 1. I want to make a short video content of "product and service promotion.
[0092] 2. Please generate the narration material for this promotional short video by analyzing and extracting the core content of #post information#.
[0093] #Script structure#
[0094] Generate narration corpus according to the following structure:
[0095] Part 1: Based on the characteristics of your product or service and the industry classification information, create a fictional experience from a first-person perspective (close to the experiences of ordinary people and ordinary companies) to trigger everyone's emotional resonance.
[0096] Part 2: From a third-person perspective, recommend this product or service to your friends and talk about what kind of people this product or service is suitable for.
[0097] Part 3: From a third-person perspective, talk about the impact this product has on your daily life and work.
[0098] #Content Requirements#
[0099] 1. The number of words in the generated narration is within 240 words;
[0100] 2. Part 1 should not exceed 60 words;
[0101] 3. Part 2 should not exceed 140 words;
[0102] 4. Part 3 should not exceed 40 words;
[0103] 5. Descriptions such as "our products", "our services", "contact us", etc. are prohibited.
[0104] #Format requirements#
[0105] 1. Please use "part1:", "part2:", "part3:" to distinguish each paragraph. The text must be divided into 3 paragraphs, with the second paragraph being the longest.
[0106] 2. Each paragraph must not be empty.
[0107] #Sample copy#
[0108] Oh, my pile of shoes is a disaster! A pile of dirty shoes is a headache. I really don't want to wash them by myself, it feels too difficult!
[0109] So, I suddenly had an idea and decided to hand over these troublesome things to a shoe cleaning company. Do you know that a shoe cleaning company is an "old shoe doctor" with many years of experience, specializing in cleaning all kinds of shoes and is well-known.
[0110] I heard that they use advanced equipment and environmentally friendly materials, and the door-to-door pickup and delivery service is also convenient and efficient. It's great to think that my shoes will be brand new under their "magic hands". Moreover, if you have any questions during the cleaning process, there are specialists to answer them immediately!
[0111] What makes me even more excited is that XXXX shoe cleaning also offers low prices and guaranteed quality. When I think of the limited-time discounts and generous gifts waiting for me, I feel that this choice is simply a "treasure"!
[0112] Letting my shoes be washed by XYZ makes me feel confident in every step. Choosing XYZ to wash my shoes makes my life easier and more comfortable!
[0113] In the above-mentioned first prompt word, #sample copy# can be the target script template, #content requirements# and #format requirements# can be the target script requirements, and #post information# can be the object description information (the specific content of the post information is not provided in the above-mentioned first prompt word).
[0114] In some embodiments, the video generation method may further include:
[0115] Based on the spoken audio of each storyboard, a digital human image of the digital human broadcasting the spoken audio is generated.
[0116] Among them, Digital Human (or Virtual Human) can be a computer-generated character with human-like appearance, behavior and communication ability. Digital Human can be two-dimensional or three-dimensional and can be created through computer graphics (CGI) and artificial intelligence technology.
[0117] The digital human screen can be used to display the facial movements of the digital human that match the spoken audio, such as facial expressions and lip movements.
[0118] In some embodiments, synthesizing the spoken audio of each storyboard with the corresponding target material video into a target storyboard video may be specifically implemented as follows:
[0119] Combine the spoken audio of each storyboard with the digital human image to form a digital human video;
[0120] In the case that a target material video exists in any storyboard, the digital human video and the target material video are combined into a target storyboard video;
[0121] When there is no target material video for any storyboard, the digital human video is used as the target storyboard video.
[0122] After synthesizing the spoken audio and the digital human image into a digital human video, the digital human can broadcast the spoken audio according to facial movements that match the spoken audio and use corresponding timbre, intonation and emotional expression, so that the visual and auditory elements of the digital human video are coordinated.
[0123] When there is a target material video in any storyboard, the digital human video can be added to the layer above the target material video layer, so that the digital human image is integrated into the target material video, and the target material video is used as the background for the digital human image to perform voice broadcasting, thereby improving the display effect.
[0124] In the case that there is no target material video in any storyboard, the digital human video can be used independently as the video content of the storyboard. In this case, appropriate background elements can be added to the digital human video to ensure the richness and visual appeal of the picture.
[0125] In some embodiments, the video generation method may further include:
[0126] Sending digital human selection prompt information of multiple digital humans to the client;
[0127] According to the digital human selection request sent by the client, the target digital human selected by the user is determined.
[0128] The digital human selection prompt information may include a brief introduction, characteristics, appearance, etc. of each digital human among the multiple digital humans. After the client receives the digital human selection prompt information, the user may send a digital human selection request through the client according to preferences or specific purposes. The digital human selection request may include identification information of the digital human selected by the user.
[0129] In response to the digital human selection request, the server can determine the target digital human selected by the user based on the information in the digital human selection request.
[0130] In some embodiments, based on the spoken audio of each storyboard, generating a digital human screen in which the digital human broadcasts the spoken audio may be specifically implemented as follows:
[0131] Generate the lip shape features of the target digital person based on the spoken audio;
[0132] The lip shape features are synthesized into the digital human model corresponding to the target digital human to generate a digital human image.
[0133] The server can analyze the spoken audio to determine the rhythm, intonation, and pronunciation of the speech, thereby generating lip features synchronized with the audio. Lip features may include, for example, the opening and closing of the lips, the position of the tongue, and possible accompanying facial expressions.
[0134] In a possible implementation of the present application, speech recognition and analysis technology can be used to decompose the audio signal of the oral audio into individual factors and syllables. Then, an artificial intelligence model can be used to map the decomposed factors and syllables to specific lip movements. Among them, the artificial intelligence model can, for example, be based on a machine learning algorithm and have the ability to identify the lip shape, tongue position and facial expression corresponding to different factors. After the artificial intelligence model identifies the lip shape corresponding to each factor, these lip movements can be synthesized using technologies such as facial animation to create a coherent lip animation sequence. In this process, it is necessary to accurately synchronize the lip shape of the digital person with the pronunciation in the oral audio to achieve a natural and smooth visual effect. In addition, in order to enhance the expressive ability of the digital person, the server can also analyze the emotions and intonation in the audio, and integrate these emotional factors into the lip shape and facial expressions, so that the digital person can convey information more vividly. Finally, the generated lip shape features and facial animations can be integrated into the target digital human model, and the digital human screen can be generated through real-time rendering technology to ensure that the lip shape, facial expression and overall performance of the digital person match the audio content when the voice is broadcast.
[0135] In some embodiments, synthesizing the digital human video and the target material video into the target storyboard video may be specifically implemented as follows:
[0136] The background image in the digital human video is replaced with the material image of the target material video to generate a target storyboard video.
[0137] In some embodiments, the video generation method may further include:
[0138] Obtain at least one object video sent by the client;
[0139] Segment each object video according to content similarity to obtain multiple segmented videos;
[0140] Use a large artificial intelligence model to convert multiple segmented videos into video features;
[0141] The multiple segmented videos are respectively used as material videos, and are saved in the material library in correspondence with their respective video features and the object types corresponding to the object videos.
[0142] The object video may be a video associated with the target object, shot by the user, generated by specific software, or downloaded from the Internet. The object video may be long, and may display multiple different themes. Therefore, in order to increase the number and richness of material videos when generating promotional videos, the object video provided by the user may be split. By splitting the object video, a longer object video can be divided into multiple shorter material videos according to different themes or contents.
[0143] The server can determine the splitting position of the object video by identifying key frames, scene changes or other important content points in the object video, and split the object video at each splitting position to obtain multiple segmented videos.
[0144] In a possible implementation, the server can perform frame extraction processing on the object video to extract a series of separate video frames from the object video. The server can perform similarity calculation between consecutive video frames, and calculate the similarity between consecutive video frames by comparing the visual content between consecutive frames, such as color, texture, shape, and motion features. The similarity calculation can be calculated, for example, by pixel comparison, feature vector matching, or the output of a deep learning model. Based on the calculated similarity results, the server can determine the split point of the object video, that is, the key frame. The split point can be located at a position where the similarity drops significantly, which can indicate that the video content is changing or switching to a new scene. Thus, the server can split the object video into multiple segmented videos on these key frames, and each segmented video can contain a series of visually similar continuous frames, so that the consistency of the content of each segmented video can be guaranteed. In addition, when performing segmentation processing, the server can also consider the contextual information and semantic information of the video to improve the accuracy and relevance of the segmentation; for example, if the dialogue or narrative in the video logically belongs to the same subject, it may not be split into different segments even if there is a slight visual change.
[0145] In some embodiments, searching the material library for the material video that matches the storyboard description information of each storyboard and the target object may be specifically implemented as follows:
[0146] Performing feature extraction processing on the storyboard description information to generate storyboard description features;
[0147] Based on the matching degree between the storyboard description information of each storyboard and the video features, a target material video matching each storyboard is searched from a plurality of material videos in the material library that match the object type of the target object.
[0148] The server can analyze the storyboard description information of each storyboard, extract the visual and content features of the storyboard description information, and convert these features into a storyboard description feature vector. The storyboard description feature vector can contain the core elements of the storyboard, such as scene, role, action, color and emotion, to provide a basis for searching and matching video materials.
[0149] After generating the storyboard description feature vector, the server can match the storyboard description feature vector with the video feature vector in the material library. The video materials in the material library can be pre-analyzed and converted into their own video feature vectors, which can be used to describe the visual content of the video. By calculating the similarity between the storyboard description feature vector and the video feature vector, the server can quantify the degree of match between each video material and a specific storyboard.
[0150] When matching video materials, the server not only considers the matching degree of feature vectors, but also searches for video materials that are consistent with the type of the target object in the classified material videos, and selects matching material videos from the material library in combination with the object type of the target object.
[0151] In some embodiments, in response to a video generation instruction for a target object sent by a client, determining the object description information and the video script type of the target object may be specifically implemented as follows:
[0152] In response to the video generation instruction for the target object sent by the client, the object description information of the target object, the target object video and the video script type are determined.
[0153] The target object video may be a video associated with the target object, shot by a user, generated by specific software, or downloaded from the Internet.
[0154] In some embodiments, the video generation method may further include:
[0155] Segment the target object video according to content similarity to obtain multiple segmented videos;
[0156] Use a large artificial intelligence model to convert multiple segmented videos into video features;
[0157] Multiple segmented videos are saved in a material library corresponding to their respective video features.
[0158] The specific implementation of the segmentation processing of the target object video in this embodiment can refer to the embodiment of segmentation processing of the object video in the above embodiment, which will not be repeated here.
[0159] In some embodiments, searching the material library for target material video that matches the storyboard description information of each storyboard and the target object includes:
[0160] Based on the matching degree between the storyboard description information of each storyboard and the video features, a material video matching each storyboard is searched from multiple segmented videos in the material library.
[0161] Among them, the specific implementation method of the material video search in this embodiment can refer to the embodiment of the material video search in the above embodiment, and will not be repeated here.
[0162] In some embodiments, in response to a video generation instruction for a target object sent by a client, determining the object description information and the video script type of the target object may be specifically implemented as follows:
[0163] In response to the video generation instruction for the target object sent by the client, determine the object link of the target object and the video script type provided by the user in the video generation instruction;
[0164] Object description information of the target object is extracted from the object page of the object link index.
[0165] In the embodiment of the present application, when a user generates a promotional video, he or she need not perform complicated operations of writing object description information, but only needs to provide an object link of the target object. After obtaining the object link, the server can access the object link and extract the object description information from the object page indexed by the object link.
[0166] In some embodiments, the video generation method may further include:
[0167] Get the target video;
[0168] Analyze the target video to obtain multiple storyboard videos and the spoken texts corresponding to the multiple storyboard videos;
[0169] Generate storyboard description information and text description information of each storyboard video based on multiple storyboard videos and the oral texts corresponding to the storyboard videos by using an artificial intelligence big model; wherein the storyboard description information is used to describe the screen content of the storyboard video, and the text description information is used to describe the text type of the storyboard video;
[0170] Generate a script template according to the script structure composed of multiple storyboard videos, the storyboard description information of each storyboard video, and the text description information;
[0171] Save the script template.
[0172] The user may provide the target video through the client, but is not limited thereto. The user may also provide an access link to the target video through the client, so that the server obtains the target video based on the access link. In addition, the target video may not be provided by the client, but may be actively obtained by the server. For example, the server may obtain the target video from the Internet using crawler technology. The target video may include, for example, a video that is used to display content related to the target object and has a high popularity, i.e., a relatively popular video.
[0173] By reverse parsing the target video, the video script of the target video can be obtained, and a promotional video with a style and structure similar to the target video can be generated based on the video script.
[0174] After parsing the target video and obtaining the spoken copy of the target video, the artificial intelligence model can be used to generate the storyboard description information and copy description information corresponding to each storyboard. Then, based on the script structure composed of multiple storyboard videos and the storyboard description information and copy description information of each storyboard video, a script template can be generated.
[0175] Among them, the copy description information can be used to describe the copy type of the storyboard video. In one embodiment of the present application, as in the example of the first prompt word above, "Part 1: Based on the product service characteristics and the industry classification information, a fictional experience (close to the experience of ordinary people and ordinary companies) is created from the first person perspective to trigger everyone's emotional resonance", "Part 2: From the third person perspective, promote this product service to friends and talk about what kind of people this product service is suitable for", "Part 3: From the third person perspective, talk about the impact of this product on daily life and work" can respectively represent a type of copy description information.
[0176] In some embodiments, parsing the target video to obtain multiple storyboard videos may be specifically implemented as follows:
[0177] The target video is segmented according to content similarity to obtain multiple segmented videos.
[0178] In some embodiments, segmenting the target video according to content similarity to obtain multiple storyboard videos may be specifically implemented as follows:
[0179] Perform frame extraction on the target video to obtain multiple video frames;
[0180] Use a large AI model to convert multiple video frames into video features;
[0181] The content similarity between video frames is calculated based on video features, and video frames whose content similarity meets preset conditions are merged into a storyboard video.
[0182] The specific implementation method of segmenting the target video can refer to the above-mentioned embodiment of segmenting the object video, which will not be described in detail here.
[0183] In some embodiments, calculating the content similarity between video frames based on video features and merging video frames whose content similarity meets a preset condition into a storyboard video may be specifically implemented as follows:
[0184] The multiple video frames are traversed to calculate the content similarity between the current frame and the previous frame. If the content similarity is greater than a preset threshold, the current frame is merged into the previous frame. Otherwise, the current frame is used as the starting frame for content similarity calculation.
[0185] In the embodiment of the present application, during the process of segmenting the target video, the server can decide how to segment the video based on the content similarity between frames, so that the server can identify and retain continuous frame segments with high similarity in the video while maintaining the original structure and narrative flow of the video.
[0186] Specifically, the server can start from the first frame of the target video and traverse to the last frame in sequence, calculating the similarity between consecutive frames in real time. When encountering consecutive frames with high similarity, the server can merge these frames as a whole to form a storyboard video.
[0187] For example, if the content similarity between the first frame to the tenth frame of the target video is high during the inspection process, these frames will be merged into storyboard video 1. Then, the system continues to traverse, and when it is found that the fifteenth frame to the twentieth frame also show a high similarity, these frames will also be merged to form storyboard video 2. Even if there is a high similarity between the first frame to the tenth frame and the fifteenth frame to the twentieth frame, the server will still regard them as two independent storyboard videos because there is a frame gap between them, which indicates that they represent different scenes or actions in the video.
[0188] In this way, the video can be segmented into multiple logical segments without destroying the coherence of the video content. Each segment contains visually similar and continuous frames. Such segmentation can effectively extract key information from the video while preserving the original narrative structure of the video.
[0189] In some embodiments, the video generation method may further include:
[0190] If the target material video that matches the storyboard description information of any storyboard is not found in the material library, the artificial intelligence big model is used to generate material content based on the storyboard description information.
[0191] The material content may include synthesized videos and / or synthesized pictures;
[0192] Based on the material content, a target material video is generated.
[0193] The artificial intelligence model can parse the storyboard description information, understand the required visual content and style requirements, and use deep learning algorithms to create synthetic material content that matches the visual content and style requirements described in the storyboard description information.
[0194] By using an artificial intelligence model to generate corresponding material content when there is a lack of target material matching the storyboard description information in the material library, the continuity and integrity of video generation can be ensured in the absence of video material.
[0195] In some embodiments, the video generation method may further include:
[0196] Get the background music that matches any storyboard description information.
[0197] The server can analyze the storyboard description information of each storyboard, including scene content, emotional tone, rhythm and atmosphere, to determine the required music style and emotional color. Then, the server can search for matching music in the music library based on this information. The music library may contain music of various styles and emotions to adapt to different types of video content.
[0198] During the search process, the server can consider the rhythm, speed and volume of the music to ensure that the music matches the rhythm and emotion of the storyboard. In addition, the server can also check the copyright of the music to avoid using copyrighted music and ensure the legality of the video.
[0199] Once suitable candidate music is found, the server can analyze and screen it to further confirm whether the music is coordinated with the storyboard content. If necessary, the server can also make technical adjustments to the music, such as adjusting the volume, length and tone, to ensure that the music is integrated with the video content.
[0200] In some embodiments, synthesizing the spoken audio of each storyboard with the corresponding target material video into a target storyboard video may be specifically implemented as follows:
[0201] Combine spoken audio, target material video and background music into the target storyboard video.
[0202] In some embodiments, after generating the promotional video, the video generation method further includes:
[0203] The promotional video is released to the target object providing system or,
[0204] The promotion video and / or the download address of the promotion video is sent to the client, so that the client can save the promotion video.
[0205] The object providing system may include, for example, a video platform, a cloud service, or a specific network storage area. The client can obtain the promotional video by accessing the object providing system.
[0206] The promotional video may also be stored in a storage device, which may include a local hard disk, an external storage array, or a cloud storage space.
[0207] The video generation method provided in the embodiment of the present application is described below in conjunction with specific application scenarios.
[0208] Suppose a cleaning company wants to generate a promotional video through the server to showcase its professional cleaning services. Thus, the cleaning service can be identified as the target object.
[0209] First, the client can send a video generation instruction for the target object, i.e., cleaning service, to the server, and provide object description information of the cleaning service, such as "professional home cleaning service, covering whole house cleaning, including kitchen, bathroom, bedroom and other areas, meticulous service, using environmentally friendly cleaning agents", and select a video script type, such as "service display type".
[0210] After the server responds to the command, it can determine the target script structure corresponding to the video script type. Assume that the target script structure includes three shots: shot one shows the cleaning staff carrying tools to the door, shot two shows the cleaning staff cleaning in different rooms, and shot three shows the tidy room after cleaning.
[0211] For the generation of spoken word copy for storyboards, the server obtains the target script template and target script requirements corresponding to the "service display type" script structure, such as requiring the copy to be concise and clear and highlight the service features. The object description information, target script template and target script requirements are generated according to the first prompt template to generate the first prompt word, such as "Generate a spoken word copy for the service display type storyboard one for professional home cleaning services, which is required to be concise and clear and highlight the service features. The object description is: professional home cleaning service...", and then the first prompt word is input into the artificial intelligence big model to generate the spoken word copy "Hello, we are a professional cleaning team, and today we will bring you a caring home cleaning service." Then, the artificial intelligence big model is used to generate the storyboard description information based on the spoken word copy "A cleaning staff in a neat uniform, smiling, carrying a professional cleaning tool kit, standing at the customer's door."
[0212] For storyboard two, the same steps are used to generate the voice-over copy "Now our cleaning staff is cleaning the kitchen carefully, leaving no corner untouched", and the storyboard description information is "The cleaning staff is in the kitchen, using professional tools to wipe the stove, clean the sink, etc."
[0213] For storyboard three, the generated voice-over copy is "After our careful cleaning, the room looks brand new, making your home more comfortable and tidy", and the storyboard description information is "A tidy and bright bedroom, bathroom and kitchen, with neatly arranged items."
[0214] Then, the server can convert the spoken text corresponding to each storyboard into spoken audio. At the same time, the server sends the digital human selection prompt information of multiple digital humans to the client. The client sends a digital human selection request according to its own needs to determine the target digital human selected by the user. For example, a female digital human is selected. Based on the spoken audio of each storyboard, the server generates the lip shape features of the target digital human, and synthesizes the lip shape features into the digital human model corresponding to the target digital human to generate the digital human screen. Then, the spoken audio of each storyboard is synthesized with the digital human screen into a digital human video.
[0215] The server searches the material library for target material videos that match the storyboard description information of each storyboard and the cleaning service. If there is no completely matching video in the material library, the server obtains the object video of the cleaning staff sent by the client, segments it according to the content similarity, obtains multiple segmented videos, uses the artificial intelligence large model to convert the multiple segmented videos into video features, and saves the multiple segmented videos as material videos, corresponding to their respective video features and the object type (cleaning service) corresponding to the object video to the material library. Then, feature extraction processing is performed on the storyboard description information to generate storyboard description features. Based on the matching degree between the storyboard description information of each storyboard and the video features, the target material video matching each storyboard is searched from the multiple material videos in the material library that hit the cleaning service object type.
[0216] For example, for storyboard one, if there is a video of a cleaning staff visiting the house in the material library, this video will be used as the target material video. If there is no suitable target material video for storyboard two, in this case, the digital human video will be used as the target storyboard video. For storyboard three, if there is a video of a tidy room after cleaning, the digital human video and the target material video will be combined into a target storyboard video. Specifically, the background screen in the digital human video is replaced with the material screen of the target material video to generate the target storyboard video.
[0217] Finally, according to the target script structure, the target storyboard videos corresponding to multiple storyboards are synthesized to obtain a promotional video for cleaning services. This video can be promoted on the company's official website, social media and other platforms to attract more customers to choose the cleaning company's services.
[0218] Figure 3 A schematic diagram of a video script provided by an embodiment of the present application is schematically shown.
[0219] As mentioned above, the video script may include three shots, for example, where the spoken text of shot 1 is "Hello, we are a professional cleaning team, bringing you thoughtful home cleaning services today", and the shot description information is "A cleaning staff in a neat uniform, smiling, carrying a professional cleaning tool kit, standing at the customer's door"; the spoken text of shot 2 is "Now our cleaning staff is carefully cleaning the kitchen, not leaving out any corner", and the shot description information is "The cleaning staff is in the kitchen, using professional tools to wipe the stove, clean the sink, etc."; the spoken text of shot 3 is "After our careful cleaning, the room is brand new, making your home more comfortable and tidy", and the shot description information is "Neat and bright bedrooms, bathrooms and kitchens, with neatly arranged items."
[0220] Figure 4 A framework diagram of the video generation method provided by the present application is shown.
[0221] like Figure 4 As shown, the video generation method provided in the embodiment of the present application includes a script service 401, a director service 402, and a material service 403.
[0222] Among them, the script service 401 is used to generate a video script. In one embodiment of the present application, the script service 401 can be specifically used to extract and generate a target script from the target video by reverse parsing the target video. Among them, the video tracking module 4011 can be used to track popular hot videos from the Internet, and then the target video is segmented by the video storyboard parsing module 4012 to obtain multiple storyboard videos. The first prompt word generation module 4013 can be used to generate a copy prompt word, which can be used to instruct the artificial intelligence large model to generate a spoken copy. The second prompt word generation module 4014 can be used to generate a storyboard prompt word, which can be used to instruct the artificial intelligence large model to generate a storyboard description information. The framework generation module 4015 can be used to generate a script template, wherein there can be multiple storyboards in the script template. After the script template is generated, it can be submitted to the review module 4016 for review. The review module 4016 can be used to review whether the logic of the script template is smooth, whether the theme is clear, etc. If the script template passes the review, the script template can be saved. If the script template does not pass the review, it can return to the regeneration step, such as regenerating the storyboard, regenerating the prompt words, etc.
[0223] In the editing and directing service 402, the video frame matching module 4021 can be used to determine the corresponding video script for the user's video generation instruction. The oral content generation module 4022 can be used to generate oral copy based on the copy prompt words generated by the first prompt word generation module 4013; the storyboard description generation module 4023 can be used to generate storyboard description information based on the storyboard prompt words generated by the second prompt word generation module 4014. The oral copy generated by the oral content generation module 4021 can generate corresponding oral audio through the oral audio generation module 4024. The storyboard video generation / matching module 4025 can be used to match the corresponding video material for the storyboard description information from the material library, or generate corresponding synthetic content for the storyboard description information. The background music matching module 4026 can be used to match the background music of the corresponding style for the storyboard. The video material time piling module 4027 can be used to pile the oral copy and the video material in the storyboard video, so that when the storyboard video broadcasts the oral copy, the matching video material is played accordingly. The video synthesis module 4028 can be used to synthesize multiple storyboard videos into a promotional video.
[0224] In the material service 403, the material capture module 4031 can capture videos that can be used as video materials from the Internet and classify the video materials. The material generation module 4032 can be used to provide picture generation and video generation capabilities for the storyboard video generation / matching module 4025. The material management module 4033 can be used for material cleaning and material review to improve the quality of video materials and filter out material videos that do not meet the requirements. The material preprocessing module 4034 can be used to segment the video captured by the material capture module 4031 or the video provided by the user according to the video content, and vectorize each segmented video, and store the video features in the material storage module 4035.
[0225] Figure 5 A block diagram of a video generation device provided by an embodiment of the present application is shown as follows: Figure 5 As shown, the video generating device may include:
[0226] The instruction response module 501 is used to respond to the video generation instruction for the target object sent by the client, and determine the object description information and video script type of the target object;
[0227] A structure determination module 502 is used to determine a script structure corresponding to the video script type; the script structure includes a plurality of storyboards;
[0228] The script content generation module 503 is used to generate the script content of each storyboard based on the object description information and the script structure by using the artificial intelligence big model; the script content includes the oral copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard;
[0229] The text conversion module 504 is used to convert the spoken text corresponding to each storyboard into spoken audio;
[0230] A material search module 505 is used to search the material library for target material videos that match the storyboard description information of each storyboard and the target object;
[0231] A first video synthesis module 506 is used to synthesize the spoken audio of each storyboard with the corresponding source video into a target storyboard video;
[0232] The second video synthesis module 507 is used to synthesize the target storyboard videos corresponding to the multiple storyboards according to the script structure to obtain a promotional video for the target object.
[0233] In some embodiments, the script content generation module 503 may be specifically used to:
[0234] Generate a spoken copy for each storyboard based on the object description information and the target script structure using an artificial intelligence big model;
[0235] The artificial intelligence big model is used to generate the storyboard description information of each storyboard based on the spoken text of each storyboard.
[0236] In some embodiments, the script content generation module 503 may be specifically used to:
[0237] Obtain a target script template and target script requirements corresponding to the target script structure;
[0238] Generate a first prompt word according to the first prompt template by using the object description information, the target script template and the target script requirement;
[0239] The first prompt word is input into the artificial intelligence big model, so as to utilize the artificial intelligence big model to generate the spoken text of each storyboard based on the object description information, with reference to the target script template and in accordance with the script requirements.
[0240] In some embodiments, the video generating device may further include:
[0241] A picture generation module, for generating a digital human picture in which a digital human broadcasts the spoken audio based on the spoken audio of each storyboard;
[0242] In some embodiments, the first video synthesis module may be specifically used for:
[0243] Combine the spoken audio of each storyboard with the digital human image to form a digital human video;
[0244] In the case that a target material video exists in any storyboard, the digital human video and the target material video are combined into a target storyboard video;
[0245] In the case that there is no target material video for any storyboard, the digital human video is used as the target storyboard video.
[0246] In some embodiments, the video generating device may further include:
[0247] An information sending module, used for sending digital human selection prompt information of multiple digital humans to the client;
[0248] A digital human selection module, used to determine a target digital human selected by the user according to a digital human selection request sent by the client;
[0249] In some embodiments, the screen generation module is specifically used to:
[0250] Based on the spoken audio, generating the lip shape features of the target digital human;
[0251] The lip shape features are synthesized into a digital human model corresponding to the target digital human to generate a digital human image.
[0252] In some embodiments, the first video synthesis module may be specifically used for:
[0253] The background picture in the digital human video is replaced with the material picture of the target material video to generate the target storyboard video.
[0254] In some embodiments, the video generating device may further include:
[0255] An object video acquisition module, used to acquire at least one object video sent by the client;
[0256] A first video segmentation module is used to segment each object video according to content similarity to obtain multiple segmented videos;
[0257] A first video conversion module, configured to convert the plurality of segmented videos into video features respectively using an artificial intelligence large model;
[0258] A first video saving module, used to save the plurality of segmented videos as material videos respectively, and save them into a material library in correspondence with their respective video features and object types corresponding to the object videos to which they belong;
[0259] In some embodiments, the material search module 505 may be specifically used to:
[0260] Performing feature extraction processing on the storyboard description information to generate storyboard description features;
[0261] Based on the matching degree between the storyboard description information of each storyboard and the video features, a target material video matching each storyboard is searched from a plurality of material videos in the material library that match the object type of the target object.
[0262] In some embodiments, the instruction response module 501 may be specifically used to:
[0263] In response to a video generation instruction for a target object sent by a client, determine object description information of the target object, the target object video, and the video script type;
[0264] In some embodiments, the video generating device may further include:
[0265] A second video segmentation module is used to segment the target object video according to content similarity to obtain multiple segmented videos;
[0266] A second video conversion module is used to convert the plurality of segmented videos into video features respectively using an artificial intelligence large model;
[0267] A second video saving module, used for saving the plurality of segmented videos and their respective video features in a material library in correspondence;
[0268] In some embodiments, the material search module 505 may be specifically used to:
[0269] Based on the matching degree between the storyboard description information of each storyboard and the video features, a material video matching each storyboard is searched from a plurality of segmented videos in the material library.
[0270] In some embodiments, the instruction response module 501 may be specifically used to:
[0271] In response to a video generation instruction for a target object sent by a client, determine an object link of the target object and a video script type provided by a user in the video generation instruction;
[0272] The object description information of the target object is extracted from the object page of the object link index.
[0273] In some embodiments, the video generating device may further include:
[0274] A target video acquisition module is used to acquire a target video;
[0275] A target video parsing module, used for parsing the target video to obtain a plurality of storyboard videos and oral texts corresponding to the plurality of storyboard videos;
[0276] A model output module, used to generate storyboard description information and text description information of each storyboard video based on the multiple storyboard videos and the oral texts corresponding to the storyboard videos by using the artificial intelligence big model; wherein the storyboard description information is used to describe the screen content of the storyboard video, and the text description information is used to describe the text type of the storyboard video;
[0277] A template generation module, used to generate a script template according to the script structure composed of the multiple storyboard videos, the storyboard description information of each storyboard video, and the text description information;
[0278] The template saving module is used to save the script template.
[0279] In some embodiments, when no material video having storyboard description information corresponding to any storyboard and matching the target object is found in the material library, the video generating device may further include:
[0280] A material generation module, used to generate material content based on the storyboard description information using an artificial intelligence big model, wherein the material content includes a synthesized video and / or a synthesized picture;
[0281] The target material video generation module is used to generate the target material video based on the material content.
[0282] In some embodiments, the video generating device may further include:
[0283] A music acquisition module, used to acquire background music matching any of the storyboard description information;
[0284] In some embodiments, the first video synthesis module 506 may be specifically used for:
[0285] The spoken audio, the target material video and the background music are synthesized into a target storyboard video.
[0286] In some embodiments, the video generating device may further include:
[0287] The first video sending module is used to publish the promotional video to the object providing system of the target object or
[0288] The second video sending module is used to send the promotion video and / or the download address of the promotion video to the client, so that the client can save the promotion video.
[0289] Figure 5 The video generation device can execute Figure 2The implementation principle and technical effect of the video generation method described in the illustrated embodiment will not be described in detail. The specific manner in which each module and unit performs operations in the video generation device in the above embodiment has been described in detail in the embodiment of the method, and will not be described in detail here.
[0290] The present application also provides a computing device, such as Figure 6 As shown, the device may include a storage component and a processing component;
[0291] The storage component stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component to implement the video generation method provided in the embodiment of the present application.
[0292] Of course, the computing device may also include other components, such as input / output interfaces, display components, communication components, etc.
[0293] The processing components in the computing device are used to implement the following Figure 2 In the case of the video generation method shown, the computing device may also include a display component to perform corresponding display operations.
[0294] The input / output interface provides an interface between the processing component and the peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices.
[0295] The processing component may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0296] The storage component is configured to store various types of data to support operations at the terminal. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0297] The display component may be an electroluminescent (EL) element, a liquid crystal display or a micro display having a similar structure, or a retinal direct display or a similar laser scanning display.
[0298] It should be noted that the above computing device implements Figure 2 In the case of the video generation method shown, it can be a physical device or an elastic computing host provided by a cloud computing platform, etc. It can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device.
[0299] It should be noted that the above computing device can be a physical device or an elastic computing host provided by a cloud computing platform, etc. It can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device.
[0300] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 2 The video generation method of the illustrated embodiment. The computer readable medium may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device.
[0301] The present application also provides a computer program product, which includes a computer program carried on a computer-readable storage medium. When the computer program is executed by a computer, the computer program can achieve the above-mentioned Figure 2 The video generation method of the illustrated embodiment. In such an embodiment, the computer program can be downloaded and installed from a network, and / or installed from a removable medium. When the computer program is executed by a processor, various functions defined in the system of the present application are executed.
[0302] It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).
[0303] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0304] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0305] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0306] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A video generation method, characterized in that: Applied to the server, the method includes: In response to the video generation instruction for the target object sent by the client, determine the object description information and the video script type of the target object; Determine a script structure corresponding to the video script type; the script structure includes a plurality of storyboards; Generate the script content of each storyboard based on the object description information and the script structure using the artificial intelligence big model; the script content includes the spoken copy and the storyboard description information; the storyboard description information is used to describe the screen content of the storyboard; Convert the spoken text corresponding to each storyboard into spoken audio; Searching for a target material video that matches the storyboard description information of each storyboard and the target object from a material library; The spoken audio of each storyboard is combined with the corresponding target material video into a target storyboard video; According to the script structure, the target storyboard videos corresponding to the multiple storyboards are synthesized to obtain a promotional video for the target object.
2. The method according to claim 1, characterized in that The method of using the artificial intelligence big model to generate the script content of each storyboard based on the object description information and the script structure includes: Generate a spoken copy for each storyboard based on the object description information and the target script structure using an artificial intelligence big model; The artificial intelligence big model is used to generate the storyboard description information of each storyboard based on the spoken text of each storyboard.
3. The method according to claim 2, characterized in that The step of using the artificial large model to generate the spoken copy for each storyboard based on the object description information and the target script structure includes: Obtain a target script template and target script requirements corresponding to the target script structure; Generate a first prompt word according to the first prompt template by using the object description information, the target script template and the target script requirement; The first prompt word is input into the artificial intelligence big model, so as to utilize the artificial intelligence big model to generate the spoken text of each storyboard based on the object description information, with reference to the target script template and in accordance with the script requirements.
4. The method according to claim 1, characterized in that Also includes: Based on the spoken audio of each storyboard, a digital human image is generated in which the digital human broadcasts the spoken audio; The step of synthesizing the spoken audio of each storyboard with the corresponding target material video into a target storyboard video comprises: Combine the spoken audio of each storyboard with the digital human image to form a digital human video; In the case that a target material video exists in any storyboard, the digital human video and the target material video are combined into a target storyboard video; In the case that there is no target material video for any storyboard, the digital human video is used as the target storyboard video.
5. The method according to claim 4, characterized in that Also includes: Sending digital human selection prompt information of multiple digital humans to the client; Determining the target digital human selected by the user according to the digital human selection request sent by the client; The step of generating a digital human screen in which a digital human broadcasts the spoken audio based on each storyboard includes: Based on the spoken audio, generating the lip shape features of the target digital human; The lip shape features are synthesized into a digital human model corresponding to the target digital human to generate a digital human image.
6. The method according to claim 4, characterized in that The step of synthesizing the digital human video and the target material video into a target storyboard video comprises: The background picture in the digital human video is replaced with the material picture of the target material video to generate the target storyboard video.
7. The method according to claim 1, characterized in that Also includes: Acquire at least one object video sent by the client; Segment each object video according to content similarity to obtain multiple segmented videos; Using an artificial intelligence big model to convert the multiple segmented videos into video features respectively; The plurality of segmented videos are respectively used as material videos, and are saved in a material library in correspondence with the respective video features and the object types corresponding to the object videos to which they belong; The step of searching the material library for the storyboard description information of each storyboard and the material video matching the target object comprises: Performing feature extraction processing on the storyboard description information to generate storyboard description features; Based on the matching degree between the storyboard description information of each storyboard and the video features, a target material video matching each storyboard is searched from a plurality of material videos in the material library that match the object type of the target object.
8. The method according to claim 1, characterized in that: The responding client sends a video generation instruction for a target object, and determining the object description information and the video script type of the target object includes: In response to a video generation instruction for a target object sent by a client, determine object description information of the target object, the target object video, and the video script type; The method further comprises: Segmenting the target object video according to content similarity to obtain multiple segmented videos; Using an artificial intelligence big model to convert the multiple segmented videos into video features respectively; The plurality of segmented videos are saved in a material library corresponding to their respective video features; The step of searching the material library for target material videos that match the storyboard description information of each storyboard and the target object comprises: Based on the matching degree between the storyboard description information of each storyboard and the video features, a material video matching each storyboard is searched from a plurality of segmented videos in the material library.
9. The method according to claim 1, characterized in that: The responding client sends a video generation instruction for a target object, and determining the object description information and the video script type of the target object includes: In response to a video generation instruction for a target object sent by a client, determine an object link of the target object and a video script type provided by a user in the video generation instruction; The object description information of the target object is extracted from the object page of the object link index.
10. The method according to claim 3, characterized in that Also includes: Get the target video; Parsing the target video to obtain a plurality of storyboard videos and spoken texts corresponding to the plurality of storyboard videos; Generate storyboard description information and text description information of each storyboard video based on the multiple storyboard videos and the oral texts corresponding to the storyboard videos by using an artificial intelligence big model; wherein the storyboard description information is used to describe the screen content of the storyboard video, and the text description information is used to describe the text type of the storyboard video; Generate a script template according to the script structure composed of the multiple storyboard videos, the storyboard description information of each storyboard video, and the text description information; Save the script template.
11. The method according to claim 1, characterized in that: In the case that no material video having storyboard description information corresponding to any storyboard and matching the target object is found in the material library, the method further includes: Using an artificial intelligence big model, generating material content based on the storyboard description information, wherein the material content includes a synthesized video and / or a synthesized picture; Based on the material content, the target material video is generated.
12. The method according to claim 1, characterized in that The method further comprises: Obtaining background music that matches any of the storyboard description information; The step of synthesizing the spoken audio of each storyboard with the corresponding target material video into a target storyboard video comprises: The spoken audio, the target material video and the background music are synthesized into a target storyboard video.
13. The method according to claim 1, characterized in that The method further comprises: The promotional video is released to the target object providing system or, The promotion video and / or the download address of the promotion video is sent to the client, so that the client can save the promotion video.
14. A computing device, characterized in that including a processing component and a storage component; The storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the video generation method as described in claims 1 to 13.
15. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by the processing component, the video generation method according to claims 1 to 13 is implemented.
16. A computer program product, characterized in that It comprises a computer program / instruction, which implements the video generation method as described in 1 to 13 when executed by the processing component.
Citation Information
Patent Citations
Video generation method and device, electronic equipment and storage medium
CN113727039A
Video automatic generation method and device, terminal equipment and storage device
CN113891017A
Video processing method and electronic equipment
CN116668768A
Propaganda video generation method and device, and storage medium
CN117241087A
Intelligent video editing method and system based on large model
CN117812386A
Cited By
Video script generation method, computing device, computer storage medium and computer program product
CN118984413A
Drama script auxiliary generation method and device based on artificial intelligence
CN119558326A
Video generation method and device, equipment and medium
CN119767101A
A video generation method, apparatus, device and medium
CN119767101B
Short video automatic generation method and device based on new media content creation model
CN119865672A
