Video generation method and device, computer readable storage medium and program product

By receiving and processing multiple reference images input by users and their sequence information, identifying the process of changing objects and scenes, and generating video content logic, the problem of poor controllability of video generation in the prior art is solved, and higher video generation capabilities are achieved Improved control and user experience.

CN118890530AActive Publication Date: 2024-11-01BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202411354682.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-11-01
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

In the prior art, the video generated based on the text input by the user is poor in controllability, and it is difficult to meet the specific generation needs of the user.

Method used

By receiving multiple reference images input by the user and their sequence information, identifying the object and scene change process, generating target prompt information with video content logic, and generating videos based on this information, improving the controllability and accuracy of video generation.

Benefits of technology

It improves the controllability and usability of video generation, and the generated videos are more in line with user expectations and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890530A_ABST
    Figure CN118890530A_ABST
Patent Text Reader

Abstract

The invention relates to a video generation method and device, a computer readable storage medium and a program product, and relates to the technical field of computers. The video generation method comprises the steps that input content from a user is received, and the input content comprises a plurality of reference images and sequence information of the reference images; generating target prompt information with video content logic according to the sequence information and the change process information of the objects and the scenes in the plurality of reference images; and generating a video comprising the plurality of reference images according to the target prompt information. According to the video generation method and device, the controllability of video generation can be improved, the availability of the generated video is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a video generation method and device, a computer-readable storage medium, and a program product. Background Art

[0002] With the development of artificial intelligence technology, related applications have penetrated into all aspects of our lives, such as intelligent video generation.

[0003] In the related art, the intelligent agent provides the user with a video corresponding to the text based on the text input by the user. Summary of the invention

[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] According to a first aspect of some embodiments of the present disclosure, there is provided a video generation method, including: Receiving input content from a user, wherein the input content includes a plurality of reference images and sequence information of the plurality of reference images; Generate target prompt information with video content logic according to the sequence information and the change process information of the objects and scenes in the multiple reference images; A video including the multiple reference images is generated according to the target prompt information.

[0006] In some embodiments, generating target prompt information having video content logic according to the sequence information and the change process information of the objects and scenes in the plurality of reference images includes: Identify objects and scenes in each reference image; According to the sequence information, semantic understanding is performed on the multiple reference images to obtain change process information of the object and change process information of the scene; Target prompt information having video content logic is generated according to the object, the scene and the change process information.

[0007] In some embodiments, performing semantic understanding on the plurality of reference images according to the sequence information to obtain the change process information of the object and the scene includes: extracting object features of the objects and scene features of the scene in each reference image; Determining, according to the sequence information, first difference information between object features of the same object in two adjacent reference images and second difference information between scene features of the same scene; Determining change process information of the object according to the first difference information; According to the second difference information, change process information of the scene is determined.

[0008] In some embodiments, performing semantic understanding on the plurality of reference images according to the sequence information to obtain the change process information of the object and the scene includes: Performing multimodal fusion on the objects and scenes in the multiple reference images, the sequence information, and the multiple reference images; According to the result of the multimodal fusion, the change process information of the object and the change process information of the scene are generated.

[0009] In some embodiments, performing multimodal fusion on the objects and scenes in the plurality of reference images, the sequence information, and the plurality of reference images includes: Extracting text features from the objects and scenes in the plurality of reference images and the sequence information; Extracting visual features from the multiple reference images; The text feature and the visual feature are fused to obtain a fused feature as a result of the multimodal fusion.

[0010] In some embodiments, generating target prompt information having video content logic according to the object, the scene, and the change process information includes: Generate first picture description information describing a video picture of the object according to the object and the change process information of the object; Generate second picture description information describing a video picture of the scene according to the scene and the change process information of the scene; Target prompt information having video content logic is generated according to the first picture description information and the second picture description information.

[0011] In some embodiments, generating a video including the plurality of reference images according to the target prompt information includes: Determining, according to the change process information, the duration of the video clips based on the multiple reference images; A video including the multiple reference images is generated according to the target prompt information and the duration of the video clip.

[0012] In some embodiments, generating a video including the plurality of reference images according to the target prompt information and the duration of the video segment includes: Determining, according to the change process information, a visual effect of the video clip based on the plurality of reference images; A video including the multiple reference images is generated according to the target prompt information, the duration of the video clip and the visual effect.

