Video generation method and apparatus, and device, medium and program product
By displaying a target material area and a material recommendation area on the video generation page, and using information about the target object to query candidate recommended materials, the problem of limited materials is solved, thereby improving video quality and optimizing user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2025-10-27
- Publication Date
- 2026-05-07
AI Technical Summary
In existing video generation technologies, the source material is limited by the creator's uploads or the details page of the target object, resulting in poor video quality.
The video generation page displays a target material area and a material recommendation area. By querying the preset material set through the object information of the target object, candidate recommended materials are obtained and added to the media material set, and finally the target video is generated.
It has improved the richness and quality of video materials, optimized video effects, and enhanced user experience and material selection efficiency.
Smart Images

Figure CN2025130065_07052026_PF_FP_ABST
Abstract
Description
A video generation method, apparatus, device, medium, and program product.
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411523698.5, filed on October 29, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] This disclosure relates to a video generation method, apparatus, device, medium, and program product. Background Technology
[0004] With the development of computer technology, promoting products through videos has become widely used. For example, product promotion videos are generated based on product images and / or videos uploaded by creators. However, the materials used in these videos are often limited by the creator's uploads or the product's details page, resulting in low video quality and poor overall effect. Summary of the Invention
[0005] This disclosure provides a video generation method, apparatus, device, medium, and program product that can improve the richness of target videos and optimize video effects.
[0006] In a first aspect, embodiments of this disclosure provide a video generation method, characterized in that it includes:
[0007] The target material area is displayed on the video generation page. The target material area is used to display the media material set associated with the target video of the target object. The media material set includes the original material corresponding to the target object.
[0008] The video generation page displays a material recommendation area, which displays candidate recommended materials. The candidate recommended materials are obtained by querying a preset material set based on at least two screen description information corresponding to the object information of the target object.
[0009] In response to the material selection operation for the candidate recommended material, the target recommended material is transferred from the material recommendation area to the target material area, so as to add the target recommended material to the media material set;
[0010] In response to the video generation trigger operation on the video generation page, a target video of the target object is generated based on the original materials and target recommended materials in the media material set, and the target video is displayed. The video generation trigger operation is used to trigger a video generation event.
[0011] Secondly, embodiments of this disclosure also provide a video generation apparatus, the apparatus comprising:
[0012] The target material area display module is used to display the target material area on the video generation page. The target material area is used to display the media material set associated with the target video of the target object, wherein the media material set includes the original material corresponding to the target object.
[0013] The material recommendation area display module is used to display a material recommendation area on the video generation page, and to display candidate recommended materials in the material recommendation area. The candidate recommended materials are obtained by querying a preset material set based on at least two screen description information corresponding to the object information of the target object.
[0014] The recommended material selection module is used to respond to the material selection operation for the candidate recommended materials by transferring the target recommended material from the material recommendation area to the target material area, so as to add the target recommended material to the media material set;
[0015] The video generation module is used to respond to the video generation trigger operation on the video generation page, generate a target video of the target object based on the original materials and target recommended materials in the media material set, and display the target video, wherein the video generation trigger operation is used to trigger a video generation event.
[0016] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0017] One or more processors;
[0018] Storage device for storing one or more programs.
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the video generation method as described in any embodiment of this disclosure.
[0020] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the video generation method as described in any embodiment of this disclosure.
[0021] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program, characterized in that the computer program, when executed by a processor, implements the video generation method as described in any embodiment of this disclosure. Attached Figure Description
[0022] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0023] Figure 1 is a schematic flowchart of a video generation method provided in an embodiment of this disclosure;
[0024] Figure 2 is a schematic diagram of the structure of a video generation page provided in an embodiment of this disclosure;
[0025] Figure 3 is a schematic diagram of another video generation page structure provided in an embodiment of this disclosure;
[0026] Figure 4 is a schematic diagram of the structure of another video generation page provided in an embodiment of this disclosure;
[0027] Figure 5 is a flowchart illustrating another video generation method provided in an embodiment of this disclosure;
[0028] Figure 6 is a flowchart of a video generation method provided in an embodiment of this disclosure;
[0029] Figure 7 is a schematic diagram of a video generation device provided in an embodiment of this disclosure;
[0030] Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0031] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are illustrated in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0032] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0033] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0034] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0035] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0036] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0037] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0038] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0039] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0040] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0041] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0042] Figure 1 is a schematic flowchart of a video generation method provided in an embodiment of this disclosure. This embodiment is applicable to situations where a video of a target object is generated when there is limited source material, such as generating a product promotion video or product marketing video based on limited source material. The method can be executed by a video generation device, which can be implemented in software and / or hardware, optionally through an electronic device, such as a mobile terminal, PC, or server.
[0043] As shown in Figure 1, the method includes:
[0044] S110. Display the target material area on the video generation page. The target material area is used to display the media material set associated with the target video of the target object.
[0045] The video generation page is an interactive page representing the video generation service. The video generation service generates promotional or marketing videos for a target object. The target object can be an object to be promoted, such as a product or commodity. The target material area is a control on the video generation page used to display a set of media materials. In this embodiment, the media material set includes the original materials corresponding to the target object. The original materials include locally uploaded images and / or videos. The original materials also include images and / or videos obtained by parsing the webpage associated with the target object. The media material set may also include target recommended materials, which represent selected candidate recommended materials.
[0046] For example, the original materials of the target object can be obtained by uploading images and / or videos associated with the target object, and then loaded into the target material area. Alternatively, the original materials of the target object can be obtained by parsing the details page corresponding to the target object, and then loaded into the target material area.
[0047] Specifically, the process involves retrieving the webpage associated with the target object, parsing the webpage to obtain images and / or videos of the target object, and further parsing the webpage to obtain object information and / or the name of the target object. The images and / or videos of the target object are then displayed in the target material area of the video generation page.
[0048] S120. Display a material recommendation area on the video generation page, and display candidate recommended materials in the material recommendation area.
[0049] The "Material Recommendation Trigger Operation" is used to trigger a material recommendation event. This event queries a pre-defined material set based on at least two screen descriptions corresponding to the object information of the target object to obtain candidate recommended materials. For example, the material recommendation trigger operation might include inputting the URL of the target object. Alternatively, it might include inputting the object information of the target object. Or, it might include inputting the name of the target object, and using a pre-trained text generation model to generate the object information based on that name.
[0050] Optionally, a material recommendation event can also be triggered based on the original materials in the target material area. For example, if the number of original materials in the target material area does not meet a preset quantity requirement, a material recommendation event is triggered. And / or, if the attribute information of the original materials in the target material area does not meet preset attribute requirements, a material recommendation event is triggered. Attribute information includes attributes that affect material quality, such as resolution.
[0051] The candidate recommended materials are obtained by querying a preset material set based on at least two scene descriptions corresponding to the object information of the target object. The scene descriptions are generated based on the object information of the target object and prompt words. For example, the scene description could be a dog running in the sunlight. At least two scene descriptions are generated based on the object information and prompt words using a preset generation model. The prompt words constrain the generation results of the preset generation model. Based on each scene description, a preset material set is queried to obtain candidate recommended materials whose matching degree with the scene description exceeds a set threshold.
[0052] For example, in response to a material recommendation trigger operation on the video generation page, a first form of the material recommendation area is displayed, wherein the first form of the material recommendation area includes a placeholder image of recommended materials. If the candidate recommended materials are successfully loaded, a second form of the material recommendation area is displayed, wherein the placeholder image of recommended materials in the second form of the material recommendation area is replaced with the candidate recommended materials. The second form of the material recommendation area includes at least two material groups associated with different screen description information, and adjacent material groups are associated with different screen description information. Each material group includes at least two candidate recommended materials.
[0053] The recommended material placeholder image serves as a placeholder for candidate recommended materials within the material recommendation area. This placeholder image includes a recommendation identifier to distinguish it from the original materials in the target material area. In response to a material recommendation trigger on the video generation page, the first form of the material recommendation area and a loading prompt text can be displayed. At this stage, the material recommendation area includes the recommended material placeholder image. If the candidate recommended materials load successfully, the second form of the material recommendation area is displayed, showing the candidate recommended materials in the positions corresponding to the recommended material placeholder image, and the loading prompt text changes to a loading completion text. Optionally, the material recommendation area can also display prompts such as the number of selected materials and the total number of available materials. The candidate recommended materials displayed in the material recommendation area can be switched using a swipe gesture.
[0054] In this embodiment, the material recommendation area includes at least two material groups associated with screen description information, and adjacent material groups are associated with different screen description information. Each material group includes at least two candidate recommended materials. By sorting the candidate recommended materials in descending order according to their matching degree along the screen description information dimension, and grouping the candidate recommended materials according to the sorting result, material groups containing at least two candidate recommended materials are obtained. The material groups associated with each screen description information are then displayed sequentially according to the order of the screen description information. This grouping and dispersing of candidate recommended materials allows for the display of multiple candidate recommended materials associated with different screen description information within the material recommendation area, improving the richness of material selection. Furthermore, it avoids users spending excessive time discovering candidate recommended materials associated with screen description information that match their expectations, thus improving material selection efficiency.
[0055] In this embodiment of the disclosure, the material recommendation area represents the control for displaying candidate recommended materials on the video generation page. In response to a material recommendation trigger operation on the video generation page, a material recommendation area in a loading state is displayed on the video generation page. For the material recommendation area in a loading state, multiple placeholder images of recommended materials are displayed, each including a set recommendation identifier. If the candidate recommended materials are successfully loaded, the material recommendation area in a loading state is switched to a material recommendation area in a loaded state, and the candidate recommended materials are displayed at the corresponding positions of the placeholder icons in the material recommendation area. Figure 2 is a schematic diagram of the structure of a video generation page provided in this embodiment of the disclosure. As shown in Figure 2, the target material area 210 displays original materials and placeholder images of recommended materials. The target material area 210 includes target recommended materials (with a seven-pointed star symbol) and original materials (without a seven-pointed star symbol). The candidate recommended materials in the material recommendation area 220 are displayed in the following order:
[0056] The candidate recommended materials associated with screen description information 1 are A11 and A12; the candidate recommended materials associated with screen description information 2 are B11 and B12; the candidate recommended materials associated with screen description information 3 are C11 and C12; the candidate recommended materials associated with screen description information 1 are A13 and A14; the candidate recommended materials associated with screen description information 2 are B13 and B14; the candidate recommended materials associated with screen description information 3 are C13 and C14; ...; the candidate recommended materials associated with screen description information 1 are A1n and A1n; the candidate recommended materials associated with screen description information 2 are B1n and B1n; the candidate recommended materials associated with screen description information 3 are C1n and C1n. The value of n is determined based on the maximum number of loadable materials in the material recommendation area 220. Because users' creative needs vary greatly, different users may have significantly different choices of candidate recommended materials, making it difficult to predict the user's choice of candidate recommended materials in advance. By prioritizing the display of the two candidate recommended materials with the highest matching degree among the three screen description information associations, users can more easily select candidate recommended materials that match their expected screen description information, thereby improving material selection efficiency and optimizing user experience.
[0057] Optionally, in response to a material recommendation trigger operation on the video generation page, at least one placeholder image of the recommended material is displayed in the target material area. If the candidate recommended material is successfully loaded, candidate recommended materials that meet preset filtering conditions are displayed at the positions corresponding to the placeholder images of the recommended materials in the target material area. The preset filtering conditions are determined by combining the order of the material group and the order of the candidate recommended materials within the material group.
[0058] Since the candidate recommended clips within a clip group are sorted by matching degree, the first candidate recommended clip in the group has a higher matching degree than the remaining candidate recommended clips in the group. A preset filtering condition could be to select the first candidate recommended clip in the target clip group and add it to the target clip area, thus prioritizing the recommendation of the most matching candidate recommended clips in the target clip group for generating the target video. Due to the limited number of clips that can be loaded into the target clip area, N clip groups can be selected as the target clip groups according to the order of the image description information.
[0059] Optionally, in response to a click operation on the delete control corresponding to a target recommended material in the target material area, the deleted target recommended material is restored from the target material area to the corresponding material group in the material recommendation area, thereby replacing the target recommended material in the target material area. For example, after adding candidate recommended material B11 to the target material area, if a deletion operation is detected for candidate recommended material B11, candidate recommended material B11 can be moved to the display position of the material group associated with screen description information 2, and displayed before candidate recommended material B12.
[0060] Optionally, if the duration of all video materials in the target material area is less than a set threshold after deleting the target recommended material in the target material area, a prompt message will be displayed indicating that candidate recommended materials of at least the set duration will be loaded, in order to guide the user to continue selecting target recommended materials.
[0061] In some embodiments, if the candidate recommended materials fail to load, the first-form material recommendation area on the video generation page is deleted, and the recommended material placeholder image in the target material area is deleted. Specifically, if no candidate recommended materials associated with the image description information are matched, it is determined that the candidate recommended materials have failed to load. Deleting the first-form material recommendation area on the video generation page and deleting the recommended material placeholder image in the target material area allows the target video to be generated based on the original materials in the target material area. In the case of candidate recommended material loading failure, this embodiment deletes the recommended material recommendation area and the recommended material placeholder image in the target material area, and generates the target video using the original materials, which can avoid the problem of blocking subsequent video generation operations due to candidate recommended material loading failure.
[0062] It should be noted that the recommended content area will not be displayed if the information on the video generation page does not belong to any target object. However, if any of the following actions are detected on the video generation page: inputting the product name, object information, or original footage of the target object, a recommended content area will be displayed on the video generation page.
[0063] In some embodiments, in response to the input of an object name on the video generation page, a first form of the material recommendation area is displayed. A preset generation model predicts the target object based on the object name association, determines the scene description information based on the predicted object information, and then determines a recommended material list based on the scene description information. The recommended material list includes candidate recommended materials, which are determined based on the matching degree and the number of scene description information. For example, if there are 6 scene description information, the top five candidate recommended materials with the highest matching degree for each scene description information constitute a recommended material list containing 30 candidate recommended materials. The recommended material list is loaded onto the video generation page. If the candidate recommended materials are loaded successfully, the candidate recommended materials in the recommended material list are displayed in the material recommendation area.
[0064] Furthermore, after displaying candidate recommended materials from the recommended material list in the material recommendation area, if an input operation on object information is detected on the video generation page, new scene description information is determined based on the object information, and candidate recommended materials are determined based on the new scene description information. The recommended material list is updated based on the newly determined candidate recommended materials. If the recommended material list before and after the update is different, the material recommendation area is reloaded.
[0065] Furthermore, in response to updates to object names and / or object information, the screen description information is updated. Candidate recommended materials are determined based on the updated screen description information. The recommended material list is updated based on the newly determined candidate recommended materials. If the recommended material lists before and after the update differ, the recommended material area is reloaded.
[0066] S130. In response to the material selection operation for the candidate recommended material, the target recommended material is transferred from the material recommendation area to the target material area to add the target recommended material to the media material set.
[0067] The media selection operation is used to trigger a media selection event. This event moves the target recommended media from the media recommendation area to the target media area, adding it to the media media set. For example, clicking the media add control corresponding to a candidate recommended media triggers the media selection event. Alternatively, selecting candidate recommended media triggers the event. Or, dragging candidate recommended media triggers the event. This disclosure does not specifically limit the meaning of the media selection operation.
[0068] Optionally, the candidate recommended materials can be previewed before selecting the target recommended material. For example, the duration of the material is displayed at a designated position within the candidate recommended material. In response to a click operation on the duration of any candidate recommended material, a preview page corresponding to the candidate recommended material is displayed, and the candidate recommended material is played on the preview page.
[0069] Figure 3 is a schematic diagram of another video generation page structure provided in this embodiment. As shown in Figure 3, the material recommendation area displays candidate recommended materials 310 associated with different scene descriptions. The lower left corner of the candidate recommended material 310 displays the material duration. The upper right corner of the candidate recommended material 310 displays a material addition control 320. Clicking on the material duration displays a preview page 330 in the form of a pop-up window on the video generation page. The candidate recommended material 310 is played on the preview page 330 so that the user can select the candidate recommended material 310 that meets their expectations.
[0070] For candidate recommended materials that meet the expectations, a target recommended material can be determined through a material selection operation, and then transferred from the material recommendation area to the target material area. For example, in response to a click operation that adds a control to the material corresponding to the candidate recommended material, the target recommended material is transferred along a preset movement path to a set material display position in the target material area. Here, the target recommended material represents the candidate recommended material associated with the click operation, and the preset movement path represents the line segment between the position of the target recommended material in the material recommendation area and the set material display position. The target recommended material is then displayed at the set material display position. Optionally, the set display position can be the position in front of existing materials in the target material area. For example, each time a target recommended material is added to the target material area, it is added before all materials in the target material area to display the target recommended material at the head of the target material area. By transferring the target recommended material along a preset movement path, the transfer process of the target recommended material can be presented, improving the interactivity of the candidate recommended materials.
[0071] Furthermore, in response to a click operation on the control added to the material corresponding to the candidate recommended material, the target recommended material is moved along a preset movement path to a set material display position in the target material area, including:
[0072] In response to a click operation on the control for adding the material displayed at a set position of the candidate recommended material, the target recommended material is moved along the preset movement path. During the movement of the target recommended material along a first path segment of the preset movement path, the target recommended material is transformed from a first form to a second form, wherein the first path segment represents a line segment between the position of the target recommended material in the material recommendation area and the target position on the video generation page. During the movement of the target recommended material along a second path segment of the preset movement path, the target recommended material is restored from the second form to the first form, wherein the second path segment represents a line segment between the target position and the set material display position.
[0073] In this embodiment of the disclosure, the thumbnail representing the target recommended material in the first form is gradually reduced in size from its original size. The thumbnail representing the target recommended material in the second form is gradually enlarged back to its original size after being reduced in size.
[0074] Figure 4 is a schematic diagram of another video generation page provided in this embodiment. As shown in Figure 4, a material addition control 420 is displayed in the upper right corner of the candidate recommended material 410. Based on the click operation of the material addition control 420, the target recommended material is moved along a preset movement path 430. The preset movement path includes a preset target position 431. The line segment between the position of the target recommended material and the target position is taken as the first path segment 432. The segment between the target position and the set material display position in the target material area is taken as the second path segment 433. During the movement of the target recommended material along the first path segment 432, the thumbnail of the target recommended material is gradually reduced. The distances of points A, B, and C on the first path segment 432 from the starting point of the path increase sequentially, and the size of the corresponding target recommended material thumbnail decreases sequentially. During the movement of the target recommended material along the second path segment 433, the reduced thumbnail of the target recommended material is gradually enlarged until the target recommended material moves to the set material display position in the target material area, and the thumbnail returns to its original size. On the second path segment 433, the distances between points D and E and the path endpoint decrease sequentially, while the sizes of the thumbnails of the corresponding target recommended materials increase sequentially.
[0075] S140. In response to the video generation trigger operation on the video generation page, generate the target video of the target object based on the original materials and target recommended materials in the media material set, and display the target video.
[0076] The video generation triggering operation is used to trigger a video generation event. The video generation event is used to generate a target video of the target object based on a media material set associated with the target material area. Optionally, the target video is generated by combining original materials and target recommended materials within the media material set using a pre-trained generation model. The pre-trained generation model can be a video generation model based on deep learning technology. Optionally, before inputting the original materials and target recommended materials into the preset generation model, image preprocessing and image-text matching operations can be performed to establish a correspondence between images and text.
[0077] This embodiment of the disclosure displays a material recommendation area in response to a material recommendation trigger operation on the video generation page. This area includes candidate recommended materials for creators to select target recommended materials from. The target recommended material is then transferred from the material recommendation area to the target material area, adding it to the media material set associated with the target material area. Finally, the original materials in the media material set and the target recommended material are combined to generate a target video of the target object, which is then displayed. Since the candidate recommended materials are obtained by querying a preset material set based on at least two screen descriptions corresponding to the object information of the target object, the candidate recommended materials have a close correlation with the target object. Adding the target recommended material from the candidate recommended materials to the media material set generates a rich target video based on the media material set, reducing material duplication in the target video, increasing the richness of the target material, and improving the video effect.
[0078] Figure 5 is a flowchart illustrating another video generation method provided in this embodiment. This embodiment, based on the above embodiments, adds a method for querying candidate recommended materials. As shown in Figure 5, the method includes:
[0079] S500. Display the target material area on the video generation page. The target material area is used to display the media material set associated with the target video of the target object, wherein the media material set includes the original material corresponding to the target object.
[0080] S510. Display a material recommendation area on the video generation page, the material recommendation area including a placeholder image of recommended materials.
[0081] S520. Obtain at least one object information associated with the target object, and generate at least two screen description information associated with the object information based on at least one object information and prompt words using a preset generation model.
[0082] The prompt words are used to constrain the generation results of the preset generation model. The prompt words can be set according to business needs.
[0083] Optionally, the video generation page includes an input box control where object information can be entered. Alternatively, the target object's webpage can be obtained; for example, the target object's details page. The webpage content is parsed to obtain images and / or videos from the target object's webpage, which serve as raw materials. Furthermore, parsing the webpage can also obtain at least one of the target object's description information, selling point information, and name information. The object description information can be split into N segments of object information. Then, based on prompts, a preset generation model generates at least two screen descriptions for each segment of object information, resulting in 2N screen descriptions.
[0084] S530. Perform vector matching between the image description vector corresponding to the image description information and the material vector associated with the preset material set to obtain the matching material and the matching degree corresponding to the matching material.
[0085] The preset material set is a collection of images and / or videos. It includes a large number of high-quality materials. The image description vector is a vector obtained by vectorizing image description information. The material vector is a vector obtained by vectorizing multimodal information such as images, videos, and text in the preset material set. Optionally, the image description vector corresponding to the image description information is generated through an embedding model. Furthermore, the material vector corresponding to the materials in the preset material set is generated through the embedding model.
[0086] For example, for any image description information, the vector distance between the image description vector corresponding to the image description information and the vector of the material corresponding to the material in the preset material set is calculated. The matching degree between the material in the preset material set and the image description information is determined based on the vector distance. Material in the preset material set whose matching degree exceeds a set threshold is determined as matched material. The matching degree corresponding to the material in the preset material set whose matching degree exceeds the set threshold is determined as the matching degree corresponding to the matched material.
[0087] Optionally, determining matching materials based on a matching degree exceeding a set threshold in the preset material set further includes: determining matching materials based on the recall priority and matching degree of materials in the preset material set. Specifically, video materials have a higher recall priority than image materials. Vertical video materials have a higher recall priority than horizontal video materials. Video materials of different durations have different recall priorities. For materials in the preset material set with a matching degree exceeding the set threshold, matching materials are determined based on the recall priority, and materials with a matching degree exceeding the set threshold are cached. If the matching materials cannot meet the video generation requirements, the cached materials are added to the material recommendation list.
[0088] S540. Determine the candidate recommended materials among the matched materials based on the matching degree.
[0089] For example, for any scene description information, the matching materials associated with the scene description information are sorted in descending order according to their matching degree. Candidate recommended materials corresponding to each scene description information are determined based on the sorting results. For instance, for each scene description information, the matching materials are sorted in descending order based on their matching degree, and the top n matching materials are selected as candidate recommended materials. A list of recommended materials is generated based on the candidate recommended materials.
[0090] S550. For any one of the screen description information, the candidate recommended materials associated with the screen description information are grouped according to the matching degree to obtain the material group associated with the screen description information.
[0091] For example, for any given image description information, the candidate recommended materials associated with the image description information are grouped according to the matching degree and a grouping strategy to obtain a material group associated with the image description information. The grouping strategy is used to characterize the number of candidate recommended materials within a material group. For example, the candidate recommended materials are grouped according to the descending order of the candidate recommended materials and the number of candidate recommended materials within the material group.
[0092] S560. Based on the order of the screen description information, the material groups associated with the screen description information are displayed sequentially in the material recommendation area.
[0093] For example, following the order of the image description information, the placeholder images in the material recommendation area are replaced with candidate recommended materials from the material groups, so that the material groups associated with each image description information are displayed sequentially in the material recommendation area. Optionally, the display priority of a material group can be determined based on the matching degree of the candidate recommended materials associated with that material group. The undisplayed material group with the highest display priority corresponding to the image description information is displayed at the position corresponding to that image description information in the material recommendation area.
[0094] S570. In response to the material selection operation for the candidate recommended material, the target recommended material is transferred from the material recommendation area to the target material area to add the target recommended material to the media material set.
[0095] S580. In response to the video generation trigger operation on the video generation page, generate a target video of the target object based on the original materials and target recommended materials in the media material set, and display the target video, wherein the video generation trigger operation is used to trigger a video generation event.
[0096] In this embodiment of the disclosure, in response to the video generation trigger operation on the video generation page, a target video of the target object is generated based on the original materials and target recommended materials in the media material set associated with the target material area, and the target video is displayed.
[0097] Optionally, in response to a video generation trigger operation on the video generation page, if the media material set associated with the target material area only contains the target recommended material, then at least one video material in the target recommended material is replaced with a video material from the parsed original material. If the original material is an image material, then the image material in the target recommended material is replaced with the image material.
[0098] In some embodiments, if the duration of the landscape video footage in the media footage set associated with the target footage area meets the preset split-screen conditions, then the target video is a split-screen video. Split-screen mode refers to a video display mode that combines at least two landscape video footage.
[0099] Figure 6 is a flowchart of a video generation method provided in an embodiment of this disclosure. As shown in Figure 6, the method includes: obtaining a webpage 610 of a target object; obtaining images and / or videos associated with the target object from the webpage 610 as raw material 620. Optionally, the raw material 620 may also be images and / or videos uploaded by a user. In addition, the webpage 610 may also obtain object description information, selling point information, and name information of the target object. The user inputs business information and marketing target. A script copy 600 is generated based on the object description information, selling point information, name information, business information, and marketing target. The script copy 6100 is segmented. The object description information can be split into N segments of object information 630. Then, based on prompt words, a preset generation model is used to generate at least two screen description information 640 for each segment of object information 630, resulting in 2N screen description information 640. For example, for object information that is curved and curled and has good waterproof properties, the two generated screen description information 640 may be: Screen 1: A person with long eyelashes blinking; Screen 2: A close-up of washing a face. Based on the image description information 640 and the preset material set 650, a material retrieval 660 is performed. A recommended material list 670 is generated based on the retrieved candidate recommended materials for user selection. Based on the selection operation of the candidate recommended materials, the target recommended material 680 is determined. Preprocessing 690, such as material understanding, is performed on the target recommended material 680 and the original material 620. The preprocessed material is then matched with the segmented script using image-text matching 6100. Based on the image-text matching results and the script text 600, the target video is generated.
[0100] This embodiment of the disclosure matches the image description vector with the material vectors associated with a preset material set to obtain matching materials with a matching degree exceeding a set threshold. The matching materials are then sorted in descending order based on the matching degree to obtain candidate recommended materials, achieving rapid and accurate acquisition of candidate recommended objects associated with the target object. The candidate recommended materials associated with the image description information are grouped according to the matching degree to obtain material groups associated with the image description information. Then, according to the order of the image description information, the material groups of each image description information are displayed alternately, making it easier for users to select candidate recommended materials associated with image description information that meet their expectations, improving material selection efficiency and optimizing user experience.
[0101] Figure 7 is a schematic diagram of a video generation device provided in an embodiment of this disclosure. The device can be implemented in the form of software and / or hardware, and optionally, it can be implemented by an electronic device, such as a mobile terminal, a PC, or a server.
[0102] As shown in Figure 7, the device includes: a target material area display module 710, a material recommendation area display module 720, a recommended material selection module 730, and a video generation module 740.
[0103] The target material area display module 710 is used to display the target material area on the video generation page. The target material area is used to display the media material set associated with the target video of the target object, wherein the media material set includes the original material corresponding to the target object.
[0104] The material recommendation area display module 720 is used to display a material recommendation area on the video generation page, and to display candidate recommended materials in the material recommendation area. The candidate recommended materials are obtained by querying a preset material set based on at least two screen description information corresponding to the object information of the target object.
[0105] The recommended material selection module 730 is used to, in response to the material selection operation for the candidate recommended materials, transfer the target recommended material from the material recommendation area to the target material area, so as to add the target recommended material to the media material set;
[0106] The video generation module 740 is used to respond to the video generation trigger operation on the video generation page, generate a target video of the target object based on the original materials and target recommended materials in the media material set, and display the target video, wherein the video generation trigger operation is used to trigger a video generation event.
[0107] Optionally, the material recommendation display module 720 is specifically used for:
[0108] In response to the material recommendation trigger operation on the video generation page, the first form of the material recommendation area is displayed, wherein the first form of the material recommendation area includes a placeholder image of recommended materials;
[0109] If the candidate recommended materials are successfully loaded, the second form of the material recommendation area is displayed. In the second form, the placeholder image of the recommended materials in the material recommendation area is switched to the candidate recommended materials. The material recommendation area in the second form includes at least two material groups associated with screen description information, and adjacent material groups are associated with different screen description information. Each material group includes at least two candidate recommended materials.
[0110] Optionally, it also includes:
[0111] In response to the material recommendation trigger operation on the video generation page, at least one of the recommended material placeholder images is displayed in the target material area;
[0112] If the candidate recommended materials are loaded successfully, then candidate recommended materials that meet the preset filtering conditions will be displayed at the position corresponding to the placeholder image of the recommended materials in the target material area. The preset filtering conditions are determined by combining the order of the material group and the order of the candidate recommended materials within the material group.
[0113] Optionally, it also includes:
[0114] If the candidate recommended materials fail to load, the first form of the material recommendation area in the video generation page is deleted, and the placeholder image of the recommended materials in the target material area is deleted.
[0115] Optionally, it also includes:
[0116] The duration of the material is displayed at the designated location in the candidate recommended material;
[0117] In response to a click operation on the duration of any candidate recommended material, a preview page corresponding to the candidate recommended material is displayed, and the candidate recommended material is played on the preview page.
[0118] Optionally, the recommended material selection module 730 is specifically used for:
[0119] In response to a click operation that adds a control to the material corresponding to the candidate recommended material, the target recommended material is moved along a preset movement path to a set material display position in the target material area, wherein the target recommended material represents the candidate recommended material associated with the click operation, and the preset movement path represents the line segment between the position of the target recommended material in the material recommendation area and the set material display position;
[0120] The target recommended material is displayed at the designated material display location.
[0121] Further, the step of responding to a click operation of adding a control to the material corresponding to the candidate recommended material, and transferring the target recommended material along a preset movement path to the set material display position in the target material area, includes:
[0122] In response to a click operation on the control for adding material displayed at a set position of the candidate recommended material, the target recommended material is moved along the preset movement path;
[0123] During the process of the target recommended material moving along the first path segment in the preset moving path, the target recommended material is transformed from a first form to a second form, wherein the first path segment represents the line segment between the position of the target recommended material in the material recommendation area and the target position in the video generation page;
[0124] During the movement of the target recommended material along the second path segment of the preset movement path, the target recommended material is restored from the second form to the first form, wherein the second path segment represents the line segment between the target position and the set material display position.
[0125] Optionally, the query methods for the candidate recommended materials include:
[0126] Obtain at least one object information associated with the target object, and generate at least two screen description information associated with the object information based on at least one object information and prompt words through a preset generation model, wherein the prompt words are used to constrain the generation result of the preset generation model;
[0127] The image description vector corresponding to the image description information is matched with the material vector associated with the preset material set to obtain the matching material and the matching degree corresponding to the matching material;
[0128] The candidate recommended materials among the matched materials are determined based on the matching degree.
[0129] Furthermore, after determining the candidate recommended materials among the matched materials based on the matching degree, the method further includes:
[0130] For any given image description information, the candidate recommended materials associated with the image description information are grouped according to the matching degree to obtain the material group associated with the image description information;
[0131] Based on the order of the image description information, the material groups associated with the image description information are displayed sequentially in the material recommendation area.
[0132] The video generation apparatus provided in this disclosure can execute the video generation method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects of executing the method.
[0133] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0134] Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Referring now to Figure 8, a schematic diagram of the structure of an electronic device (e.g., the terminal device or server in Figure 8) 800 suitable for implementing embodiments of this disclosure is shown. The terminal device in embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 8 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of this disclosure.
[0135] As shown in Figure 8, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via a bus 804. An edit / output (I / O) interface 805 is also connected to the bus 804.
[0136] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG8 shows an electronic device 800 with various devices, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0137] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0138] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0139] The electronic device provided in this embodiment and the video generation method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0140] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the video generation method provided in the above embodiments.
[0141] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0142] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0143] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0144] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to:
[0145] The target material area is displayed on the video generation page. The target material area is used to display the media material set associated with the target video of the target object. The media material set includes the original material corresponding to the target object.
[0146] The video generation page displays a material recommendation area, which displays candidate recommended materials. The candidate recommended materials are obtained by querying a preset material set based on at least two screen description information corresponding to the object information of the target object.
[0147] In response to the material selection operation for the candidate recommended material, the target recommended material is transferred from the material recommendation area to the target material area, so as to add the target recommended material to the media material set;
[0148] In response to the video generation trigger operation on the video generation page, a target video of the target object is generated based on the original materials and target recommended materials in the media material set, and the target video is displayed. The video generation trigger operation is used to trigger a video generation event.
[0149] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0150] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0151] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0152] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0153] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0154] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0155] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0156] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A video generation method, comprising: The target material area is displayed on the video generation page. The target material area is used to display the media material set associated with the target video of the target object. The media material set includes the original material corresponding to the target object. The video generation page displays a material recommendation area, which displays candidate recommended materials. The candidate recommended materials are obtained by querying a preset material set based on at least two screen description information corresponding to the object information of the target object. In response to the material selection operation for the candidate recommended material, the target recommended material is transferred from the material recommendation area to the target material area, so as to add the target recommended material to the media material set; In response to the video generation trigger operation on the video generation page, a target video of the target object is generated based on the original materials and target recommended materials in the media material set, and the target video is displayed. The video generation trigger operation is used to trigger a video generation event.
2. The method according to claim 1, wherein, The step of displaying a material recommendation area on the video generation page, and displaying candidate recommended materials in the material recommendation area, includes: In response to the material recommendation trigger operation on the video generation page, the first form of the material recommendation area is displayed, wherein the first form of the material recommendation area includes a placeholder image of recommended materials; If the candidate recommended materials are successfully loaded, the second form of the material recommendation area is displayed. In the second form, the placeholder image of the recommended materials in the material recommendation area is switched to the candidate recommended materials. The material recommendation area in the second form includes at least two material groups associated with screen description information, and adjacent material groups are associated with different screen description information. Each material group includes at least two candidate recommended materials.
3. The method according to claim 2, further comprising: In response to the material recommendation trigger operation on the video generation page, at least one of the recommended material placeholder images is displayed in the target material area; If the candidate recommended materials are loaded successfully, then candidate recommended materials that meet the preset filtering conditions will be displayed at the position corresponding to the placeholder image of the recommended materials in the target material area. The preset filtering conditions are determined by combining the order of the material group and the order of the candidate recommended materials within the material group.
4. The method according to claim 3, further comprising: If the candidate recommended materials fail to load, the first form of the material recommendation area in the video generation page is deleted, and the recommended material placeholder image in the target material area is deleted.
5. The method according to any one of claims 1-4, further comprising: The duration of the material is displayed at the designated location in the candidate recommended material; In response to a click operation on the duration of any candidate recommended material, a preview page corresponding to the candidate recommended material is displayed, and the candidate recommended material is played on the preview page.
6. The method according to any one of claims 1-5, wherein, The step of transferring the target recommended material from the recommended material area to the target material area in response to the material selection operation for the candidate recommended material includes: In response to a click operation that adds a control to the material corresponding to the candidate recommended material, the target recommended material is moved along a preset movement path to a set material display position in the target material area, wherein the target recommended material represents the candidate recommended material associated with the click operation, and the preset movement path represents the line segment between the position of the target recommended material in the material recommendation area and the set material display position; The target recommended material is displayed at the designated material display location.
7. The method according to claim 6, wherein, The step of responding to a click operation that adds a control to the material corresponding to the candidate recommended material, and moving the target recommended material along a preset movement path to the set material display position in the target material area, includes: In response to a click operation on the control for adding material displayed at a set position of the candidate recommended material, the target recommended material is moved along the preset movement path; During the process of the target recommended material moving along the first path segment in the preset moving path, the target recommended material is transformed from a first form to a second form, wherein the first path segment represents the line segment between the position of the target recommended material in the material recommendation area and the target position in the video generation page; During the movement of the target recommended material along the second path segment of the preset movement path, the target recommended material is restored from the second form to the first form, wherein the second path segment represents the line segment between the target position and the set material display position.
8. The method according to any one of claims 1-7, wherein, The query methods for the candidate recommended materials include: Obtain at least one object information associated with the target object, and generate at least two screen description information associated with the object information based on at least one object information and prompt words through a preset generation model, wherein the prompt words are used to constrain the generation result of the preset generation model; The image description vector corresponding to the image description information is matched with the material vector associated with the preset material set to obtain the matching material and the matching degree corresponding to the matching material; The candidate recommended materials among the matched materials are determined based on the matching degree.
9. The method according to claim 8, wherein, After determining the candidate recommended materials among the matched materials based on the matching degree, the method further includes: For any given image description information, the candidate recommended materials associated with the image description information are grouped according to the matching degree to obtain the material group associated with the image description information; Based on the order of the image description information, the material groups associated with the image description information are displayed sequentially in the material recommendation area.
10. A video generation apparatus, comprising: The target material area display module is configured to display the target material area on the video generation page. The target material area is used to display the media material set associated with the target video of the target object, wherein the media material set includes the original material corresponding to the target object. The material recommendation area display module is configured to display a material recommendation area on the video generation page, and to display candidate recommended materials in the material recommendation area. The candidate recommended materials are obtained by querying a preset material set based on at least two screen description information corresponding to the object information of the target object. The recommended material selection module is configured to, in response to a material selection operation for the candidate recommended materials, transfer the target recommended material from the material recommendation area to the target material area, so as to add the target recommended material to the media material set; The video generation module is configured to respond to a video generation trigger operation on the video generation page, generate a target video of the target object based on the original materials and target recommended materials in the media material set, and display the target video, wherein the video generation trigger operation is used to trigger a video generation event.
11. An electronic device, comprising: One or more processors; Storage device, configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the video generation method as described in any one of claims 1-9.
12. A storage medium containing computer-executable instructions, wherein, The computer-executable instructions, when executed by a computer processor, are used to perform the video generation method as described in any one of claims 1-9.
13. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the video generation method as described in any one of claims 1-9.
Citation Information
Patent Citations
Video generation method and device, storage medium and electronic equipment
CN112015949A
Multimedia resource generation method and device, electronic equipment and storage medium
CN115017340A
Material display method and device, equipment and storage medium
CN117435808A
Artificial intelligence-based collection video generation method and apparatus, and electronic device
CN118690049A
Video generation method and device, equipment, medium and program product
CN119364131A