Picture editing method and device, computer equipment and storage medium
By introducing the display of the intelligent picture interface and historical editing instructions in the AI image generator, the problem of cumbersome operation of user editing operations has been solved, and the efficiency and experience of picture editing are improved.
Patent Information
- Application Number
- CN202411463110.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-01-28
AI Technical Summary
The existing AI image generator is complicated when users edit pictures, which affects the user's image editing operation experience.
Provide a picture editing method. By displaying the intelligent raw picture interface, including historical editing instructions and generating pictures, obtaining the current editing instructions, determining the historical editing instructions associated with it, and updating the historical generation pictures based on the current editing instructions.
Improving the user's picture editing operation experience, the display of the intelligent picture interface and the history editing instructions, simplified the editing process and improved the editing efficiency.
Smart Images

Figure CN119379861A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer device and storage medium for editing pictures. Background Art
[0002] With the rapid development of computer technology, AI (Artificial Intelligence) image generators are very popular. Through technologies such as machine learning and deep neural networks, AI image generators can automatically generate various types of images with high flexibility and diversity, which can meet the needs of different fields and industries.
[0003] In the related art, in products of text-generated images / image-generated images, users can input editing instructions for the initially generated images, and the output results of the editing instructions are returned after algorithm processing. If the user is not satisfied with the output results corresponding to the input editing instructions, the image needs to be edited again, which is cumbersome and affects the user's image editing operation experience. Summary of the invention
[0004] The embodiments of the present application provide a picture editing method, apparatus, computer equipment and storage medium, which can improve the user's picture editing operation experience.
[0005] The present application provides a method for editing a picture, including:
[0006] Displaying an intelligent image generation interface, wherein the intelligent image generation interface includes at least one history editing instruction and a history generated image corresponding to the history editing instruction;
[0007] Get the current editing command;
[0008] Determine a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content;
[0009] Based on the current editing instruction, the target history generation picture corresponding to the target history editing instruction is updated to obtain a target generation picture.
[0010] Accordingly, the embodiment of the present application further provides a picture editing device, including:
[0011] A display unit, used to display an intelligent image generation interface, wherein the intelligent image generation interface includes at least one history editing instruction and a history generated image corresponding to the history editing instruction;
[0012] An acquisition unit, used to acquire the current editing instruction;
[0013] a determining unit, configured to determine a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content;
[0014] A processing unit is used to update the target history generation picture corresponding to the target history editing instruction based on the current editing instruction to obtain a target generation picture.
[0015] Correspondingly, an embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes any image editing method provided in any embodiment of the present application.
[0016] Correspondingly, an embodiment of the present application also provides a storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the above picture editing method.
[0017] The embodiment of the present application displays an intelligent image generation interface, which includes at least one historical editing instruction and a historical generated image corresponding to the historical editing instruction; obtains the current editing instruction; determines a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; updates the target historical generated image corresponding to the target historical editing instruction based on the current editing instruction to obtain the target generated image. In this way, the generated image corresponding to the executed historical editing instruction can be re-edited to improve the editing efficiency of the intelligent generated image, thereby improving the user's image editing operation experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A flowchart of a method for editing pictures provided in an embodiment of the present application.
[0020] Figure 2 A schematic diagram of an application scenario of a picture editing method provided in an embodiment of the present application.
[0021] Figure 3 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0022] Figure 4 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0023] Figure 5 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0024] Figure 6 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0025] Figure 7 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0026] Figure 8 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0027] Fig. 9 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0028] Fig.10 A schematic diagram of an application scenario of another picture editing method provided in an embodiment of the present application.
[0029] Fig.11 A structural block diagram of a picture editing device provided in an embodiment of the present application.
[0030] Fig.12 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0032] The embodiments of the present application provide a method, device, storage medium and computer equipment for editing pictures. Specifically, the method for editing pictures in the embodiments of the present application can be executed by a computer device, wherein the computer device can be a terminal or a server or other device. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), etc. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and basic cloud computing services such as big data and artificial intelligence platforms.
[0033] For example, when the image editing method is run on a terminal, the terminal can display an intelligent image generation interface, which includes at least one historical editing instruction and a historical generated image corresponding to the historical editing instruction; obtain the current editing instruction; determine a target historical editing instruction in at least one historical editing instruction that has a correlation with the current editing instruction in terms of instruction content; and update the target historical generated image corresponding to the target historical editing instruction based on the current editing instruction to obtain a target generated image.
[0034] Based on the above problems, the embodiments of the present application provide a first picture editing method, apparatus, computer device and storage medium, which can improve the user's picture editing operation experience. The following are detailed descriptions. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0035] An embodiment of the present application provides a picture editing method, which can be executed by a terminal or a server. The embodiment of the present application is described by taking the picture editing method executed by a terminal as an example.
[0036] See also Figure 1 , Figure 1 This is a flow chart of a method for editing a picture provided by an embodiment of the present application. The specific flow of the method for editing a picture may be as follows:
[0037] 101. Display the intelligent image generation interface.
[0038] In an embodiment of the present application, an intelligent image generation interface is displayed through a terminal, and the intelligent image generation interface can be used to receive editing instructions input by a user, and to display images obtained by performing image algorithm processing according to the editing instructions.
[0039] Among them, the intelligent image generation interface can be an application interface of a target application, and the target application can be an application that provides an image generation function.
[0040] For example, the target application may be an AI image generation application, in which an image generation algorithm, such as an image generation model, etc., is configured. The AI image generation application supports a user to input an editing instruction, and then the image generation algorithm processes the editing instruction input by the user to generate a corresponding image.
[0041] The editing instruction refers to the requirement information input by the user for generating a picture, which may include text and / or a picture.
[0042] For example, see Figure 2 , Figure 2 A schematic diagram of an application scenario of a picture editing method provided in an embodiment of the present application. Figure 2 The intelligent image generation interface shown includes a display area and an input area.
[0043] The input area can be used for the user to input editing instructions, and the input area is provided with an input box, a first input control, and a second input control. The input box can be used to input text to obtain editing instructions according to the input text; the first input control can be used to input a picture to obtain editing instructions according to the input picture; the second input control can be used to input voice to obtain editing instructions according to the input voice.
[0044] The display area may be used to display the sent editing instructions and the pictures generated according to the editing instructions.
[0045] For example, see Figure 3 , Figure 3 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Figure 3 In the smart image generation interface shown, the display area displays the sent editing instruction "Draw a running little girl" and the picture generated according to the editing instruction, and the content of the picture is a running little girl.
[0046] In the embodiment of the present application, the intelligent image generation interface includes at least one historical editing instruction and a historical generated image corresponding to the historical editing instruction. The historical editing instruction refers to the sent editing instruction displayed in the display area of the intelligent image generation interface; the historical generated image refers to the image generated after the image algorithm is processed according to the historical editing instruction.
[0047] Among them, if the intelligent image generation interface includes multiple historical editing instructions, except for the first historical editing instruction with the earliest time, the remaining historical editing instructions can be further editing processes for the historical generated image corresponding to the previous historical editing instruction.
[0048] For example, see Figure 4 , Figure 4 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Figure 4 In the smart image generation interface shown, the display area includes multiple historical editing instructions and historical generated pictures corresponding to each historical editing instruction, including: historical editing instruction 1 "draw a running little girl" and corresponding historical generated picture 1; historical editing instruction 2 "add a few butterflies" and corresponding historical generated picture 2.
[0049] Among them, history editing instruction 1 can be the first history editing instruction, and the initial picture, that is, history generated picture 1, is generated according to the history editing instruction 1; wherein, history editing instruction 2 can be an editing process for history generated picture 1, and the instruction content of history editing instruction 2 is "add a few butterflies", that is, it is necessary to add a few butterflies to history generated picture 1, so as to generate history generated picture 2.
[0050] The solution provides an intelligent image generation interface, where users can continue to edit the generated images through editing commands until a satisfactory image is generated.
[0051] 102. Get the current editing instruction.
[0052] Among them, the current editing instruction refers to the editing instruction currently received for the historical generated pictures in the intelligent image generation interface.
[0053] In some embodiments, in order to meet the user's image editing needs, the editing instructions may include instruction text and image editing information, wherein the instruction text refers to the text entered by the user through the input area of the intelligent image generation interface; the image editing information refers to the editing operation information in the generated image.
[0054] The picture editing information may be obtained through editing operations on the generated picture.
[0055] For example, see Figure 5 , Figure 5 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Figure 5 In the intelligent image generation interface shown on the left, when a click operation on the historically generated image 1 is detected, the image editing interface can be triggered to display.
[0056] That is to say, Figure 5The picture editing interface shown on the right Figure 5 In the picture editing interface shown on the right, a historically generated picture 1 and a plurality of editing controls are displayed. The user can edit the historically generated picture 1 through the plurality of editing controls, thereby obtaining editing operation information of the historically generated picture 1 according to the editing operation.
[0057] The multiple editing controls may include a box selection control, a brush control, a cropping control, a return control, etc. The box selection control and the brush control may be used to select an image area in the historical generated image 1; the cropping control may be used to crop the historical generated image 1; and the return control may be used to return to the previous editing operation.
[0058] Among them, the picture editing interface can also include a completion control, which can be used to confirm the editing operation of the historical generated picture 1 and return to the intelligent picture generation interface to input the instruction text.
[0059] Among them, the user's editing operation on the historically generated picture 1 in the picture editing interface can be used as the picture editing information for the historically generated picture 1.
[0060] For further information, see Figure 6 , Figure 6 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Figure 6 In the image editing interface shown on the left, the user selects image area A in historically generated image 1 through the selection control. When the user clicks on the completion control, it indicates confirmation of the selection of image area A in historically generated image 1, which can trigger the return to the intelligent image generation interface.
[0061] That is to say, Figure 6 The smart image generation interface shown on the right is Figure 6 In the intelligent image generation interface shown on the right, the image editing information of the historically generated image 1 is displayed in the input area, and a prompt message is displayed in the input box: Please enter the command, which can be used to prompt the user to enter the command text for the image editing information of the historically generated image 1.
[0062] For example, the user can input "add a few butterflies", and then obtain the instruction text "add a few butterflies", and then obtain the history editing instruction 3 according to the image editing information (instructing to select the image area A in the history generation image 1) and the instruction text, so that the corresponding history generation image 3 is generated according to the history editing instruction 3.
[0063] For example, see Figure 7 , Figure 7 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Figure 7In the smart image generation interface shown, a history editing instruction 3 and a history generated image 3 corresponding to the history editing instruction 3 are displayed. The history editing instruction 3 includes the instruction text "add a few butterflies" and the image editing information, and the image editing information indicates to select the image area A in the history generated image 1. Then the editing process corresponding to the history editing instruction 3 is: add a few butterflies to the image area A in the history generated image 1, and process it according to the image algorithm to generate the history generated image 3.
[0064] In this way, through the editing instructions including the instruction text and the picture editing information, the generated pictures can be edited more accurately to quickly generate pictures that satisfy the user.
[0065] In some embodiments, the user can modify the historically generated picture corresponding to the historical editing instruction by performing editing and adjusting operations on the picture editing information in the historical editing instruction including the picture editing information as the current editing instruction.
[0066] In some embodiments, at least one historical editing instruction may include instruction text and image editing information, and the step of "obtaining the current editing instruction" may include the following operations:
[0067] In response to an adjustment operation on the target image editing information in the intelligent image generation interface, determining the adjusted target image editing information;
[0068] Based on the adjusted target image editing information and the target instruction text corresponding to the target image editing information, the current editing instruction is obtained.
[0069] Among them, the target image editing information refers to the image editing information that the user needs to change in the intelligent image generation interface.
[0070] The adjustment operation on the target picture editing information may include adjustment of the editing operation in the target picture editing information.
[0071] For example, the target image editing information may include: selecting image area A of historically generated image 1. If the adjustment operation is: deselecting image area A of historically generated image 1 and reselecting image area B of historically generated image 1, the adjusted target image editing information may include: selecting image area B of historically generated image 1.
[0072] In some embodiments, the display mode of the picture editing information may be a picture, and the step of “determining the adjusted target picture editing information in response to the adjustment operation on the target picture editing information in the smart picture generation interface” may include the following operations:
[0073] In response to a triggering operation on target picture editing information, displaying a picture editing interface;
[0074] In response to an editing adjustment operation on the editing picture, determining an adjusted editing picture;
[0075] Based on the adjusted edited image, the adjusted target image editing information is obtained.
[0076] Among them, the triggering operation for the target image editing information can be a touch operation, and the touch operation includes but is not limited to a click operation, a press operation, a slide operation, etc.
[0077] Among them, the picture editing interface includes an editing picture corresponding to the target picture editing information.
[0078] For example, see Figure 8 , Figure 8 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Figure 8 The intelligent image generation interface shown on the left includes multiple image editing information, which may be image editing information 3 and image editing information 4 respectively.
[0079] Among them, picture editing information 3 indicates selecting picture area A of historically generated picture 1; picture editing information 4 indicates selecting picture area B of historically generated picture 3.
[0080] When a click operation on the picture editing information 3 is detected, the picture editing information 3 can be determined to be the target picture editing information, thereby triggering the display of the picture editing interface, that is, obtaining Figure 8 The image editing interface shown on the right.
[0081] exist Figure 8 In the picture editing interface shown on the right, a picture corresponding to the picture editing information 3 is displayed, and the picture indicates that the picture area A of the historical generated picture 1 is selected. The user can adjust the picture editing information 3 through the picture editing interface.
[0082] The editing adjustment operation indicates re-editing the image corresponding to the target image editing information, thereby obtaining an adjusted edited image.
[0083] For example, see Fig. 9 , Fig. 9 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Fig. 9 In the picture editing interface shown on the left, the editing adjustment operation of the picture corresponding to the picture editing information 3 is detected as: undo the selection of picture area A, reselect picture area C, and then the adjusted target picture editing information can be obtained as: select picture area C of the historical generated picture 1.
[0084] That is to say, Fig. 9The picture editing interface shown on the right side, in which the picture area C is selected in the editing picture corresponding to the picture editing information 3.
[0085] In the embodiment of the present application, for the editing and adjustment operation of the edited image, the technical implementation of determining the adjusted edited image can be as follows:
[0086] First, when a click operation on a historically generated image is detected, the image information can be read through the network interface, including the image width, height, and pixels, and rendered to the terminal device through Canvas off-screen to generate a base map, which is displayed on the image editing interface;
[0087] When it is detected that the user clicks the editing control in the image editing interface, the user's finger touch event is monitored through the terminal device interface, and the starting and ending coordinate points of the finger movement are recorded. Among them, the sign of the end of the user's touch operation is that no touch event is continuously monitored within 300ms; the origin of the coordinate point is the upper left corner of the screen viewport.
[0088] The starting point and the ending point of the user's touch point are recorded as [(start_x, start_y),
[0089] (end_x, end_y)], by calculating the ratio of the diagonal length of the selected graphic at the minimum scale and the distance from the starting point (diagonal), use Canvas to draw the corresponding changing graphics during the user's touch and move process.
[0090] Each selection operation is numbered as an operation id through uuid, and the operation id and the start and end coordinates are persisted. The primary key is the operation id, and the value is start: (start_x, start_y), end: (end_x, end_y).
[0091] If it is detected that the user repeats the selection process, the above steps can be repeated to record each selection operation.
[0092] When the user needs to adjust the previously selected area during the image editing process, he can select the corresponding selected area by clicking on the selected area. Here, it is determined whether the coordinate point clicked by the user falls within the range of the generated selected area. If it is determined to be within the range of a certain selected area, the selected area is selected and the corresponding selected border is highlighted. When the user needs to re-edit the selection operation, it is regarded as an update operation, and the values of the start and end points of the corresponding operation id are updated. And the new selected border is re-rendered on the base map through Canvas. In this way, the adjustment operation of the target image editing information can be realized.
[0093] Among them, obtaining the current editing instruction based on the adjusted target image editing information and the target instruction text corresponding to the target image editing information may include: using the adjusted target image editing information and the target instruction text as the current editing instruction.
[0094] The target instruction text corresponding to the target image editing information refers to the instruction text belonging to the same historical editing instruction as the target image editing information.
[0095] For example, see Figure 8 , the target image editing information for the editing and adjustment operation may be image editing information 3, and the instruction text corresponding to image editing information 3 may be "add a few butterflies". Wherein, image editing information 3 indicates to select image area A of historically generated image 1, and after the editing and adjustment operation, the adjusted image editing information may be to select image area C of historically generated image 1, so that according to the instruction text "add a few butterflies" and the adjusted image editing information: select image area C of historically generated image 1, and obtain the current editing instruction.
[0096] In some embodiments, the user may modify the historical generated image corresponding to the historical editing instruction by inputting an editing instruction associated with the historical editing instruction as the current editing instruction.
[0097] In some embodiments, the step of “obtaining the current editing instruction” may include the following operations:
[0098] In response to an input operation on the intelligent image generation interface, obtaining input information corresponding to the input operation;
[0099] The current instruction text is determined based on the input information to obtain the current editing instruction.
[0100] Among them, the input operation refers to the input operation in the input area of the intelligent image generation interface. The input operation can input text, input pictures, input voice, etc., and the input information can be text, pictures or voice, etc.
[0101] In the embodiment of the present application, the method of determining the current instruction text based on the input information can be determined according to the type of the input information. For example, if the input information is text, the input text can be used as the current instruction text; if the input information is a picture, the picture can be recognized and processed to determine the text corresponding to the input picture as the current instruction text; if the input information is voice, the voice can be recognized and processed to determine the text corresponding to the input voice as the current instruction text.
[0102] For example, see Fig.10 , Fig.10 A schematic diagram of another application scenario of a picture editing method provided in an embodiment of the present application. Fig.10 In the intelligent image generation interface shown on the left, when the user's input operation in the input box in the input area is detected, the input information of the input operation can be "change adding hearts to adding flowers", then the current instruction text can be determined based on the input information: change adding hearts to adding flowers, and after sending the instruction text, the current editing instruction is obtained.
[0103] That is to say, Fig.10 The smart photo generation interface shown on the right shows the current editing command "Change add hearts to add flowers" in the display area.
[0104] 103. Determine a target historical editing instruction in at least one historical editing instruction that has an association relationship with the current editing instruction in terms of instruction content.
[0105] In some embodiments, if the current editing instruction is obtained by adjusting the image editing information in the historical editing instructions, the step of "determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content" may include the following operations:
[0106] From at least one historical editing instruction, a historical editing instruction corresponding to target picture editing information and a target instruction text is determined to obtain a target historical editing instruction.
[0107] The current editing instruction includes the adjusted target image editing information and the target instruction text.
[0108] Specifically, from multiple historical editing instructions in the intelligent image generation interface, determine the historical editing instructions that include target image editing information and target instruction text, and obtain the target historical editing instructions.
[0109] For example, multiple history editing instructions may include: history editing instruction 1, history editing instruction 3 and history editing instruction 4. Among them, history editing instruction 1 only includes the instruction text "draw a running little girl"; history editing instruction 3 includes the instruction text "add a few butterflies" and picture editing information: select the picture area A of the historical generated picture 1; history editing instruction 4 includes the instruction text "add a few hearts" and picture editing information:
[0110] Select image region B of historical generated image 3.
[0111] Among them, the target image editing information can be: select image area A of historical generated image 1, the target instruction text can be "add a few butterflies", and then it can be determined that the target historical editing instruction that is associated with the current editing instruction is: historical editing instruction 3.
[0112] In some embodiments, if the current editing instruction is obtained through an input operation, the step of “determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content” may include the following operations;
[0113] Performing content recognition processing on the instruction text of each historical editing instruction to determine candidate instruction texts similar to the current instruction text;
[0114] Based on the historical editing instructions corresponding to the candidate instruction texts, a target historical editing instruction is obtained.
[0115] The content recognition process may include semantic recognition of the instruction text, etc.
[0116] Among them, performing content recognition processing on the instruction text of each historical editing instruction to determine the candidate instruction text similar to the current instruction text can include: performing speech recognition on each instruction text to determine the semantic information corresponding to each instruction text, and then determining the instruction text with similar semantic information to the current instruction text to obtain the candidate instruction text.
[0117] For example, the multiple history editing instructions may include: history editing instruction 1, history editing instruction 6, and history editing instruction 7. The instruction text in history editing instruction 1 may be "draw a running little girl"; the instruction text in history editing instruction 6 may be "add a few butterflies"; the instruction text in history editing instruction 7 may be "add a few hearts". The current instruction text may be "change add hearts to add flowers".
[0118] Furthermore, by performing content recognition processing on each instruction text, it can be determined that the instruction text similar to the current instruction text is "add a few hearts", that is, the instruction text in history editing instruction 7, thereby determining the target history editing instruction to be: history editing instruction 7.
[0119] 104. Based on the current editing instruction, the target history generation picture corresponding to the target history editing instruction is updated to obtain the target generation picture.
[0120] In an embodiment of the present application, in order to meet different editing requirements of users, there may be multiple ways to determine the target generated image according to the current editing instruction.
[0121] In some embodiments, if there are still history editing instructions after the target history editing instruction, and the user does not want to retain the editing process of the history editing instructions after the target history editing instruction, the step of "editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture" may include the following operations:
[0122] Determine the last history generated image edited by the target history editing instruction;
[0123] Edit the previous historical generation picture according to the current editing instruction to obtain an updated historical generation picture corresponding to the target historical generation picture;
[0124] Based on the updated historical generated image, the target generated image is obtained.
[0125] The previous historical generated image refers to a generated image that needs to execute the editing process corresponding to the target historical editing instruction.
[0126] For example, if the current editing instruction includes the adjusted target image editing information and the target instruction text, then editing the previous historical generated image according to the current editing instruction means editing the previous historical generated image according to the adjusted target image editing information and the target instruction text in the current editing instruction, thereby obtaining an updated historical generated image corresponding to the target historical generated image.
[0127] For example, see Figure 8 ,exist Figure 8 In the intelligent image generation interface shown on the right, the target history editing instruction may be: history editing instruction 3, and the previous history generation image edited by history editing instruction 3 may be: history generation image 1.
[0128] If the current editing instruction includes: the adjusted target image editing information is: select the image area C in the historical generated image 1; the target instruction text is to add a few butterflies. The previous historical generated image may be: historical generated image 1, then the historical generated image 1 is edited according to the current editing instruction, which may be: add a few butterflies to the image area C of the historical generated image 1, and obtain the updated historical generated image corresponding to the historical generated image 1.
[0129] For another example, if the current editing command includes the current command text. Then please continue to refer to Fig.10 , then the previous historical generated picture is edited according to the current editing instruction, which means that the previous historical generated picture is edited according to the current instruction text in the current editing instruction, so as to obtain the updated historical generated picture corresponding to the target historical generated picture.
[0130] For example, in Fig.10 In the intelligent image generation interface shown on the right, the target history editing instruction may be: history editing instruction 7, and the previous history generation image edited by history editing instruction 7 may be: history generation image 6.
[0131] If the current instruction text of the current editing instruction is: add love to add flowers, the previous historical generated picture may be: historical generated picture 6, and the historical generated picture 6 is edited according to the current editing instruction, which may be: add love to historical generated picture 6 to obtain the updated historical generated picture corresponding to historical generated picture 6.
[0132] Furthermore, the updated historical generated image may be used as the latest generated image, that is, the target generated image.
[0133] In some embodiments, if there is no history editing instruction after the target history editing instruction, the step of “editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture” may also include the following operations:
[0134] Determine the last history generated image edited by the target history editing instruction;
[0135] Edit the previous historical generation picture according to the current editing instruction to obtain an updated historical generation picture corresponding to the target historical generation picture;
[0136] Based on the updated historical generated image, the target generated image is obtained.
[0137] In some embodiments, if there are still history editing instructions after the target history editing instruction, and the user wants to retain the editing process of the history editing instructions after the target history editing instruction, the step of "editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture" may include the following operations:
[0138] Determine the last history generated image edited by the target history editing instruction;
[0139] Get other history editing instructions after the target history editing instruction;
[0140] According to the current editing instruction and other historical editing instructions, the previous historical generated image is edited to obtain the target generated image.
[0141] Among them, other historical editing instructions refer to historical editing instructions whose command trigger time in the intelligent image generation interface is after the target historical editing instruction.
[0142] Among them, editing the previous historical generated picture according to the current editing instruction and other historical editing instructions to obtain the target generated picture can include: editing the previous historical generated picture according to the current editing instruction to obtain the updated generated picture corresponding to the previous historical generated picture, and then editing the updated generated picture through other historical editing instructions to obtain the latest generated picture, that is, the target generated picture.
[0143] For example, the target editing instruction may be history editing instruction 3 , and other history editing instructions after history editing instruction 3 may include history editing instruction 4 .
[0144] If the current editing instruction includes: the adjusted target image editing information is: select the image area C in the historical generated image 1; the target instruction text is to add a few butterflies. The previous historical generated image may be: historical generated image 1, then the historical generated image 1 is edited according to the current editing instruction, which may be: add a few butterflies to the image area C of the historical generated image 1, and obtain the updated historical generated image corresponding to the historical generated image 1.
[0145] Furthermore, the updated historical generated picture is edited by the historical editing instruction 4. For example, if the instruction text corresponding to the historical editing instruction 4 is to add a few flowers, a few flowers can be added to the updated historical generated picture as a new generated picture, that is, the target generated picture.
[0146] The embodiment of the present application discloses a method for editing a picture, which includes: displaying an intelligent picture generation interface, the intelligent picture generation interface including at least one historical editing instruction and a historical generated picture corresponding to the historical editing instruction; obtaining a current editing instruction; determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; and updating a target historical generated picture corresponding to the target historical editing instruction based on the current editing instruction to obtain a target generated picture. In this way, the user's picture editing operation experience can be improved.
[0147] In order to better implement the picture editing method provided in the embodiment of the present application, the embodiment of the present application also provides a picture editing device based on the above picture editing method. The meanings of the terms are the same as those in the above picture editing method, and the specific implementation details can refer to the description in the method embodiment.
[0148] See also Fig.11 , Fig.11 A structural block diagram of a picture editing device provided in an embodiment of the present application, the device comprising:
[0149] A display unit 301 is used to display an intelligent image generation interface, wherein the intelligent image generation interface includes at least one history editing instruction and a history generated image corresponding to the history editing instruction;
[0150] An acquisition unit 302 is used to acquire a current editing instruction;
[0151] A determining unit 303 is used to determine a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content;
[0152] The processing unit 304 is used to update the target history generation picture corresponding to the target history editing instruction based on the current editing instruction to obtain a target generation picture.
[0153] In some embodiments, at least one historical editing instruction includes instruction text and picture editing information; the acquisition unit 302 may include:
[0154] A first determining subunit is used to determine the adjusted target image editing information in response to an adjustment operation on the target image editing information in the intelligent image generation interface;
[0155] The second determining subunit is used to obtain the current editing instruction based on the adjusted target image editing information and the target instruction text corresponding to the target image editing information.
[0156] In some embodiments, the first determining subunit may be specifically used for:
[0157] In response to a triggering operation on the target picture editing information, displaying a picture editing interface, the picture editing interface including an editing picture corresponding to the target picture editing information;
[0158] In response to the editing adjustment operation on the editing picture, determining an adjusted editing picture;
[0159] Based on the adjusted edited image, the adjusted target image editing information is obtained.
[0160] In some embodiments, the determining unit 303 may include:
[0161] The third determining subunit is used to determine the historical editing instruction corresponding to the target image editing information and the target instruction text from the at least one historical editing instruction, and obtain the target historical editing instruction.
[0162] In some embodiments, the acquisition unit 302 may include:
[0163] A first acquisition subunit is used to respond to an input operation on the intelligent image generation interface and acquire input information corresponding to the input operation;
[0164] The fourth determining subunit is used to determine the current instruction text based on the input information to obtain the current editing instruction.
[0165] In some embodiments, the history editing instruction includes at least an instruction text; the determining unit 303 may include:
[0166] The recognition subunit is used to perform content recognition processing on the instruction text of each historical editing instruction to determine a candidate instruction text similar to the current instruction text;
[0167] The fifth determining subunit is used to obtain the target history editing instruction based on the history editing instruction corresponding to the candidate instruction text.
[0168] In some embodiments, the processing unit 304 may include:
[0169] A sixth determining subunit, configured to determine the last historically generated picture edited by the target historical editing instruction;
[0170] A first processing subunit is used to edit the previous historical generation picture according to the current editing instruction to obtain an updated historical generation picture corresponding to the target historical generation picture;
[0171] A seventh determination subunit is used to obtain the target generated picture based on the updated historical generated picture.
[0172] In some embodiments, the processing unit 304 may include:
[0173] An eighth determining subunit, configured to determine the last historically generated picture edited by the target historical editing instruction;
[0174] A second acquisition subunit, used to acquire other history editing instructions after the target history editing instruction;
[0175] The second processing sub-unit is used to edit the previous historical generated picture according to the current editing instruction and the other historical editing instructions to obtain the target generated picture.
[0176] The embodiment of the present application discloses a picture editing device, wherein a display unit 301 displays an intelligent picture generation interface, wherein the intelligent picture generation interface includes at least one historical editing instruction and a historical generated picture corresponding to the historical editing instruction; an acquisition unit 302 acquires a current editing instruction; a determination unit 303 determines a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; and a processing unit 304 updates a target historical generated picture corresponding to the target historical editing instruction based on the current editing instruction to obtain a target generated picture. In this way, the user's picture editing operation experience can be improved.
[0177] Accordingly, the embodiment of the present application also provides a computer device, which may be a terminal. Fig.12 As shown, Fig.12 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored in the memory 502 and executable on the processor. The processor 501 is electrically connected to the memory 502. It will be understood by those skilled in the art that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0178] The processor 501 is the control center of the computer device 500. It uses various interfaces and lines to connect the various parts of the entire computer device 500, executes various functions of the computer device 500 and processes data by running or loading software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, thereby monitoring the computer device 500 as a whole.
[0179] In the embodiment of the present application, the processor 501 in the computer device 500 will load instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 will run the application programs stored in the memory 502 to implement various functions:
[0180] Displaying an intelligent image generation interface, the intelligent image generation interface including at least one history editing instruction and a history generated image corresponding to the history editing instruction;
[0181] Get the current editing command;
[0182] Determine a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content;
[0183] Based on the current editing instruction, the target history generation picture corresponding to the target history editing instruction is updated to obtain the target generation picture.
[0184] In some embodiments, at least one historical editing instruction includes instruction text and image editing information;
[0185] Get the current editing instructions, including:
[0186] In response to an adjustment operation on the target image editing information in the intelligent image generation interface, determining the adjusted target image editing information;
[0187] Based on the adjusted target image editing information and the target instruction text corresponding to the target image editing information, the current editing instruction is obtained.
[0188] In some embodiments, in response to an adjustment operation on target image editing information in the smart image generation interface, determining the adjusted target image editing information includes:
[0189] In response to a trigger operation on target picture editing information, displaying a picture editing interface, the picture editing interface including an editing picture corresponding to the target picture editing information;
[0190] In response to an editing adjustment operation on the editing picture, determining an adjusted editing picture;
[0191] Based on the adjusted edited image, the adjusted target image editing information is obtained.
[0192] In some embodiments, determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content includes:
[0193] From at least one historical editing instruction, a historical editing instruction corresponding to target picture editing information and a target instruction text is determined to obtain a target historical editing instruction.
[0194] In some embodiments, obtaining the current editing instruction includes:
[0195] In response to an input operation on the intelligent image generation interface, obtaining input information corresponding to the input operation;
[0196] The current instruction text is determined based on the input information to obtain the current editing instruction.
[0197] In some embodiments, the history editing instruction includes at least instruction text;
[0198] Determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content includes:
[0199] Performing content recognition processing on the instruction text of each historical editing instruction to determine candidate instruction texts similar to the current instruction text;
[0200] Based on the historical editing instructions corresponding to the candidate instruction texts, a target historical editing instruction is obtained.
[0201] In some embodiments, editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture includes:
[0202] Determine the last history generated image edited by the target history editing instruction;
[0203] Edit the previous historical generation picture according to the current editing instruction to obtain an updated historical generation picture corresponding to the target historical generation picture;
[0204] Based on the updated historical generated image, the target generated image is obtained.
[0205] In some embodiments, editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture includes:
[0206] Determine the last history generated image edited by the target history editing instruction;
[0207] Get other history editing instructions after the target history editing instruction;
[0208] According to the current editing instruction and other historical editing instructions, the previous historical generated image is edited to obtain the target generated image.
[0209] The embodiment of the present application displays an intelligent image generation interface, which includes at least one historical editing instruction and a historical generated image corresponding to the historical editing instruction; obtains the current editing instruction; determines a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; updates the target historical generated image corresponding to the target historical editing instruction based on the current editing instruction to obtain the target generated image. In this way, the generated image corresponding to the executed historical editing instruction can be re-edited to improve the editing efficiency of the intelligent generated image, thereby improving the user's image editing operation experience.
[0210] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0211] Optional, such as Fig.12As shown, the computer device 500 further includes: a touch screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507. The processor 501 is electrically connected to the touch screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507, respectively. Those skilled in the art can understand that Fig.12 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0212] The touch display screen 503 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of computer equipment, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 501, and can receive the command sent by the processor 501 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 501 to determine the type of touch event, and then the processor 501 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 503 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 503 can also be used as a part of the input unit 506 to realize the input function.
[0213] The radio frequency circuit 504 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.
[0214] The audio circuit 505 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 505 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and converted into audio data, and then the audio data is output to the processor 501 for processing, and then sent to another computer device through the radio frequency circuit 504, or the audio data is output to the memory 502 for further processing. The audio circuit 505 may also include an earphone jack to provide communication between an external headset and the computer device.
[0215] The input unit 506 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0216] The power supply 507 is used to supply power to various components of the computer device 500. Optionally, the power supply 507 can be logically connected to the processor 501 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 507 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0217] although Fig.12 Not shown, the computer device 500 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0218] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0219] As can be seen from the above, the computer device provided in this embodiment can display an intelligent image generation interface, which includes at least one historical editing instruction and a historical generated image corresponding to the historical editing instruction; obtain the current editing instruction; determine a target historical editing instruction in at least one historical editing instruction that has a correlation with the current editing instruction in terms of instruction content; update the target historical generated image corresponding to the target historical editing instruction based on the current editing instruction to obtain the target generated image.
[0220] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0221] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any one of the picture editing methods provided in the embodiment of the present application. For example, the computer program can execute the following steps:
[0222] Displaying an intelligent image generation interface, the intelligent image generation interface including at least one history editing instruction and a history generated image corresponding to the history editing instruction;
[0223] Get the current editing command;
[0224] Determine a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content;
[0225] Based on the current editing instruction, the target history generation picture corresponding to the target history editing instruction is updated to obtain the target generation picture.
[0226] In some embodiments, at least one historical editing instruction includes instruction text and image editing information;
[0227] Get the current editing instructions, including:
[0228] In response to an adjustment operation on the target image editing information in the intelligent image generation interface, determining the adjusted target image editing information;
[0229] Based on the adjusted target image editing information and the target instruction text corresponding to the target image editing information, the current editing instruction is obtained.
[0230] In some embodiments, in response to an adjustment operation on target image editing information in the smart image generation interface, determining the adjusted target image editing information includes:
[0231] In response to a trigger operation on target picture editing information, displaying a picture editing interface, the picture editing interface including an editing picture corresponding to the target picture editing information;
[0232] In response to an editing adjustment operation on the editing picture, determining an adjusted editing picture;
[0233] Based on the adjusted edited image, the adjusted target image editing information is obtained.
[0234] In some embodiments, determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content includes:
[0235] From at least one historical editing instruction, a historical editing instruction corresponding to target picture editing information and a target instruction text is determined to obtain a target historical editing instruction.
[0236] In some embodiments, obtaining the current editing instruction includes:
[0237] In response to an input operation on the intelligent image generation interface, obtaining input information corresponding to the input operation;
[0238] The current instruction text is determined based on the input information to obtain the current editing instruction.
[0239] In some embodiments, the history editing instruction includes at least instruction text;
[0240] Determining a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content includes:
[0241] Performing content recognition processing on the instruction text of each historical editing instruction to determine candidate instruction texts similar to the current instruction text;
[0242] Based on the historical editing instructions corresponding to the candidate instruction texts, a target historical editing instruction is obtained.
[0243] In some embodiments, editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture includes:
[0244] Determine the last history generated image edited by the target history editing instruction;
[0245] Edit the previous historical generation picture according to the current editing instruction to obtain an updated historical generation picture corresponding to the target historical generation picture;
[0246] Based on the updated historical generated image, the target generated image is obtained.
[0247] In some embodiments, editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture includes:
[0248] Determine the last history generated image edited by the target history editing instruction;
[0249] Get other history editing instructions after the target history editing instruction;
[0250] According to the current editing instruction and other historical editing instructions, the previous historical generated image is edited to obtain the target generated image.
[0251] The embodiment of the present application displays an intelligent image generation interface, which includes at least one historical editing instruction and a historical generated image corresponding to the historical editing instruction; obtains the current editing instruction; determines a target historical editing instruction in at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; updates the target historical generated image corresponding to the target historical editing instruction based on the current editing instruction to obtain the target generated image. In this way, the generated image corresponding to the executed historical editing instruction can be re-edited to improve the editing efficiency of the intelligent generated image, thereby improving the user's image editing operation experience.
[0252] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0253] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0254] Since the computer program stored in the storage medium can execute the steps in any one of the picture editing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the picture editing methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0255] The above is a detailed introduction to a picture editing method, device, storage medium and computer equipment provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for editing a picture, characterized in that: The method comprises: Displaying an intelligent image generation interface, wherein the intelligent image generation interface includes at least one history editing instruction and a history generated image corresponding to the history editing instruction; Get the current editing command; Determine a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; Based on the current editing instruction, the target history generation picture corresponding to the target history editing instruction is updated to obtain a target generation picture.
2. The method according to claim 1, characterized in that: At least one historical editing command includes command text and image editing information; The obtaining of the current editing instruction includes: In response to an adjustment operation on the target image editing information in the intelligent image generation interface, determining the adjusted target image editing information; The current editing instruction is obtained based on the adjusted target image editing information and the target instruction text corresponding to the target image editing information.
3. The method according to claim 2, characterized in that In response to the adjustment operation on the target image editing information in the intelligent image generation interface, determining the adjusted target image editing information includes: In response to a triggering operation on the target picture editing information, displaying a picture editing interface, the picture editing interface including an editing picture corresponding to the target picture editing information; In response to the editing adjustment operation on the editing picture, determining an adjusted editing picture; Based on the adjusted edited image, the adjusted target image editing information is obtained.
4. The method according to claim 2, characterized in that: The determining of a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content includes: From the at least one historical editing instruction, determine the historical editing instruction corresponding to the target image editing information and the target instruction text, and obtain the target historical editing instruction.
5. The method according to claim 1, characterized in that The obtaining of the current editing instruction includes: In response to an input operation on the intelligent image generation interface, obtaining input information corresponding to the input operation; The current instruction text is determined based on the input information to obtain the current editing instruction.
6. The method according to claim 5, characterized in that The historical editing instruction at least includes an instruction text; The determining of a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content includes: Performing content recognition processing on the instruction text of each historical editing instruction to determine a candidate instruction text similar to the current instruction text; Based on the history editing instruction corresponding to the candidate instruction text, the target history editing instruction is obtained.
7. The method according to claim 1, characterized in that The step of editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture includes: Determine the last historically generated picture edited by the target historical editing instruction; Edit the previous historically generated picture according to the current editing instruction to obtain an updated historically generated picture corresponding to the target historically generated picture; Based on the updated historical generated picture, the target generated picture is obtained.
8. The method according to claim 1, characterized in that The step of editing the target history generated picture corresponding to the target history editing instruction based on the current editing instruction to obtain the target generated picture includes: Determine the last historically generated picture edited by the target historical editing instruction; Obtaining other history editing instructions after the target history editing instruction; The previous historical generated picture is edited according to the current editing instruction and the other historical editing instructions to obtain the target generated picture.
9. A picture editing device, characterized in that: The device comprises: A display unit, used to display an intelligent image generation interface, wherein the intelligent image generation interface includes at least one history editing instruction and a history generated image corresponding to the history editing instruction; An acquisition unit, used to acquire the current editing instruction; a determining unit, configured to determine a target historical editing instruction in the at least one historical editing instruction that has an associated relationship with the current editing instruction in terms of instruction content; A processing unit is used to update the target history generation picture corresponding to the target history editing instruction based on the current editing instruction to obtain a target generation picture.
10. A computer device comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein: When the processor executes the program, the image editing method according to any one of claims 1 to 8 is implemented.
11. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the picture editing method according to any one of claims 1 to 8.