[0013] In some embodiments, the input content further includes at least one reference audio segment, and generating a video including the plurality of reference images according to the target prompt information includes: Determining, according to the change process information, an audio effect of the video clip based on the plurality of reference images; Performing audio processing on the at least one reference audio segment according to the audio effect; A video including the plurality of reference images and at least one reference audio segment after the audio processing is generated according to the target prompt information.

[0014] In some embodiments, generating a video including the plurality of reference images according to the target prompt information includes: Generate at least one reference audio segment according to the sequence information and the plurality of reference images; A video including the plurality of reference images and the at least one reference audio segment is generated according to the target prompt information.

[0015] In some embodiments, the object's change process information includes motion change information and form change information; and / or The scene change process information includes scene angle change information and switching information between different scenes.

[0016] In some embodiments, the plurality of reference images include a first frame image, a last frame image, and at least one intermediate frame image between the first frame image and the last frame image of the video to be generated.

[0017] According to a second aspect of some embodiments of the present disclosure, there is provided a video generating apparatus, including: A receiving module, configured to receive input content from a user, wherein the input content includes a plurality of reference images and sequence information of the plurality of reference images; A first generating module is configured to generate target prompt information having video content logic according to the sequence information and the change process information of the objects and scenes in the plurality of reference images; The second generating module is configured to generate a video including the multiple reference images according to the target prompt information.

[0018] According to a third aspect of some embodiments of the present disclosure, a video generating device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the video generating method of any embodiment described in the present disclosure based on instructions stored in the memory.

[0019] According to a fourth aspect of some embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the video generation method of any embodiment described in the present disclosure is performed.

[0020] According to a fifth aspect of some embodiments of the present disclosure, a computer program product is provided. When the computer program product is run on a computer, the computer implements the video generation method of any of the embodiments.

[0021] Other features, aspects and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The preferred embodiments of the present disclosure are described below with reference to the accompanying drawings. The drawings described herein are used to provide a further understanding of the present disclosure. Each of the drawings together with the following detailed description is included in this specification and forms a part of the specification, and is used to explain the present disclosure. It should be understood that the drawings described below only relate to some embodiments of the present disclosure and do not constitute a limitation on the present disclosure. In the drawings: Figure 1 is a flowchart illustrating a video generation method according to some embodiments of the present disclosure; Figure 2 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Figure 3 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Figure 4 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Figure 5 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Figure 6 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Figure 7 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Figure 8 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Fig. 9 is a flowchart illustrating a video generation method according to other embodiments of the present disclosure; Fig. 10A is a schematic diagram of an interface showing video generation according to some embodiments of the present disclosure; Fig. 10Bis a schematic diagram of an interface for illustrating video generation according to other embodiments of the present disclosure; Fig.11 is a block diagram showing a video generating apparatus according to some embodiments of the present disclosure; Fig.12 is a block diagram showing a video generating device according to some other embodiments of the present disclosure; Fig.13 A block diagram of an electronic device according to some embodiments of the present disclosure is shown.

[0023] It should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not necessarily drawn according to the actual proportional relationship. The same or similar reference numerals are used in the various drawings to represent the same or similar parts. Therefore, once an item is defined in one drawing, it may not be further discussed in subsequent drawings. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure, but it is obvious that the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of the embodiments is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. It should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein.

[0025] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be performed in different orders, and / or performed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown in the execution. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values ​​of the parts and steps set forth in these embodiments should be interpreted as being merely exemplary and do not limit the scope of the present disclosure.

[0026] The term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". In addition, the term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". Therefore, include is synonymous with include. The term "based on" means "based at least in part on".

[0027] References throughout this specification to "one embodiment," "some embodiments," or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. For example, the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments." Furthermore, the appearances of the phrases "in one embodiment," "in some embodiments," or "in an embodiment" in various places throughout this specification do not necessarily all refer to the same embodiment, but may do so.

[0028] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. Unless otherwise specified, the concepts of "first", "second", etc. are not intended to imply that the objects described in this way must be in a given order in time, space, ranking, or any other manner.

