Visual content generation method and device, medium, electronic equipment and program product
By configuring the layout and description information of elements in the content editing interface generated by visual content, the problem of insufficient controllability when generating visual content through generative artificial intelligence is solved, and higher quality visual content generation is achieved.
Patent Information
- Application Number
- CN202411886964.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, when generative artificial intelligence is used to generate visual content, it lacks high controllability, resulting in low quality of generated visual content and is difficult to match user expectations.
By configuring the element layout information and description information of the visual content in the content editing interface, the target visual content is generated to ensure that the position and description of the elements in the generated content match the configuration information.
It improves the controllability of visual content generation, and thus improves the quality of generated content, making it more in line with user expectations.
Smart Images

Figure CN119722844A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular, to a visual content generation method, device, medium, electronic device and program product. Background Art
[0002] Generative Artificial Intelligence (GAI) is a branch of artificial intelligence technology that can generate text, pictures, sounds, videos, codes, and other content based on algorithms, models, and rules.
[0003] The generation of content requires users to provide prompt words, and based on the prompt words, visual content related to the prompt words, such as images or videos, is generated. However, in the related art, the controllability of the generated visual content is not high, resulting in low quality of the generated visual content, which does not meet user expectations. 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] In a first aspect, the present disclosure provides a method for generating visual content, comprising: Display the first content editing interface; In response to a configuration operation for the visual content to be generated in the first content editing interface, determining configuration information, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, the layout information being used to describe a target position of the element in the visual content to be generated; In response to a first generation operation, target visual content is generated and displayed, wherein the target visual content is generated based on the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
[0006] In a second aspect, the present disclosure provides a visual content generation device, comprising: A first display module, used to display a first content editing interface; a first determining module, configured to determine configuration information in response to a configuration operation for the visual content to be generated in the first content editing interface, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, wherein the layout information is used to describe a target position of the element in the visual content to be generated; A second display module is used to generate and display target visual content in response to the first generation operation, wherein the target visual content is generated based on the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
[0007] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the steps of the method described in the first aspect when the computer program is executed by a processing device.
[0008] In a fourth aspect, the present disclosure provides an electronic device, including: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of any one of the methods in the first aspect.
[0009] In a fifth aspect, the present disclosure provides a computer program product, comprising a computer program, which implements the steps of the method described in the first aspect when executed by a processor.
[0010] Through the above scheme, in response to the configuration operation for the visual content to be generated in the first content editing interface, the layout information of at least one element in the visual content to be generated and the first description information of the element are determined, and the layout information of the element is used to describe the target position of the element in the visual content to be generated; in response to the first generation operation, the target visual content is generated and displayed, and the target visual content is generated according to the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position, that is, different elements can be described by region, thereby improving the controllability of the visual content corresponding to each element in the target visual content, and then improving the controllability of the target visual content, thereby improving the quality of the target visual content.
[0011] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent 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. In the drawings: Figure 1 The figure is a flowchart of a method for generating visual content according to an exemplary embodiment of the present disclosure.
[0013] Figure 2 This is an interface diagram of a first content editing interface according to an embodiment of the present disclosure.
[0014] Figure 3a This is another interface diagram of a first content editing interface shown according to an embodiment of the present disclosure.
[0015] Figure 3b This is another interface diagram of a first content editing interface shown according to an embodiment of the present disclosure.
[0016] Figure 4 This is another interface diagram of a first content editing interface shown according to an embodiment of the present disclosure.
[0017] Figure 5 This is a schematic diagram showing a first content editing interface scrolling and displaying a first prompt word according to an embodiment of the present disclosure.
[0018] Figure 6 It is a schematic diagram of a process of generating a video based on an image according to an embodiment of the present disclosure.
[0019] Figure 7 This is an interface diagram of a second content editing interface according to an embodiment of the present disclosure.
[0020] Figure 8 This is an interface diagram of a second content editing interface according to an embodiment of the present disclosure.
[0021] Fig. 9 It is a schematic diagram showing the relative relationship between a three-dimensional stereo model and basic visual content according to an embodiment of the present disclosure.
[0022] Fig.10 It is a schematic diagram of a process of determining a camera movement path for a storyboard to be generated through a selected second interactive control according to an embodiment of the present disclosure.
[0023] Fig.11 This is another interface diagram of a second content editing interface according to an embodiment of the present disclosure.
[0024] Fig.12 This is an interface diagram of an electronic device according to an embodiment of the present disclosure.
[0025] Fig.13 A visual content generating device is shown according to an embodiment of the present disclosure.
[0026] Fig.14 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, 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 described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part 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". The relevant definitions of other terms will be given in the following description.
[0030] It should be noted that the concepts such as "first" and "second" 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.
[0031] 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".
[0032] 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.
[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0037] At the same time, it is understandable 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 relevant provisions.
[0038] In related image generation technologies, corresponding visual content is generated through a global description of the image, which results in low controllability of the elements of the generated visual content, and further results in low quality of the generated visual content, which does not meet user expectations.
[0039] In addition, during the video generation process, videos with camera movement effects are randomly generated based on images. This method will also result in low controllability of the video, making it difficult to achieve the effect expected by the user.
[0040] In view of this, embodiments of the present disclosure provide a visual content generation method, device, medium, electronic device, and program product.
[0041] The embodiments of the present disclosure are further explained and illustrated below in conjunction with the accompanying drawings.
[0042] Figure 1 1 is a flowchart of a method for generating visual content according to an exemplary embodiment of the present disclosure. The method for generating visual content can be applied to an electronic device, and the method for generating visual content can be executed by an interactive device, wherein the visual content generating device can be implemented by software and / or hardware, and the software and / or hardware can be configured in the electronic device. Figure 1 , the visual content generation method may include the following steps: Step 110, displaying a first content editing interface; Step 120, in response to a configuration operation for the visual content to be generated in the first content editing interface, determining configuration information, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, the layout information being used to describe a target position of the element in the visual content to be generated; Step 130, in response to the first generation operation, generates and displays target visual content, wherein the target visual content is generated according to the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
[0043] Through the above scheme, in response to the configuration operation for the visual content to be generated in the first content editing interface, the layout information of at least one element in the visual content to be generated and the first description information of the element are determined, and the layout information of the element is used to describe the target position of the element in the visual content to be generated; in response to the first generation operation, the target visual content is generated and displayed, and the target visual content is generated according to the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position, that is, different elements can be described by region, thereby improving the controllability of the visual content corresponding to each element in the target visual content, and then improving the controllability of the target visual content, thereby improving the quality of the target visual content.
[0044] In the present disclosure, the elements may be buildings, people, animals, or landscapes, etc., which will not be described in detail in this embodiment.
[0045] In the present disclosure, basic configuration information of the visual content to be generated can be pre-configured, where the basic configuration information can be size information, style information, tone information, etc. The configuration of the layout information of the element is implemented based on the configured size information. The style information describes the style of the target visual content, such as realistic style and animation style, etc.
[0046] In the present disclosure, the first description information is used to describe the element. For example, when the element is a person, the first description information may describe the person's appearance and form, etc. When generating visual content corresponding to the element, visual content that matches the description of the person's appearance and form is generated.
[0047] The first content editing interface may provide a canvas for configuring the configuration information, and in the canvas, the layout information and the first description information of the corresponding element are displayed in real time according to the configuration operation performed by the user. Figure 2 is an interface diagram of a first content editing interface according to an embodiment of the present disclosure. Figure 2In the canvas, users can use the mouse to draw the target position of the element in the canvas. The target position can be understood as the area occupied in the size corresponding to the visual content to be generated. Figure 2 , users can draw Figure 2 The layout information of the element can be configured by adjusting the size of the dotted box and dragging the dotted box to its position.
[0048] Continue to refer to Figure 2 , you can respond to clicking Figure 2 The control "canvas" shown displays the first content editing interface.
[0049] Continue to refer to Figure 2 , you can respond to clicking Figure 2 The control shown is "Send" to trigger the first generate operation.
[0050] In a possible manner, the elements of the visual content to be generated may include multiple elements. In this case, the above-mentioned visual content generation method may also include the following steps: in response to the hierarchical adjustment operation on the target element, determine the target hierarchical relationship, wherein the target hierarchical relationship is used to describe the hierarchical relationship of the visual content corresponding to the multiple elements in the target visual content, and the depth of field of the visual content at different levels is different.
[0051] The depth of field refers to the distance range of an object in which a clear image can be obtained on a camera lens or other imager. By controlling the depth of field of an element, the element can be made to appear clear or blurred. When there are multiple elements in the target visual content, the depth of field of different elements can be controlled to highlight one or more important elements. In this embodiment, the higher the level of the element, the clearer the image.
[0052] The target element is the currently selected element whose level needs to be adjusted.
[0053] As an example, the above-mentioned step of determining the target hierarchical relationship in response to the hierarchical adjustment operation on the target element can be implemented in the following way: in response to the dragging operation on the first interactive control corresponding to the first target element among multiple elements, determining the arrangement order of the first interactive controls corresponding to all elements according to the position where the dragging operation is stopped; determining the target hierarchical relationship according to the arrangement order of all the first interactive controls.
[0054] In this embodiment, the target element is the first target element.
[0055] Figure 3a This is another interface diagram of a first content editing interface shown according to an embodiment of the present disclosure. Figure 3b FIG. 1 is another interface diagram of a first content editing interface according to an embodiment of the present disclosure. Figure 3a and Figure 3b , can illustrate the process of determining the target hierarchical relationship. Figure 3a In FIG. 1 , a drag operation on a first interactive control corresponding to a first target element is illustrated. Figure 3b In the figure, it indicates the position where the dragging operation stops. After the level adjustment operation, Figure 3a The first first interactive control and the second first interactive control from left to right swap their positions, thus changing the arrangement order between the elements.
[0056] As another example, a hierarchy control is displayed in the first content editing interface, and the hierarchy control is used to adjust the hierarchy. The above-mentioned step of determining the target hierarchy relationship in response to the hierarchy adjustment operation on the target element can be implemented in the following way: in response to a trigger operation on a second target element among multiple elements triggered by the hierarchy control, the target hierarchy relationship is determined according to the target hierarchy relationship before the trigger operation is performed and the hierarchy of the second target element after the trigger operation is performed.
[0057] In this embodiment, the target element is the second target element.
[0058] In this embodiment, the trigger operation triggered by the level control is used to increase the level or decrease the level. Figure 4 FIG. 1 is another interface diagram of a first content editing interface according to an embodiment of the present disclosure. Figure 4 , by clicking the level control for raising the level, a trigger operation for raising the level is triggered.
[0059] In this embodiment, the first content editing interface may also support undoing a triggering operation of adjusting the level triggered by the level control.
[0060] In this embodiment, the target hierarchical relationship is updated according to the target hierarchical relationship before the trigger operation is performed and the level of the second target element after the trigger operation is performed, so as to obtain a new target hierarchical relationship after the trigger operation is performed.
[0061] Through the above method, users are supported to configure the hierarchical relationship between elements to change the depth of field of the visual content corresponding to the element in the target visual content, improve the controllability of the target visual content, and thus meet the user's personalized content generation needs.
[0062] In a possible manner, the layout information may be configured and displayed through the canvas of the first content editing interface, and further, different elements may have different display styles, and different display styles are used to distinguish different elements and target hierarchical relationships.
[0063] The display style may include display color and display brightness.
[0064] Furthermore, different colors can be used to distinguish different elements. Figure 3a , different colors can be used to indicate the areas where different elements are located and the first interactive controls corresponding to the different elements.
[0065] Furthermore, the hierarchical relationship between different elements can be distinguished by the brightness and transparency of different colors. For example, the higher the level, the higher the brightness.
[0066] In the above manner, different display styles are used to distinguish different elements and the target hierarchical relationships between different elements, so that users can intuitively understand the configuration of each element in a visual way.
[0067] In a possible manner, after the hierarchical adjustment operation is performed, the visual content representing the hierarchical relationship of the elements in the first content editing interface is synchronously updated.
[0068] In a possible manner, the first content editing interface also displays a first prompt word, and the first prompt word is related to the pre-configuration information. The above-mentioned step of determining the configuration information in response to the configuration operation for the visual content to be generated in the first content editing interface may include: in response to the selection operation of the target first prompt word for the element in the visual content to be generated in the first content editing interface, displaying the target first prompt word in the first input control of the first content editing interface, wherein the content in the first input control is the first description information of the element.
[0069] The user can first select the element that needs to configure the first description information, and then Figure 3a In the example shown, the first interactive control corresponding to the element can be clicked to display the first prompt word related to the element. Then, the first description information is configured for the element by selecting the target first prompt word of the element in the visual content to be generated.
[0070] The first prompt word of each element is related to the preconfiguration information. As an example, the preconfiguration information may include at least one of the theme information, the scene information, and the subject information of the element. The theme information refers to the core concept or story that the image wants to convey, the scene information refers to the background and environment setting of the image, and the subject information refers to the main object or focus in the image.
[0071] The target first prompt word can be understood as the first prompt word selected by the selection operation, and the first content editing interface can provide a description area, which can be used to display the first prompt word. The description area can also include a first input control for displaying or editing the configured first description information. Figure 2In the example shown, the user clicks on the "first prompt word 2" that he wants to select to trigger the selection operation, and then the "first prompt word 2" is displayed in the first input control of the first content editing interface.
[0072] Through the above method, based on the pre-configuration information, a first prompt word that is highly associated with the pre-configuration information is automatically provided, and the user can configure the first description information of the element by clicking the first prompt word, without the user having a high ability to construct prompt words; by automatically providing a first prompt word that is highly associated with the pre-configuration information for the user to choose, the configuration of the first description information of the element can be efficiently completed, and then the generation of visual content can be efficiently completed.
[0073] In a possible manner, the first prompt word is scrollingly displayed in the first content editing interface. Figure 5 is a schematic diagram showing a first content editing interface scrolling and displaying a first prompt word according to an embodiment of the present disclosure, with reference to Figure 5 , the first prompt word can be displayed above the first input control, and Figure 5 In the embodiment, as time changes, the position of each first prompt word displayed in the first content editing interface changes. Further, the first prompt word displayed in the first content editing interface can change, that is, the first prompt word displayed in different time periods can be different.
[0074] In a possible manner, the first prompt word is displayed statically in the first content editing interface. That is, the first prompt word is displayed at a fixed position. Figure 3b In the example shown, the first prompt word can be displayed superimposed on the first input control, and the first prompt word is displayed at a fixed position in the first content editing interface; further, the first prompt word can be dynamically changed. Figure 3b middle, Figure 3b The prompt word at the position where the prompt word 1 is shown in FIG. 1 can be changed dynamically, for example, the prompt word 1 is changed to another prompt word.
[0075] In a possible manner, the first prompt word may be dynamically changed, thereby providing the user with more first prompt words to choose from.
[0076] In a possible manner, in addition to editing the content in the first input control by selecting the target first prompt word, the first input control may support text editing, that is, support the user to edit the content in the first input control by text editing.
[0077] From the above content, it can be seen that different elements in the same target visual content can be described in partitions. After obtaining the configuration information of each element, the first description information of each area can be integrated when generating the target visual content, and the corresponding target visual content can be generated according to the pre-configured size information.
[0078] In a possible manner, the first content editing interface can also display all generated target visual contents, and continue to refer to Figure 2 , Figure 2 The left area in shows the generated target visual content.
[0079] In the scenario of the text map, the target visual content may be an image, and further, a video may be generated based on the image. The following is an exemplary description of generating a video based on an image.
[0080] first, Figure 6 FIG. 1 is a schematic diagram of a process of generating a video based on an image according to an embodiment of the present disclosure. Figure 6 In the method, a single shot can be generated based on the image, namely the target shot mentioned below; on this basis, a long shot video can be further generated based on multiple target shots, namely the target video mentioned below.
[0081] Continue to refer to Figure 6 First, configure basic configuration information, such as the size information and style information mentioned above. Then, the user chooses whether to perform hierarchical control. It should be noted that hierarchical control is the above-mentioned regional description. When the user selects hierarchical control, the first text-generated image mode is used to configure the information used to generate the target visual content. The first text-generated image mode here can be understood as a hierarchical control mode, that is, using the above-mentioned Figure 1 Steps 110 and 120 shown configure the configuration information of the visual content to be generated; when the user selects non-hierarchical control, the second text-generated image mode is used to configure the information for generating the target visual content. The second text-generated image mode here can be understood as a global control mode, that is, the first description information of each element is not configured separately, but the entire image is described. Finally, the target visual content is generated based on the configured information.
[0082] After generating the target visual content representing the image, a single shot, i.e., a target storyboard, can be further generated. Therefore, the above-mentioned visual content generation method can also include the following steps: displaying a second content editing interface, the second content editing interface displays the target visual content; in response to a selection operation on the displayed target visual content, determining the basic visual content of the storyboard to be generated; in response to a configuration operation on the basic visual content, determining the camera movement path of the storyboard to be generated; in response to a second generation operation, playing the target storyboard in the second content editing interface, wherein the target storyboard is generated based on the camera movement path and the basic visual content.
[0083] Among them, continue to refer to Figure 2 , you can respond to clicking Figure 2 The control "Lens Path" shown displays the second content editing interface.
[0084] The camera movement path is used to describe the movement trajectory of the lens in the target storyboard. In this embodiment, the camera movement path can be configured based on a preset camera movement path, a text description, and a custom path. The three methods for configuring the camera movement path of the storyboard to be generated can refer to the following related embodiments, which will not be described in detail in this embodiment.
[0085] Figure 7 is an interface diagram of a second content editing interface according to an embodiment of the present disclosure. Figure 7 The control "Run" operation shown is used to trigger the second generation operation, thereby dynamically playing the target storyboard in the preview interface in the second content editing interface.
[0086] Through the above method, users are supported to configure the camera movement path, thereby improving the controllability of the target storyboard and further improving the quality of the target storyboard.
[0087] As can be seen from the above content, the configuration method of the camera movement path can be a method of configuring using a custom path. In this case, the above step of determining the camera movement path of the to-be-generated storyboard in response to the configuration operation for the basic visual content can include: in response to the triggering operation of the camera movement path configuration using the first path configuration method for the basic visual content, displaying the three-dimensional stereo model; in response to the selection operation of the second interactive control in the three-dimensional stereo model, connecting the selected second interactive control with a line; and determining the camera movement path of the to-be-generated storyboard according to the connection result of the second interactive control.
[0088] The first path configuration method is to use a custom path for configuration.
[0089] Among them, the three-dimensional stereoscopic model is composed of multiple second interactive controls distributed in an array, the size of the cross-section of the three-dimensional stereoscopic model is used to simulate the size of the picture of the basic visual content, and the cross-section is composed of multiple second interactive controls on the same plane, where the plane may refer to a plane in the vertical direction; the arrangement order of the cross-sections is used to simulate the playback order of different image frames in the storyboard to be generated, and different second interactive controls on the cross-sections are used to simulate different positions in the basic visual content.
[0090] Continue to refer to Figure 6 , when the user clicks Figure 6When the “custom path” shown is selected, the user has executed a trigger operation to configure the camera path using the first path configuration method, and then the three-dimensional model is displayed. Figure 8 FIG. 1 is an interface diagram of a second content editing interface according to an embodiment of the present disclosure. Figure 8 In other embodiments, the basic visual content can be displayed in a superimposed manner in the three-dimensional model, for example Fig. 9 The three-dimensional model shown.
[0091] Fig.10 1 is a schematic diagram of a process of determining a mirror movement path of a to-be-generated storyboard through a selected second interactive control according to an embodiment of the present disclosure. First, Fig.10 The figure shows three consecutive slices in a three-dimensional model. From left to right, they are the first slice, the second slice, and the third slice. The user selects a second interactive control in the first slice; then, the user selects a second interactive control in the second slice. At this time, a line is used to connect the selected second interactive controls in the first slice and the second slice, forming the following figure: Fig.10 Finally, the user further selects a second interactive control in the third section. Further, based on the camera movement path 1, a line is extended to connect the second interactive control selected in the third section to form the following: Fig.10 The camera path 2 shown. In addition, it is worth noting that Fig. 9 The display style of the camera movement path shown in the example does not constitute a limitation of this solution.
[0092] It is understandable that the user can modify the selected second interactive control by canceling the selection operation of the second interactive control, thereby modifying the connection result of the second interactive control and thus modifying the camera movement path. Further, canceling the selection operation of the second interactive control and selecting the second interactive control can both be achieved by single-clicking.
[0093] As can be seen from the above content, the configuration method of the camera movement path can be a configuration method based on a preset camera movement path. In this case, the above step of determining the camera movement path of the to-be-generated storyboard in response to the configuration operation for the basic visual content may include: in response to the triggering operation of the camera movement path configuration using the second path configuration method for the basic visual content, displaying at least one preset camera movement path; in response to the selection operation of the target preset camera movement path in at least one preset camera movement path, determining the camera movement path of the to-be-generated storyboard.
[0094] It is worth noting that the second path configuration method is a configuration method based on a preset camera movement path.
[0095] Continue to refer to Figure 8 , when the user clicks Figure 8 When the "smart path" shown in FIG. 1 is selected, that is, the user has executed a trigger operation for configuring the camera movement path using the second path configuration method, and then at least one preset camera movement path is displayed. Figure 7 , Figure 7 Different preset camera movement paths are shown in FIG. The user can trigger the selection operation of the target preset camera movement path by clicking.
[0096] In this embodiment, the user can Figure 6 The control "Custom Path" displayed in parallel with the preset camera path triggers the operation of configuring the camera path using the first path configuration method.
[0097] It can be seen from the above content that the configuration method of the camera movement path can be a configuration method based on text description. In this case, the above step of determining the camera movement path of the to-be-generated storyboard in response to the configuration operation for the basic visual content may include: in response to the triggering operation of the camera movement path configuration using the third path configuration method for the basic visual content, displaying the second input control, wherein the second content editing interface provides a second prompt word, and the second prompt word is used to describe the path; in response to the selection operation of the target second prompt word in the second prompt word, displaying the target second prompt word in the second input control; and determining the camera movement path of the to-be-generated storyboard according to the content in the second input control.
[0098] It is worth noting that the third path configuration method is a configuration method based on text description.
[0099] Continue to refer to Figure 8 , when the user clicks Figure 8 When the control "path description" shown is clicked, the user executes the trigger operation of configuring the camera movement path using the third path configuration method.
[0100] Fig.11 1 is another interface diagram of a second content editing interface according to an embodiment of the present disclosure. The interface diagram is used to support the configuration of the camera movement path using the third path configuration method. Fig.11 In the example, "main body does not move", "straight shot" and "upward shot" are all second prompt words. In addition to editing the content in the second input control by selecting the target second prompt word, the second input control can support text editing, that is, support users to edit the content in the second input control by text editing.
[0101] In this embodiment, the second prompt word is a prompt word related to the main body of the element, and the user can edit the main body online; in addition, the second prompt word can also be a prompt word related to the lens path preferred by the user when making videos in the past, which is not limited in this embodiment.
[0102] Through the above method, multiple configuration methods for users to configure the lens movement path are provided to meet the needs of different users. In addition, the method of configuring the lens movement path with a custom path is highly practical and can meet the lens movement requirements of users with professional shooting capabilities.
[0103] After obtaining different target mirrors, long-shot videos can be generated based on different target mirrors, i.e., the target videos in this embodiment. In this case, the above-mentioned visual content generation method can also include the following steps: in response to the triggered splicing operation, a third content editing interface is displayed, and the video frames and the target mirror movement path are displayed in the third content editing interface in the order of playback, the video frames include the video frames corresponding to the target mirrors and the video frames corresponding to the transition shots between the two target mirrors, and the target mirror movement path is obtained by splicing the mirror movement paths corresponding to all the target mirrors involved in the splicing; in response to the adjustment operation on the target mirror movement path, the target mirror movement path is updated in the third content editing interface; in response to the third generation operation, the target video is generated and displayed, wherein the target video is generated according to the video frames corresponding to the target mirrors, the video frames corresponding to the transition shots, and the target mirror movement path currently displayed in the third content editing interface.
[0104] Continue to refer to Fig.11 , you can trigger the stitching operation by clicking "Full Path Overview", and further stitching based on all the target storyboards currently displayed.
[0105] Among them, the transition shot is a dynamically generated video frame used to connect two target storyboards, so that the last video frame of the previous target storyboard of the two connected target storyboards can smoothly transition to the first video frame of the next target storyboard.
[0106] Fig.12 FIG. 1 is an interface diagram of an electronic device according to an embodiment of the present disclosure, in which a third display interface is illustrated. Fig.12 , a plurality of video frames are illustrated in the third display interface, and the filled video frames may be video frames corresponding to transition shots, and the unfilled video frames may be video frames corresponding to target storyboards.
[0107] The target camera movement path can be adjusted by dragging or pulling the line of the target camera movement path.
[0108] Among them, the third generation operation can be Fig.12 The displayed control "Run" is triggered, and after the third generation operation is triggered, the third display interface can dynamically display the preview effect of the target video.
[0109] Through the above method, it is supported to adjust the global camera movement path in a visual way, further improve the controllability of the target video, and provide a basis for generating high-quality target video.
[0110] In a possible manner, when displaying the target camera movement path in the third content editing interface, the above-mentioned visual content generation method may also include: displaying a fourth content editing interface, wherein the fourth content editing interface is used to display the target camera movement path carrying time information; further, the above-mentioned visual content generation method also includes: in response to an adjustment operation on the target camera movement path, updating the target camera movement path in the fourth content editing interface.
[0111] Continue to refer to Fig.12 In the fourth content editing interface, a target camera movement path carrying time information is displayed.
[0112] It is worth noting that the target camera path displayed in the fourth content editing interface can also support editing, that is, the target camera path can be adjusted by dragging or pulling the line showing the target camera path in the fourth content editing interface. Similarly, when adjusting the target camera path in the fourth content editing interface, the target camera path in the third content editing interface needs to be updated synchronously.
[0113] Through the above method, a target camera movement path carrying time information is added, so as to display the target camera movement path to the user from a time perspective.
[0114] In a possible manner, the above-mentioned visual content generation method may also include: when displaying the target camera movement path, highlighting the nodes in the target camera movement path, wherein the position of the node in the first video frame is used to describe the landing point where the lens enters the first video frame from the second video frame, and the first video frame is the next video frame of the second video frame.
[0115] Continue to refer to Fig.12 , when displaying the target camera path, multiple nodes are highlighted.
[0116] Through the above method, the target camera movement path is displayed while the landing point of the lens is displayed to improve the diversity of the displayed information when generating the target video.
[0117] Fig.13 is a visual content generation device according to an embodiment of the present disclosure, referring to Fig.13 , the visual content generating device 1300 may include: The first display module 1301 is used to display a first content editing interface; A first determining module 1302, configured to determine configuration information in response to a configuration operation on the visual content to be generated in the first content editing interface, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, wherein the layout information is used to describe a target position of the element in the visual content to be generated; The second display module 1303 is used to generate and display target visual content in response to the first generation operation, wherein the target visual content is generated based on the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
[0118] Optionally, the element includes a plurality of elements, and the visual content generating device 1300 further includes: The second determination module is used to determine a target hierarchical relationship in response to a hierarchical adjustment operation on a target element, wherein the target hierarchical relationship is used to describe the hierarchical relationship of visual contents corresponding to a plurality of the elements in the target visual content, and the depth of field of visual contents at different levels is different.
[0119] Optionally, the second determining module is further used for: In response to a drag operation on a first interactive control corresponding to a first target element among the multiple elements, determining an arrangement order of the first interactive controls corresponding to all the elements according to a position where the drag operation is stopped; The target hierarchical relationship is determined according to the arrangement order of all the first interactive controls.
[0120] Optionally, a level control is displayed in the first content editing interface, and the level control is used to adjust the level, and the second determining module is further used to: In response to a trigger operation triggered by the hierarchical control on a second target element among the multiple elements, a target hierarchical relationship is determined according to the target hierarchical relationship before executing the trigger operation and the hierarchy of the second target element after executing the trigger operation.
[0121] Optionally, different elements have different display styles, and the different display styles are used to distinguish different elements and the target hierarchical relationships.
[0122] Optionally, the first content editing interface displays a first prompt word, the first prompt word is related to preconfigured information, and the first determining module 1302 is further configured to: In response to a selection operation of a target first prompt word for an element in the visual content to be generated in the first content editing interface, the target first prompt word is displayed in a first input control of the first content editing interface, wherein the content in the first input control is a first description information of the element.
[0123] Optionally, the first prompt word is displayed in a scrolling manner in the first content editing interface, or the first prompt word is displayed statically in the first content editing interface.
[0124] Optionally, the target visual content is an image, and the visual content generating device 1300 further includes: A third display module, used to display a second content editing interface, where the second content editing interface displays the target visual content; A third determination module, configured to determine basic visual content to be generated for a storyboard in response to a selection operation on the displayed target visual content; A fourth determination module, configured to determine a mirror movement path of the to-be-generated storyboard in response to a configuration operation on the basic visual content; A fourth display module is used to play a target storyboard in the second content editing interface in response to a second generation operation, wherein the target storyboard is generated based on the camera movement path and the basic visual content.
[0125] Optionally, the fourth determining module is further used for: In response to a triggering operation of configuring a camera movement path using a first path configuration method for the basic visual content, a three-dimensional stereoscopic model is displayed, wherein the three-dimensional stereoscopic model is composed of a plurality of second interactive controls distributed in an array, a size of a section of the three-dimensional stereoscopic model is used to simulate a screen size of the basic visual content, the section is composed of a plurality of second interactive controls on the same plane, an arrangement order of the section is used to simulate a playback order of different image frames in the storyboard to be generated, and different second interactive controls on the section are used to simulate different positions in the basic visual content; In response to a selection operation on the second interactive control in the three-dimensional model, connecting the selected second interactive controls with a line; According to the connection result of the second interactive control, the camera movement path of the storyboard to be generated is determined.
[0126] Optionally, the fourth determining module is further used for: In response to a triggering operation of performing camera movement path configuration in a second path configuration manner for the basic visual content, at least one preset camera movement path is displayed; In response to a selection operation on a target preset camera movement path among the at least one preset camera movement path, a camera movement path for the to-be-generated shot is determined.
[0127] Optionally, the fourth determining module is further used for: In response to a triggering operation of configuring a camera movement path using a third path configuration method for the basic visual content, a second input control is displayed, wherein a second prompt word is provided in the second content editing interface, and the second prompt word is used to describe the path; In response to a selection operation on a target second prompt word in the second prompt words, displaying the target second prompt word in the second input control; According to the content in the second input control, the camera movement path of the storyboard to be generated is determined.
[0128] Optionally, the visual content generating device 1300 further includes: A fifth display module is used to display a third content editing interface in response to a triggered stitching operation, wherein the third content editing interface displays video frames and target camera movement paths in a playback order, wherein the video frames include video frames corresponding to the target shots and video frames corresponding to transition shots between two target shots, and the target camera movement path is obtained by stitching the camera movement paths corresponding to all the target shots participating in the stitching; A first updating module, configured to update the target camera movement path in the third content editing interface in response to an adjustment operation on the target camera movement path; The sixth display module is used to generate and display a target video in response to the third generation operation, wherein the target video is generated based on the video frames corresponding to the target storyboard, the video frames corresponding to the transition shots, and the target camera movement path currently displayed in the third content editing interface.
[0129] Optionally, the visual content generating device 1300 further includes: a seventh display module, configured to display a fourth content editing interface when the target camera movement path is displayed on the third content editing interface, wherein the fourth content editing interface is configured to display the target camera movement path carrying time information; The visual content generating device 1300 further includes: The second updating module is used to update the target camera movement path in the fourth content editing interface in response to an adjustment operation on the target camera movement path.
[0130] Optionally, the visual content generating device 1300 further includes: An eighth display module is used to highlight the nodes in the target camera movement path when displaying the target camera movement path, wherein the position of the node in the first video frame is used to describe the landing point where the lens enters the first video frame from the second video frame, and the first video frame is the next video frame of the second video frame.
[0131] The implementation of each module in the visual content generating device 1300 may refer to the above-mentioned related embodiments, and this embodiment will not be described in detail here.
[0132] Based on the same inventive concept, an embodiment of the present disclosure further provides a computer-readable medium on which a computer program is stored. When the computer program is executed by a processing device, the steps of the above-mentioned visual content generation method are implemented.
[0133] Based on the same inventive concept, an embodiment of the present disclosure further provides a computer program product, including a computer program, which implements the steps of the above-mentioned visual content generation method when executed by a processor.
[0134] Based on the same inventive concept, the present disclosure also provides an electronic device, including: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of the above-mentioned visual content generation method.
[0135] Reference below Fig.14 , which shows a schematic diagram of the structure of an electronic device 1400 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.14 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0136] like Fig.14As shown, the electronic device 1400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1402 or a program loaded from a storage device 1408 to a random access memory (RAM) 1403. In the RAM 1403, various programs and data required for the operation of the electronic device 1400 are also stored. The processing device 1401, the ROM 1402, and the RAM 1403 are connected to each other via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.
[0137] Typically, the following devices may be connected to the I / O interface 1405: an input device 1406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1409. The communication device 1409 may allow the electronic device 1400 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.14 The electronic device 1400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0138] In particular, 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, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory 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 device 1409, or installed from the storage device 1408, or installed from the ROM 1402. When the computer program is executed by the processing device 1401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0139] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0140] In some embodiments, the electronic devices may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0141] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0142] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a first content editing interface; determines configuration information in response to a configuration operation for visual content to be generated in the first content editing interface, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, and the layout information is used to describe the target position of the element in the visual content to be generated; generates and displays target visual content in response to a first generation operation, wherein the target visual content is generated according to the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
[0143] Computer program code for performing the operations of the present disclosure may 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, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through 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., through the Internet using an Internet service provider).
[0144] 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.
[0145] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, limit the module itself.
[0146] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of 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.
[0147] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0148] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0149] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0150] Although the subject matter has been described in language specific to structural features and / or method logic actions, 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. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. A method for generating visual content, characterized in that: include: Display the first content editing interface; In response to a configuration operation for the visual content to be generated in the first content editing interface, determining configuration information, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, the layout information being used to describe a target position of the element in the visual content to be generated; In response to a first generation operation, target visual content is generated and displayed, wherein the target visual content is generated based on the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
2. The method according to claim 1, characterized in that The element comprises a plurality of elements, and the method further comprises: In response to a hierarchical adjustment operation on a target element, a target hierarchical relationship is determined, wherein the target hierarchical relationship is used to describe the hierarchical relationship of visual contents corresponding to the multiple elements in the target visual content, and the depth of field of visual contents at different levels is different.
3. The method according to claim 2, characterized in that The step of determining a target hierarchical relationship in response to a hierarchical adjustment operation on a target element includes: In response to a drag operation on a first interactive control corresponding to a first target element among the multiple elements, determining an arrangement order of the first interactive controls corresponding to all the elements according to a position where the drag operation is stopped; The target hierarchical relationship is determined according to the arrangement order of all the first interactive controls.
4. The method according to claim 2, characterized in that: The first content editing interface displays a hierarchy control, the hierarchy control is used to adjust the hierarchy, and the determining the target hierarchy relationship in response to the hierarchy adjustment operation on the target element includes: In response to a trigger operation triggered by the hierarchical control on a second target element among the multiple elements, a target hierarchical relationship is determined according to the target hierarchical relationship before executing the trigger operation and the hierarchy of the second target element after executing the trigger operation.
5. The method according to claim 2, characterized in that: Different elements have different display styles, and the different display styles are used to distinguish different elements and the target hierarchical relationships.
6. The method according to claim 2, characterized in that The first content editing interface displays a first prompt word, and the determining of configuration information in response to a configuration operation for the visual content to be generated in the first content editing interface includes: In response to a selection operation of a target first prompt word for an element in the visual content to be generated in the first content editing interface, the target first prompt word is displayed in a first input control of the first content editing interface, wherein the content in the first input control is a first description information of the element.
7. The method according to claim 6, characterized in that The first prompt word is displayed in a scrolling manner in the first content editing interface, or the first prompt word is displayed statically in the first content editing interface.
8. The method according to any one of claims 1 to 7, characterized in that: The target visual content is an image, and the method further includes: Displaying a second content editing interface, where the second content editing interface displays the target visual content; In response to a selection operation on the displayed target visual content, determining basic visual content for generating a storyboard; In response to a configuration operation on the basic visual content, determining a mirror movement path of the to-be-generated storyboard; In response to a second generation operation, a target storyboard is played in the second content editing interface, wherein the target storyboard is generated based on the camera movement path and the basic visual content.
9. The method according to claim 8, characterized in that The step of determining the mirror movement path of the to-be-generated storyboard in response to the configuration operation on the basic visual content includes: In response to a triggering operation of configuring a camera movement path using a first path configuration method for the basic visual content, a three-dimensional stereoscopic model is displayed, wherein the three-dimensional stereoscopic model is composed of a plurality of second interactive controls distributed in an array, a size of a section of the three-dimensional stereoscopic model is used to simulate a screen size of the basic visual content, the section is composed of a plurality of second interactive controls on the same plane, an arrangement order of the section is used to simulate a playback order of different image frames in the storyboard to be generated, and different second interactive controls on the section are used to simulate different positions in the basic visual content; In response to a selection operation on the second interactive control in the three-dimensional model, connecting the selected second interactive controls with a line; According to the connection result of the second interactive control, the camera movement path of the storyboard to be generated is determined.
10. The method according to claim 8, characterized in that The step of determining the mirror movement path of the to-be-generated storyboard in response to the configuration operation on the basic visual content includes: In response to a triggering operation of performing camera movement path configuration in a second path configuration manner for the basic visual content, at least one preset camera movement path is displayed; In response to a selection operation on a target preset camera movement path among the at least one preset camera movement path, a camera movement path for the to-be-generated shot is determined.
11. The method according to claim 8, characterized in that The step of determining the mirror movement path of the to-be-generated storyboard in response to the configuration operation on the basic visual content includes: In response to a triggering operation of configuring a camera movement path using a third path configuration method for the basic visual content, a second input control is displayed, wherein a second prompt word is provided in the second content editing interface, and the second prompt word is used to describe the path; In response to a selection operation on a target second prompt word in the second prompt words, displaying the target second prompt word in the second input control; According to the content in the second input control, the camera movement path of the storyboard to be generated is determined.
12. The method according to claim 8, characterized in that The method further comprises: In response to the triggered stitching operation, a third content editing interface is displayed, wherein the third content editing interface displays video frames and target camera movement paths in a playback order, wherein the video frames include video frames corresponding to the target shots and video frames corresponding to transition shots between two target shots, and the target camera movement path is obtained by stitching the camera movement paths corresponding to all the target shots participating in the stitching; In response to an adjustment operation on the target camera movement path, updating the target camera movement path in the third content editing interface; In response to the third generation operation, a target video is generated and displayed, wherein the target video is generated based on the video frames corresponding to the target storyboard, the video frames corresponding to the transition shots, and the target camera movement path currently displayed in the third content editing interface.
13. The method according to claim 12, characterized in that When the target camera movement path is displayed on the third content editing interface, the method further includes: Displaying a fourth content editing interface, wherein the fourth content editing interface is used to display the target camera movement path carrying time information; The method further comprises: In response to an adjustment operation on the target camera movement path, the target camera movement path is updated in the fourth content editing interface.
14. The method according to claim 12, characterized in that The method further comprises: When displaying the target camera movement path, the nodes in the target camera movement path are highlighted, wherein the position of the nodes in the first video frame is used to describe the point where the lens enters the first video frame from the second video frame, and the first video frame is the next video frame of the second video frame.
15. A visual content generation device, characterized in that: include: A first display module, used to display a first content editing interface; a first determining module, configured to determine configuration information in response to a configuration operation for the visual content to be generated in the first content editing interface, wherein the configuration information includes layout information of at least one element in the visual content to be generated and first description information of the element, wherein the layout information is used to describe a target position of the element in the visual content to be generated; A second display module is used to generate and display target visual content in response to the first generation operation, wherein the target visual content is generated based on the configuration information, and in the target visual content, the visual content located at the same position as the target position matches the first description information of the element corresponding to the target position.
16. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processing device, the steps of the method according to any one of claims 1 to 14 are implemented.
17. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 14.
18. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
Citation Information
Cited By
Visual task processing method and device, equipment, medium and program product
CN120256062A