[0029] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0031] The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined in any suitable manner that will be clear from the present disclosure by a person of ordinary skill in the art.

[0032] In the related art, a video is generated based on text input by a user, and the controllability of the video generation is poor.

[0033] The present disclosure provides a technical solution that can improve the controllability of video generation, improve the usability of generated videos, and enhance user experience.

[0034] Figure 1 is a flowchart illustrating a video generation method according to some embodiments of the present disclosure.

[0035] like Figure 1As shown, the video generation method includes: step S10, receiving input content from a user, wherein the input content includes multiple reference images and sequence information of the multiple reference images; step S20, generating target prompt information with video content logic according to the sequence information and the change process information of objects and scenes in the multiple reference images; and step S30, generating a video including the multiple reference images according to the target prompt information. The video generation method can be performed by an intelligent agent.

[0036] The sequence information of the plurality of reference images, for example, includes position information of the plurality of reference images as image frames in the video to be generated.

[0037] The object in each reference image may be a person or an object, and the scene may be the environment where the object is located. The object change process information describes the change of the object between different reference images (such as adjacent reference images). The scene change information describes the change of the scene between different reference images.

[0038] The video content logic may also be referred to as video story logic, and may include at least one of the story theme, background information, character information, and plot development of the video. The target prompt information with the video content logic may describe the detailed content of the story occurring in the video to be generated.

[0039] In the above embodiment, during the video generation process, multiple reference images input by the user and the sequence information of the multiple reference images are considered, prompt information with video content logic is first generated, and then a video including the multiple reference images input by the user is generated according to the prompt information. During the entire video generation process, the reference image is used as part of the video, and the sequence information is configured by the user, so that the video generation process is more controllable and the generated video is more in line with user expectations, thereby improving the controllability and accuracy of video generation, improving the usability of the generated video, and enhancing the user experience.

[0040] The following will be combined Figures 2 to 9 The video generating method in other embodiments of the present disclosure is described in detail.

[0041] Figure 2 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 2 and Figure 1 The difference is that Figure 2 Steps S21 to S23 in Figure 1 An implementation of step S20 in FIG. Figure 2 and Figure 1 The differences are shown below, and the similarities will not be repeated here.

[0042] like Figure 2As shown, in step S21, objects and scenes in each reference image are identified.

[0043] In step S22, semantic understanding is performed on the multiple reference images according to the sequence information to obtain change process information of the object and change process information of the scene.

[0044] In step S23, target prompt information having video content logic is generated according to the object, the scene and the change process information.

[0045] For example, object recognition can be used to identify objects and scenes in each reference image.

[0046] In this embodiment, the order of multiple reference images reflects to a certain extent the video content logic of the video to be generated, such as the development of the plot. By combining the sequence information of the multiple reference images and performing semantic understanding on the multiple reference images, it is possible to accurately obtain the change process information of the objects and the scene that represent the development of the plot, thereby further guiding the accurate generation of target prompt information with video content logic, thereby further improving the controllability and accuracy of video generation and further enhancing the user experience.

[0047] Figure 3 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 3 and Figure 2 The difference is that Figure 3 Steps S220 to S226 in Figure 2 An implementation of step S22 in FIG. Figure 3 and Figure 2 The differences are shown below, and the similarities will not be repeated here.

[0048] like Figure 3 As shown, in step S220, object features of objects and scene features of scenes in each reference image are extracted.

[0049] In step S222, first difference information between object features of the same object and second difference information between scene features of the same scene in two adjacent reference images are determined according to the sequence information.

[0050] In step S224, the change process information of the object is determined according to the first difference information.

[0051] In step S226, the change process information of the scene is determined according to the second difference information.

[0052] For example, taking a kitten as an example, the change process information of the kitten can be determined by analyzing the differences in the kitten's movements, expressions, etc. in two adjacent reference images.

[0053] For another example, taking a coffee shop as an example, the change process information of the coffee shop can be determined by analyzing the existence or absence of the coffee shop in two adjacent reference images, the perspective and other convenient differences.

[0054] In this embodiment, the difference changes of the same object and the difference changes of the same scene in two adjacent reference images are analyzed based on the sequence information, and then the change process information of the object and scene is determined according to the difference changes. The method is simple and fast, which can improve the efficiency of video generation and enhance the user experience.

[0055] Figure 4 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 4 and Figure 2 The difference is that Figure 4 Steps S221 and S223 in Figure 2 An implementation of step S22 in FIG. Figure 4 and Figure 2 The differences are shown below, and the similarities will not be repeated here.

[0056] like Figure 4 As shown, in step S221, multimodal fusion is performed on the objects and scenes in the multiple reference images, the sequence information and the multiple reference images.

[0057] In step S223, according to the result of the multimodal fusion, the change process information of the object and the change process information of the scene are generated.

[0058] Object, scene and sequence information are text information, and multiple reference images are image information. For example, a machine learning model can be used to achieve multimodal fusion of text information and image information. The result of multimodal fusion can be a multimodal fusion feature at the feature level, such as a feature vector; it can also be text description information used to describe the visual features of objects and scenes in multiple reference images.

[0059] In this embodiment, through multimodal fusion, the changing process of objects and scenes in the generated video caused by multiple reference images can be learned more deeply, so as to more accurately generate the changing process information of objects and scenes, further improve the accuracy of video generation, and further enhance the user experience.

[0060] Figure 5 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 5 and Figure 4 The difference is that Figure 5 Steps S2211 and S2213 in Figure 4 An implementation of step S221 in FIG. Figure 5 and Figure 4 The differences are shown below, and the similarities will not be repeated here.

[0061] like Figure 5 As shown, in step S2211, text features are extracted from the objects and scenes in the multiple reference images and the sequence information.

[0062] In step S2212, visual features are extracted from the multiple reference images.

[0063] In step S2213, the text feature and the visual feature are fused to obtain a fused feature as a result of the multimodal fusion.

[0064] For example, both text features and visual features can be represented by feature vectors.

[0065] In this embodiment, the accuracy of multimodal fusion can be improved by fusion of text features and visual features at the multimodal feature level, thereby further improving the accuracy of video generation and enhancing user experience.

[0066] Figure 6 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 6 and Figure 2 The difference is that Figure 6 Steps S231 to S233 in Figure 2 An implementation of step S23 in the following description will only be described Figure 6 and Figure 2 The differences are shown below, and the similarities will not be repeated here.

[0067] like Figure 6 As shown, in step S231, first picture description information describing a video picture of the object is generated according to the object and the change process information of the object.

[0068] In step S232, second picture description information describing a video picture of the scene is generated according to the scene and the change process information of the scene.

[0069] In step S233, target prompt information having video content logic is generated according to the first picture description information and the second picture description information.

[0070] For example, taking a kitten as an example, the first picture description information may include description information of changes in the kitten's movements, expressions, etc. over time.

[0071] For example, taking the scene of a campus playground as an example, the second picture description information may include description information of changes in size, shape, light and shadow effects, etc. of the campus playground under different viewing angles.

[0072] In this embodiment, first picture description information of the object's video picture and second picture description information of the scene's video picture are generated respectively based on the object's change process information and the scene's change process information, and then target prompt information is generated based on the picture description information. This can improve the accuracy of the target prompt information, thereby improving the accuracy of video generation and enhancing the user experience.

[0073] Figure 7 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 7 and Figure 2 The difference is that Figure 7 Steps S31 to S33 in Figure 2 An implementation of step S30 in FIG. Figure 7 and Figure 2 The differences are shown below, and the similarities will not be repeated here.

[0074] like Figure 7 As shown, in step S31, the duration of the video clip based on the multiple reference images is determined according to the change process information.

[0075] In step S33, a video including the multiple reference images is generated according to the target prompt information and the duration of the video clip.

[0076] For example, when the change process information indicates that the change process is complex, a longer duration may be determined; and when the change process information indicates that the change process is simple, a shorter duration may be determined.

[0077] In this embodiment, the duration of the video segment is determined based on the change process information, and then the video is generated according to the target prompt information and the duration of the video segment, thereby further improving the controllability and accuracy of video generation and enhancing the user experience.

[0078] In some embodiments, the visual effect of a video clip based on the multiple reference images can be determined according to the change process information; and then, a video including the multiple reference images is generated according to the target prompt information, the length of the video clip and the visual effect.

[0079] For example, the visual effect can be the brightness of the color, dynamic effects, switching methods, etc.

[0080] In this embodiment, during the video generation process, the visual effect is determined based on the change process information, which can further improve the controllability and accuracy of the video generation and enhance the user experience.

[0081] Figure 8 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Figure 8 and Figure 2 The difference is that Figure 8 Steps S32 to S36 in Figure 2 An implementation of step S30 in FIG. Figure 8 and Figure 2 The differences are shown below, and the similarities will not be repeated here.

[0082] like Figure 8 As shown, in step S32, the audio effect of the video clip based on the multiple reference images is determined according to the change process information.

[0083] In step S34, audio processing is performed on the at least one reference audio segment according to the audio effect.

[0084] In step S36, a video including the plurality of reference images and at least one reference audio segment after the audio processing is generated according to the target prompt information.

[0085] For example, audio effects can include effects on sound quality, spatial sense, pitch change, etc.

[0086] In this embodiment, the user can input reference audio. During the video generation process, the audio effect is determined based on the change process information to process the reference audio input by the user, so that the generated video is more realistic, which can further improve the controllability, accuracy and usability of video generation and enhance the user experience.

[0087] Fig. 9 It is a flowchart showing a video generation method according to some other embodiments of the present disclosure. Fig. 9 and Figure 2 The difference is that Fig. 9 Steps S32' to S34' in Figure 2 An implementation of step S30 in FIG. Fig. 9 and Figure 2 The differences are shown below, and the similarities will not be repeated here.

[0088] like Fig. 9 As shown, in step S32', at least one reference audio segment is generated according to the sequence information and the plurality of reference images.

[0089] In step S34', a video including the plurality of reference images and the at least one reference audio segment is generated according to the target prompt information.

[0090] In this embodiment, reference audio can be generated based on the sequence information of multiple reference images and multiple reference images. When the user does not provide audio, audio that better meets the user's needs can be generated, and then video can be generated, further improving the accuracy and usability of video generation and improving user experience.

[0091] In some embodiments, the change process information of the object includes action change information and form change information. For example, the action change information may include position change, posture change, gesture change, etc. For example, the form change information may include shape change, size change, color or texture change, etc.

[0092] In some embodiments, the scene change process information includes scene angle change information and switching information between different scenes. The scene angle change information may include, for example, a change in viewing angle height, a change in viewing angle distance, etc. The switching information between different scenes may include, for example, a process of switching from a first scene to a second scene, etc.

[0093] In some embodiments, the plurality of reference images include the first frame image, the last frame image and at least one intermediate frame image between the first frame image and the last frame image of the video to be generated. In this embodiment, through the first frame, the last frame and the intermediate frame, the generated video describes the process of switching from the first frame image to the intermediate frame image and then to the last frame image, making the video generation process more controllable, further improving the controllability and accuracy of video generation, and improving user experience.

[0094] In some embodiments, the user input content may also include initial prompt information input by the user, and the initial prompt information represents the user's demand or expected information for video generation. The initial prompt information may be used to generate target prompt information throughout the entire process of video generation.

[0095] The following will be combined Fig. 10A and Fig. 10B The video generation process in some embodiments of the present disclosure is described.

[0096] Fig. 10A It is a schematic diagram of an interface for video generation according to some embodiments of the present disclosure.

[0097] Fig. 10B It is a schematic diagram of an interface for video generation according to other embodiments of the present disclosure.

[0098] like Fig. 10AAs shown, the user enters the interactive interface for interacting with the intelligent agent, and can perform settings for video generation by operating the controls 10 of the interactive interface, such as inputting multiple reference images, inputting initial prompt information, and inputting audio.

[0099] For example, control 10 is a button labeled "video generation", and the user can call up a menu such as Fig. 10B The video generation panel shown. Fig. 10B The video generation panel shown includes one or more controls, such as control 101, control 102, etc. The one or more controls include controls for users to upload one or more reference images, and may also include controls for users to set some properties of the video to be generated (such as aspect ratio, playback speed, etc.).

[0100] For the sequence information of multiple reference images, the one or more controls can be identified as different frame identifiers, so that the frame position of the reference image in the video to be generated can be defined by uploading the reference image using the control with the corresponding frame identifier. For example, one or more controls include multiple image upload buttons, and these multiple image upload buttons are distinguished by words such as "first frame image" and "last frame image". The frame positions of the reference images corresponding to different image upload buttons in the video to be generated. For another example, the order between multiple reference images can also be determined according to the order of image upload, and the frame position of the reference image in the video to be generated can be set using other controls.

[0101] Taking the image upload button of control 101 for users to upload reference images as an example, the user clicks the image upload button to call up the user's local or cloud album, and the user selects and checks an image in the album as a reference image to upload.

[0102] like Fig. 10A and 10B As shown, the interactive interface also includes controls 20 and 30. For example, control 20 is an input box, and control 30 is a send button. Fig. 10A Enter a message indicating video generation in the input box and click the send button to trigger the agent to call Fig. 10B The video generation panel shown.

[0103] After completing the settings in the video generation panel, users can click Fig. 10B The send button shown triggers the intelligent agent to execute the video generation method in any embodiment of the present disclosure to generate a video.

[0104] For example, taking control 20 as an input box, the user can also enter original prompt information in the input box, and the original prompt information represents the user's demand or expectation for video generation. For example, the original prompt information can be a complete narrative text, including but not limited to information such as characters, scenes, and behaviors.

[0105] The above is a video generation method provided by some embodiments of the present disclosure. Fig.11 The video generating apparatus in some embodiments of the present disclosure is described.

[0106] Fig.11 is a block diagram illustrating a video generating apparatus according to some embodiments of the present disclosure.

[0107] like Fig.11 As shown, the video generating device 11 includes a receiving module 111 , a first generating module 112 and a second generating module 113 .

[0108] The receiving module 111 is configured to receive input content from a user, wherein the input content includes multiple reference images and sequence information of the multiple reference images. The first generating module 112 is configured to generate target prompt information having video content logic according to the sequence information and the change process information of the objects and scenes in the plurality of reference images.

[0109] The second generating module 113 is configured to generate a video including the multiple reference images according to the target prompt information.

[0110] The video generating device 11 can be used to perform Figure 1 In some embodiments, the video generating device 11 may also perform the following steps: Figures 2 to 9 Any of the steps shown.

[0111] It should be noted that the above modules are only logical modules divided according to the specific functions they implement, and are not used to limit the specific implementation methods. For example, they can be implemented in software, hardware, or a combination of software and hardware. In actual implementation, the above modules can be implemented as independent physical entities, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, the above modules are shown with dotted lines in the accompanying drawings to indicate that these modules may not actually exist, and the operations / functions they implement can be implemented by the processing circuit itself.

[0112] Fig.12 is a block diagram showing a video generating apparatus according to some other embodiments of the present disclosure.

[0113] like Fig.12 As shown, the video generating device 12 includes: a memory 121; and a processor 122 coupled to the memory 121, and the processor 122 is configured to execute the video generating method described in any of the above embodiments based on the instructions stored in the memory 121.

[0114] The memory 121 is used to store one or more computer-readable instructions. The memory 121 may include any combination of various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), flash memory. The memory 121 may store, for example, an operating system, an application, a boot loader (BootLoader), a database, and other programs, and may also store various applications and various data.

[0115] The processor 122 is used to run computer-readable instructions to implement the video generation method described in any of the above embodiments. The specific implementation of each step of the video generation method can be found in the above embodiments, and the repeated parts are not repeated here.

[0116] The processor 122 and the memory 121 may communicate with each other directly or indirectly. For example, the processor 122 and the memory 121 may communicate with each other via a network. The network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 122 and the memory 121 may also communicate with each other via a system bus, which is not limited in the present disclosure.

[0117] It should be noted that Fig.12 The components of the video generating device 12 shown are only exemplary and non-limiting. The video generating device 12 may also have other components according to actual application requirements. The processor 122 may control other components in the video generating device 12 to perform desired functions.

[0118] The video generating device may be implemented by software, firmware and / or hardware, and may be integrated into an electronic device installed with relevant application programs.

[0119] The above is a video generating device in some embodiments of the present disclosure.

[0120] Fig.13 A block diagram of an electronic device according to some embodiments of the present disclosure is shown.

[0121] Fig.13 The electronic device 13 shown may be a computer system with a dedicated hardware structure, which can execute corresponding functions when a relevant application program is installed.

[0122] Electronic devices include, but are not limited to, mobile terminals such as smart phones, laptops, personal digital assistants (PDA), tablet personal computers (Tablet PC), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable devices, etc., and fixed terminals such as digital televisions, desktop computers, etc.

[0123] like Fig.13 As shown, the central processing unit (CPU) 131 performs various processes according to the program stored in the read-only memory (ROM) 132 or the program loaded from the storage part 138 to the random access memory (RAM) 133. In the RAM 133, data required when the CPU 131 performs various processes, etc. is stored as needed. The central processing unit is only exemplary, and it can also be other types of processors, such as the various processors described above. The ROM 132, the RAM 133 and the storage part 138 can be various forms of computer-readable storage media. It should be noted that although Fig.13 ROM 132, RAM 133 and storage section 138 are shown separately in FIG. 1 , but one or more of them may be combined or located in the same or different memory or storage modules.

[0124] The CPU 131, the ROM 132, and the RAM 133 are connected to one another via a bus 134. To the bus 134, an input / output interface 135 is also connected.

[0125] The following components are connected to the input / output interface 135: an input portion 136, such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output portion 137, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage portion 138, including a hard disk, a magnetic tape, etc.; and a communication portion 139, including a network interface card such as a LAN card, a modem, etc. The communication portion 139 allows communication processing to be performed via a network such as the Internet. It is easy to understand that although Fig.13 The various devices or modules in the electronic device 13 are shown to communicate via the bus 134, but they may also communicate via a network or other means, wherein the network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.

[0126] A drive 1310 is also connected to the input / output interface 135 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 1310 as needed so that a computer program read therefrom is installed into the storage section 138 as needed.

[0127] When the above-described series of processing is realized by software, a program constituting the software can be installed from a network such as the Internet or a storage medium such as the removable medium 1311 .

[0128] According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which, when running on a computer, enables the computer to implement the video generation method described in any of the aforementioned embodiments. The computer program product includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 139, or installed from the storage part 138, or installed from the ROM 132. When the computer program is executed by the CPU 131, the video generation method of the embodiment of the present disclosure is executed.

[0129] It should be noted that, in the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, apparatus, or device or for use in conjunction with an instruction execution system, apparatus, or device.

[0130] The computer readable medium may be a computer readable storage medium, or a computer readable signal medium, or any combination of the two.

[0131] Computer-readable storage media include, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device. A computer program is stored on a computer-readable storage medium that, when executed by a processor, implements the video generation method described in any of the foregoing embodiments.

[0132] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer readable program codes. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0133] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0134] In some embodiments, a computer program product is further provided. When the computer program product is run on a computer, the computer is enabled to implement the video generation method described in any of the above embodiments.

[0135] In some embodiments, a computer program is further provided, comprising: instructions, which, when executed by a processor, cause the processor to execute the video generation method of any of the above embodiments. For example, the instructions may be embodied as computer program codes.

[0136] In embodiments of the present disclosure, computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In situations involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0137] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0138] The functions described above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0139] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A video generation method, It is characterized in that include: Receiving input content from a user, wherein the input content includes a plurality of reference images and sequence information of the plurality of reference images; Generate target prompt information with video content logic according to the sequence information and the change process information of the objects and scenes in the multiple reference images; A video including the multiple reference images is generated according to the target prompt information.

2. The video generation method according to claim 1, It is characterized in that Generating target prompt information with video content logic according to the sequence information and the change process information of the objects and scenes in the plurality of reference images includes: Identify objects and scenes in each reference image; According to the sequence information, semantic understanding is performed on the multiple reference images to obtain change process information of the object and change process information of the scene; Target prompt information having video content logic is generated according to the object, the scene and the change process information.

3. The video generation method according to claim 2, It is characterized in that According to the sequence information, semantic understanding is performed on the multiple reference images to obtain the change process information of the object and the scene, including: extracting object features of the objects and scene features of the scene in each reference image; Determining, according to the sequence information, first difference information between object features of the same object in two adjacent reference images and second difference information between scene features of the same scene; Determining change process information of the object according to the first difference information; According to the second difference information, change process information of the scene is determined.

4. The video generation method according to claim 2, It is characterized in that According to the sequence information, semantic understanding is performed on the multiple reference images to obtain the change process information of the object and the scene, including: Performing multimodal fusion on the objects and scenes in the multiple reference images, the sequence information, and the multiple reference images; According to the result of the multimodal fusion, the change process information of the object and the change process information of the scene are generated.

5. The video generation method according to claim 4, It is characterized in that Performing multimodal fusion on the objects and scenes in the multiple reference images, the sequence information, and the multiple reference images includes: Extracting text features from the objects and scenes in the plurality of reference images and the sequence information; Extracting visual features from the multiple reference images; The text feature and the visual feature are fused to obtain a fused feature as a result of the multimodal fusion.

6. The video generation method according to claim 2, It is characterized in that Generating target prompt information having video content logic according to the object, the scene and the change process information includes: Generate first picture description information describing a video picture of the object according to the object and the change process information of the object; Generate second picture description information describing a video picture of the scene according to the scene and the change process information of the scene; Target prompt information having video content logic is generated according to the first picture description information and the second picture description information.

7. The video generation method according to claim 2, It is characterized in that Generating a video including the plurality of reference images according to the target prompt information includes: Determining, according to the change process information, the duration of the video clips based on the multiple reference images; A video including the multiple reference images is generated according to the target prompt information and the duration of the video clip.

8. The video generation method according to claim 7, It is characterized in that Generating a video including the plurality of reference images according to the target prompt information and the duration of the video clip includes: Determining, according to the change process information, a visual effect of the video clip based on the plurality of reference images; A video including the multiple reference images is generated according to the target prompt information, the duration of the video clip and the visual effect.

9. The video generation method according to claim 2, It is characterized in that The input content also includes at least one reference audio segment, and generating a video including the plurality of reference images according to the target prompt information includes: Determining, according to the change process information, an audio effect of the video clip based on the plurality of reference images; Performing audio processing on the at least one reference audio segment according to the audio effect; A video including the plurality of reference images and at least one reference audio segment after the audio processing is generated according to the target prompt information.

10. The video generation method according to claim 2, It is characterized in that Generating a video including the plurality of reference images according to the target prompt information includes: Generate at least one reference audio segment according to the sequence information and the plurality of reference images; A video including the plurality of reference images and the at least one reference audio segment is generated according to the target prompt information.

11. The video generation method according to claim 3, It is characterized in that The object's change process information includes action change information and form change information; and / or The scene change process information includes scene angle change information and switching information between different scenes.

12. The video generation method according to claim 1, It is characterized in that The multiple reference images include a first frame image, a last frame image, and at least one intermediate frame image between the first frame image and the last frame image of the video to be generated.

13. A video generating device, It is characterized in that include: A receiving module, configured to receive input content from a user, wherein the input content includes a plurality of reference images and sequence information of the plurality of reference images; A first generating module is configured to generate target prompt information having video content logic according to the sequence information and the change process information of the objects and scenes in the plurality of reference images; The second generating module is configured to generate a video including the multiple reference images according to the target prompt information.

14. A video generating device, It is characterized in that include: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the video generating method according to any one of claims 1 to 12 based on instructions stored in the memory.

15. A computer-readable storage medium, It is characterized in that Computer program instructions are stored thereon, and when the instructions are executed by a processor, the video generation method according to any one of claims 1 to 12 is implemented.

16. A computer program product, It is characterized in that The invention comprises a computer program, which implements the video generation method according to any one of claims 1 to 12 when being executed by a processor.

Citation Information

Patent Citations

  • Video processing method and device, electronic equipment and medium

    CN115022679A

  • Content generation method and device, electronic equipment and storage medium

    CN117520587A

  • Method and device for generating video, equipment and medium

    CN117544833A

  • Video generation method, device and system based on multi-modal input

    CN118646940A

  • Method, device and apparatus for generating special effect video, and storage medium

    WO2023098664A1

Cited By

  • Video generation method and device, equipment and storage medium

    CN119676472A