Image processing method and device, computer equipment and storage medium
By obtaining modification instructions in the image processing interface and processing images using an image generation model, the problem of existing technologies being unable to meet users' personalized needs is solved, achieving more efficient image processing and resource utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHUXING TECH (BEIJING) CO LTD
- Filing Date
- 2026-01-26
- Publication Date
- 2026-05-05
AI Technical Summary
Existing image processing applications fail to meet users' personalized needs when processing images, resulting in poor user experience and low resource utilization.
An image processing method is provided, which obtains image modification instructions by displaying an image processing interface, and processes the image using an image generation model to generate a second image that meets the user's requirements.
It enhances the flexibility and versatility of image processing, meets users' personalized image editing needs, and improves user satisfaction and resource utilization.
Smart Images

Figure CN121982149A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, specifically to an image processing method, apparatus, computer device, and storage medium. Background Technology
[0002] With the rapid development of image processing technology, there is an increasing variety of applications with image processing capabilities.
[0003] However, most current applications only provide basic image processing operations, such as background removal, filters, skin smoothing, and whitening, which are limited to single images and cannot meet users' personalized image processing needs. This results in a poor user experience and low utilization of configured image processing resources. Summary of the Invention
[0004] Therefore, it is necessary to provide an image processing method, apparatus, computer equipment, and storage medium that can improve the utilization rate of image processing resources to address the above-mentioned technical problems.
[0005] In a first aspect, this application provides an image processing method, the method comprising:
[0006] Displays the image processing interface for the first image;
[0007] Based on the image processing interface, obtain image modification instructions for the first image;
[0008] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0009] In one embodiment, the image processing interface displays an image editing request input area and a keyword display area; the keyword display area displays at least one candidate image editing keyword; based on the image processing interface, image modification instructions for the first image are obtained, including:
[0010] In response to input operations in the input area for image retouching requests, display the image retouching text request information;
[0011] In response to the selection of candidate retouching keywords, display the target retouching keywords;
[0012] Based on the image editing text requirements and / or target image editing keywords, determine the image modification instructions for the first image.
[0013] In one embodiment, an image processing interface for the first image is displayed, including:
[0014] Displays an image preview interface; the image preview interface includes an image processing entry point;
[0015] In response to a trigger operation targeting the image processing entry, the image processing interface for the first image is displayed.
[0016] In one embodiment, the image preview interface displays a first image display area and an image preview area; the first image display area is used to display a first image; the method further includes:
[0017] In response to a selection operation on the first image, the selected first image is displayed in the image preview area.
[0018] In one embodiment, a first processing step is performed on a first image based on an image modification instruction to obtain a second image, including:
[0019] In response to a second processing operation on a first image, the processed first image is displayed; wherein the second processing operation is a trigger operation for an image processing function, and the processed first image is obtained by processing the first image through the image processing function;
[0020] Based on the image modification instructions, the image generation model is used to perform the first processing on the processed first image, and the processing progress is displayed.
[0021] If the processing progress is complete, obtain the second image and display it in the reply interface.
[0022] In one embodiment, when the processing progress is "processing complete", the method further includes:
[0023] The second image is used as the newly added first image;
[0024] The first image and the newly added first image are displayed in the first image display area.
[0025] In one embodiment, the image processing interface further displays a second image display area; wherein the second image display area is used to display the first image.
[0026] In one embodiment, the first image includes an existing image, and the method further includes:
[0027] Displays an image selection interface; the image selection interface contains candidate images;
[0028] In response to a selection operation on a candidate image, an existing image is obtained; wherein the existing image contains the candidate image pointed to by the selection operation.
[0029] In one embodiment, the first image includes an existing image, and the method further includes:
[0030] Displays an image selection interface; the image selection interface contains candidate images;
[0031] In response to a first selection operation on a candidate image, an image preview interface is displayed; wherein the image preview interface displays the candidate image pointed to by the first selection operation;
[0032] In response to a trigger operation targeting the first image selection entry in the image preview interface, display the image candidate interface;
[0033] In response to a second selection operation on a candidate image, an existing image is obtained; wherein the existing image includes the candidate image pointed to by the first selection operation, and / or the candidate image pointed to by the second selection operation.
[0034] In one embodiment, the first image includes a newly selected image, and a second image selection entry is also displayed in the first image display area; the method further includes:
[0035] In response to a trigger operation targeting the second image selection entry, the image selection interface is displayed;
[0036] In response to a third selection operation on a candidate image in the image selection interface, the newly selected image and existing images are displayed in the first image display area; wherein the newly selected image is the candidate image pointed to by the third selection operation.
[0037] In one embodiment, the image processing interface further includes an image addition entry for adding a reference image; based on image modification instructions, a first processing is performed on the first image to obtain a second image, including:
[0038] Based on image modification instructions and a reference image, an image generation model is used to perform a first process on the first image to obtain a second image.
[0039] Secondly, this application also provides an image processing apparatus. The apparatus includes:
[0040] The first display module is used to display the image processing interface for the first image;
[0041] The second display module is used to obtain image modification instructions for the first image based on the image processing interface;
[0042] The third display module is used to perform a first processing on the first image based on the image modification instructions to obtain a second image; wherein, when there are at least two first images, the second image includes the target object of each first image, and the target object is determined based on the image modification instructions.
[0043] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0044] Displays the image processing interface for the first image;
[0045] Based on the image processing interface, obtain image modification instructions for the first image;
[0046] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0047] Fourthly, this application also provides a computer-readable storage medium on which a computer program is stored, and which, when executed by a processor, performs the following steps:
[0048] Displays the image processing interface for the first image;
[0049] Based on the image processing interface, obtain image modification instructions for the first image;
[0050] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0051] Fifthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps:
[0052] Displays the image processing interface for the first image;
[0053] Based on the image processing interface, obtain image modification instructions for the first image;
[0054] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0055] The aforementioned image processing method, apparatus, computer equipment, and storage medium display an image processing interface for a first image. Based on the image processing interface, image modification instructions for the first image are obtained. Based on the image modification instructions, the first image undergoes a first processing to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions. Compared to traditional, relatively simple image processing methods, this application, based on an image processing interface, obtains image modification instructions for the first image, and when there are two or more first images, processes each first image to obtain a second image containing the target objects of each first image. This not only enhances the diversity and flexibility of image processing methods but also meets users' personalized image editing needs, improves user satisfaction, and thus improves the utilization rate of image processing resources. Attached Figure Description
[0056] Figure 1 This is an application environment diagram of an image processing method provided in this embodiment;
[0057] Figure 2 This is a flowchart illustrating the first image processing method provided in this embodiment;
[0058] Figure 3 This is a schematic diagram of the image processing interface provided in this embodiment.
[0059] Figure 4 This is a flowchart illustrating the process of determining an image modification instruction for the first image in this embodiment.
[0060] Figure 5 This is a flowchart illustrating the display image processing interface provided in this embodiment;
[0061] Figure 6 This is a schematic diagram of the interface transformation of the image processing interface provided in this embodiment;
[0062] Figure 7 This is a schematic diagram of the image preview interface provided in this embodiment;
[0063] Figure 8 This is a schematic diagram of the process for displaying the second image provided in this embodiment;
[0064] Figure 9 This is a schematic diagram of the interface transformation for image processing provided in this embodiment;
[0065] Figure 10 This is a schematic diagram of the interface transformation after processing is completed, as provided in this embodiment.
[0066] Figure 11This is a schematic diagram of the process for displaying the first image provided in this embodiment;
[0067] Figure 12 This is a schematic diagram of an interface transformation where the second image is displayed as the first image, as provided in this embodiment.
[0068] Figure 13 This is a schematic diagram of the process for displaying the second image provided in this embodiment;
[0069] Figure 14 This is a schematic diagram of the first process for obtaining an existing image provided in this embodiment;
[0070] Figure 15 This is a schematic diagram of the image selection interface provided in this embodiment.
[0071] Figure 16 This is a schematic diagram of the second process for obtaining an existing image provided in this embodiment;
[0072] Figure 17 This is a schematic diagram of the interface transformation when entering the image preview interface provided in this embodiment;
[0073] Figure 18 This is a schematic diagram of the process of selecting an image based on an image processing interface provided in this embodiment;
[0074] Figure 19 This is a schematic diagram of the process for obtaining the second image provided in this embodiment;
[0075] Figure 20 This is a structural block diagram of an image processing apparatus provided in this embodiment;
[0076] Figure 21 This is an internal structural diagram of the computer device provided in this embodiment. Detailed Implementation
[0077] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0078] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
[0079] The image processing method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, that is, in the process of image processing by the terminal or by the terminal through the server, it should be noted that the image processing method can be executed on the terminal, on the server, or by interaction between the terminal and the server.
[0080] The image processing method of this application can be applied to the following scenario, wherein a server-side control terminal displays an image processing interface for a first image. The terminal can obtain image modification instructions for the first image based on the image processing interface. Based on the image modification instructions, the terminal performs a first processing on the first image to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0081] It should be noted that the above image processing method can be executed by the terminal, by the server, or by interaction between the terminal and the server.
[0082] The terminal can be a mobile phone, computer, tablet, or other device, or a smart wearable device such as a smart bracelet or smartwatch. The server refers to the application's server, which has terminal control and image processing functions. The server can be a standalone server or a server cluster.
[0083] In one embodiment, Figure 2 This is a flowchart illustrating an image processing method provided in an embodiment of this application, applied to... Figure 1 Taking the terminal in the example, the method includes the following steps:
[0084] S201, Display the image processing interface for the first image.
[0085] The image processing interface refers to the human-computer interaction interface used to process the first image.
[0086] As an optional implementation of this application, the user initiates an image processing request for the first image through a target application, and displays an image processing interface for the first image. Here, the target application refers to an application with image processing capabilities.
[0087] As another optional implementation of this application, the interactive interface of the target application has an image processing control, and in response to a trigger operation on the image processing control, an image processing interface for the first image is displayed.
[0088] As another optional implementation of this application, the user initiates an image processing request for the first image to the terminal, and the terminal displays an image processing interface for the first image.
[0089] Optionally, in this embodiment, the first image can be pre-added to the target application or pre-added to the image processing interface.
[0090] S202, Based on the image processing interface, obtain the image modification instructions for the first image.
[0091] As an optional implementation of this application, the image processing interface includes an image input area. In response to an input operation on a text input control or voice input control associated with the image editing input area, an image modification instruction for the first image is obtained.
[0092] As an optional implementation of this application, the image processing interface includes an image modification instruction query entry. In response to a trigger operation on the query entry, candidate modification instructions are displayed. In response to a selection operation on a candidate modification instruction, the candidate modification instruction pointed to by the selection operation is used as an image modification instruction to obtain an image modification instruction for the first image.
[0093] Optionally, in some embodiments, the image processing interface also displays a second image display area, which is used to display the first image.
[0094] S203, based on the image modification instruction, perform a first process on the first image to obtain a second image.
[0095] In cases where there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on image modification instructions.
[0096] The second image is obtained by processing the first image based on the image editing requirements.
[0097] As an optional implementation of this application, an image modification instruction is input into an image generation model, and the image generation model is used to perform a first processing on the first image to obtain a second image.
[0098] As another optional implementation of this application, the image modification instruction includes image editing text requirement information and / or target image editing keywords. In response to a processing operation on the first image (e.g., a triggering operation on a related control), the first image is processed using an image generation model based on the target image editing keywords and / or image editing text requirement information to obtain a second image.
[0099] In this embodiment, based on the image editing text requirements, an optional implementation method is to process the first image using an image generation model to obtain the second image. This involves obtaining optimization requirements based on the text requirements, and determining the image quality optimization direction accordingly. For example, at least one of the following: "brighten the image," "reduce saturation," "correct yellowish white balance," "enhance shadow details," and "improve sharpness." Based on the image quality optimization direction, mathematical operations are performed on the RGB / HSV values of the first image pixels. For example: brightness adjustment: uniformly add or subtract values from the brightness channel values of all pixels; contrast adjustment: stretch or compress the dynamic range of pixel values (e.g., new pixel value = (original pixel value - mean) × coefficient + mean); color balance: adjust the proportions of the red / green / blue channels to offset color casts; sharpening: calculate the difference values between pixels using convolution kernels to enhance edge contrast, thus obtaining the second image. Another optional implementation method is that the image generation model can be a deep learning model based on diffusion models, GANs, etc., which converts the image editing text requirements into feature vectors. Combined with the structural information of the first image, the image generation model generates new pixel content that meets the requirements, thus obtaining the second image.
[0100] In this embodiment, one optional implementation method for retouching a first image based on target retouching keywords and using an image generation model to obtain a second image is to input the first image and the target retouching keywords into the image generation model, which then generates the second image based on the first image. The image generation model can be a trained AI model. Another optional implementation method is to parse the target retouching keywords into content / style features based on the image generation model, combine this with the contour and structural information of the first image to generate new pixel content, thereby obtaining the second image.
[0101] In this embodiment, an optional implementation method for retouching the first image based on the retouching text requirement information and the target retouching keywords to obtain the second image is to input the retouching text requirement information, the first image, and the target retouching keywords into the image generation model, and then use the image generation model to obtain the second image based on the first image.
[0102] In this embodiment, when there are at least two first images, an optional implementation of processing the first images based on image modification instructions to obtain a second image is to process each first image using an image generation model based on the image modification instructions to obtain a second image, and then display the second image in the response interface. Another optional implementation is, when there are at least two first images, in response to a processing operation on the first image (e.g., a triggering operation on a "Next" control in the image processing interface), to perform a fusion processing on the first images using an image generation model based on the image modification instructions to obtain a second image. Another optional implementation is to acquire the image features of each first graphic. Semantic analysis is performed on the image modification instructions to obtain semantic analysis results. The image generation model is then used to perform fusion processing on the image features of each first graphic based on the semantic analysis results to obtain a second image. Yet another optional implementation is to input the image modification instructions and each first image into the image generation model, and the image generation model performs fusion processing on each first image based on the image modification instructions to obtain a second image. Finally, another optional implementation is, when there are at least two first images, to perform semantic analysis on the image modification instructions using an image generation model to determine the target object. Feature extraction is performed on each first image to obtain the target object of each first image. A combination style for the target object is determined according to the image modification instruction. Based on the combination style, the target objects of each first image are fused to obtain a second image. For example, if the image modification instruction is "Put the people in these images into the same image, and have them hold hands in a row," then the target object is people, and the combination style is "holding hands." Another optional implementation is to fuse the first images based on the image editing text requirement information and the target image editing keywords in response to the processing operation on the first images to obtain a second image. Another optional implementation is to acquire the image features of each first graphic. Semantic analysis is performed on the image editing text requirement information to obtain the semantic analysis result. The image features of each first graphic are fused based on the semantic analysis result and the target image editing keywords to obtain a second image. Yet another optional implementation is to input the image editing text requirement information, the target image editing keywords, and each first image into an image processing tool, which then fuses the first images based on the image editing text requirement information and the target image editing keywords to obtain a second image.
[0103] The aforementioned image processing method displays an image processing interface for a first image. Based on the image processing interface, image modification instructions for the first image are obtained. Based on the image modification instructions, the first image undergoes a first processing to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions. Compared to traditional, relatively simple image processing methods, this application obtains image modification instructions for the first image based on an image processing interface. Furthermore, when there are two or more first images, the second image obtained after processing each first image includes the target objects of each first image. This not only enhances the diversity and flexibility of image processing methods but also meets users' personalized image editing needs, improves user satisfaction, and ultimately improves the utilization rate of image processing resources.
[0104] In one embodiment, to obtain image modification instructions for the first image more flexibly and accurately, the image processing interface displays an image modification requirement input area and a keyword display area; the keyword display area displays at least one candidate image modification keyword, and based on this, such as Figure 4 As shown, based on the image processing interface, image modification instructions for the first image are obtained. Optional implementation methods include:
[0105] S401, in response to an input operation in the input area for image retouching requirements, displays the image retouching text requirement information.
[0106] The image processing interface displays an image retouching request input area and a keyword display area; the keyword display area shows at least one candidate retouching keyword. The image retouching request input area is the boundary area used to input image retouching requests. The keyword display area is the area used to display candidate retouching keywords. The first image refers to the image to be processed.
[0107] As an optional implementation of this application, in response to an input operation on the input control, the image editing text request information is displayed. Specifically, as shown... Figure 3 As shown, in response to a triggering operation on the associated area of the retouching request input area (e.g., clicking a blank area 301 within the retouching request input area), an input control is displayed. In response to an input operation on the input control, retouching text request information is displayed in the retouching request input area (e.g., ...). Figure 3 (The phrase "removing background passersby" appears to be unrelated and likely refers to a separate topic.)
[0108] Another optional implementation of this application is to respond to a voice input control (such as...) associated with the input area for image editing needs. Figure 3The "microphone" control 302 in the image is triggered to obtain voice messages. The voice messages are then converted into text to obtain the image editing text requirements (e.g., ...). Figure 3 (e.g., "Remove background pedestrians"). The image editing request text will be displayed in the image editing request input area.
[0109] As another optional implementation of this application, in response to an input operation (e.g., a click operation) in the image editing request input area, historical image editing request information (e.g., the previous image editing text request information) is obtained. The historical image editing request information is used as the image editing text request information and displayed in the image editing request input area.
[0110] Optionally, in some embodiments such as Figure 3 As shown, the image processing interface also displays a second image display area, which is used to display the first image.
[0111] S402, in response to the selection of candidate retouching keywords, displays the target retouching keywords.
[0112] Among them, candidate editing keywords refer to alternative editing suggestions, such as... Figure 3 The image shows options such as "texture enhancement," "remove passersby," "enhance clarity," and "image enlargement." Target retouching keywords refer to the final selected candidate retouching keywords, for example... Figure 3 The "texture-enhancing beauty" feature.
[0113] As an optional implementation of this application, in response to the selection operation for candidate retouching keywords, the candidate retouching keywords pointed to by the selection operation are used as target retouching keywords, and the target retouching keywords are displayed.
[0114] As another optional implementation of this application, in response to the selection operation of the candidate retouching keyword (e.g., the click operation of the candidate retouching keyword), the target retouching keyword is displayed in the keyword display area.
[0115] Another optional implementation of this application involves obtaining the user identity information of the first account associated with the terminal, and, with the user's consent, obtaining user preference information based on the user identity information. Then, based on the user preference information, the desired candidate image editing keywords are selected from the candidate image editing keywords as the target image editing keywords, and the target image editing keywords are displayed.
[0116] Another optional implementation of this application involves obtaining historical retouching keywords (e.g., the previously selected retouching keywords) and using these historical keywords as selected candidate retouching keywords. In response to the selection of a candidate retouching keyword, the target retouching keyword is displayed. Optionally, in this embodiment, the target retouching keyword can be displayed in the keyword display area or in the retouching request input area.
[0117] S403, Image editing text requirement information and / or target image editing keywords, determine the image modification instructions for the first image.
[0118] As an optional implementation of this application, an image modification instruction for the first image is determined based on the image editing text requirement information. For example, semantic analysis is performed on the modification text requirement information, and the semantic analysis result is used as the image modification instruction for the first image.
[0119] Another optional implementation of this application is to determine the image modification instructions for the first image based on the target image editing keywords. For example, the target image editing keywords are used as the image modification instructions for the first image.
[0120] Another optional implementation of this application involves determining an image modification instruction for the first image based on the image modification text requirement information and the target image modification keywords. An optional implementation involves using the image modification text requirement information and the target image modification keywords as the image modification instruction for the first image. Another optional implementation involves, in response to a modification instruction generation operation (e.g., clicking the "instruction generation control"), performing semantic analysis on the image modification text requirement information and the target image modification keywords based on a semantic analysis model to obtain the semantic analysis result, and using the semantic analysis result as the target image modification requirement information, which is then used as the image modification instruction. The target image modification requirement information can be displayed in the image modification requirement input area.
[0121] In this embodiment, in response to an input operation in the image editing request input area, image editing text request information is displayed. In response to the selection of candidate image editing keywords, target image editing keywords are displayed. Based on the image editing text request information and / or the target image editing keywords, an image modification instruction for the first image is determined. This embodiment not only improves the flexibility of determining image modification instructions, but also allows users to flexibly configure or input modification text request information according to their own needs, meeting users' personalized needs for image processing, improving user satisfaction, and thus improving the utilization rate of configured image resources and response resources.
[0122] Based on the above embodiments, in order to facilitate the execution of image processing operations on the first image, such as Figure 5As shown, one alternative implementation of the image processing interface includes:
[0123] S501 displays the image preview interface.
[0124] The image preview interface refers to the interface where the first image can be previewed. The image preview interface includes an image processing entry point. The image processing entry point is the entry point used to access the image processing interface.
[0125] As an optional implementation of this application, the terminal receives an image processing request for the first image initiated by the user and controls the target application to display an image preview interface.
[0126] As another optional implementation of this application, an image preview interface is displayed in response to a trigger operation on an image preview control in the target application. Here, the image preview control refers to a virtual control integrated into the target application.
[0127] S502 responds to a trigger operation on the image processing entry point by displaying an image processing interface for the first image.
[0128] As an optional implementation of this application, in response to receiving a voice control message for the image processing entry point, an image processing interface for the first image is displayed. Here, the voice control message refers to a voice message representing control of the image processing entry point.
[0129] As another optional implementation of this application, in response to a trigger operation on the entry control associated with the image processing entry, an image processing interface for the first image is displayed. For example, as shown... Figure 6 As shown, in response to a click operation on the associated control 601 associated with the image processing entry, an image processing interface for the first image is displayed.
[0130] In this embodiment, an image preview interface is displayed; wherein the image preview interface includes an image processing entry point. In response to a trigger operation on the image processing entry point, an image processing interface for the first image is displayed. Based on this embodiment, the efficiency of accessing the image processing interface can be improved, thereby improving image processing efficiency.
[0131] Based on the above embodiments, in order to facilitate the display of image details of the selected first image to the user and make it easier for the user to select the first image, the image preview interface also includes a first image display area and an image preview area. Based on this, an optional implementation method for displaying the selected first image includes:
[0132] In response to a selection operation on the first image, the selected first image is displayed in the image preview area.
[0133] The first image display area refers to the area configured within the image preview area, used to display all the first images as a whole. The image preview area is larger than the first image display area, allowing users to preview the image details of the first images and facilitating their selection.
[0134] As an optional implementation of this application, in response to a triggering operation on a first image in a first image display area, the selected first image is displayed in an image preview area. For example, as shown... Figure 7 As shown, in response to a click operation on the first image in the first image display area, the selected first image is displayed in the image preview area.
[0135] As another optional implementation of this application, the terminal performs a selection operation on each of the first images one by one according to the arrangement order of the first images at a preset time interval, and displays the selected first image in the image preview area in response to the selection operation on the first image.
[0136] In this embodiment, the image preview interface displays a first image display area and an image preview area. The first image display area is used to display the first image. In response to the selection operation of the first image, the selected first image is displayed in the image preview area. Based on the first image display area, all first images can be displayed as a whole, and the image details of the selected first image can be displayed based on the image preview area. This makes it convenient for users to view the image details of the first image and confirm whether it meets their own needs. It also makes it convenient for users to select the first image according to their own needs and the previewed image details, thereby improving user satisfaction.
[0137] In one embodiment, in order to present the image processing progress and demonstrate the second image processing effect, such as Figure 8 As shown, an optional implementation method for obtaining a second image by performing a first process on a first image based on image modification instructions and using an image generation model includes:
[0138] S801, in response to a second processing operation on the first image, displays the processed first image.
[0139] The second processing operation is a trigger operation for the image processing function, and the processed first image is obtained by further processing the first image using the image processing function. Optionally, in this embodiment, as follows... Figure 7 As shown, the image preview interface also displays a processing function display area, which shows various image processing functions. Each image can be processed individually based on these functions. These image processing functions include, but are not limited to, filters, adding text, adding markers, stickers, and cropping.
[0140] As an optional implementation of this application, in response to a selection operation on a first image, the selected first image is displayed. In response to a selection operation on an image processing function, the selected processing function is displayed. Based on the selected processing function, a second processing operation is performed on the selected first image, and the processed first image is displayed.
[0141] As another optional implementation of this application, in response to a selection operation for an image processing function, the selected processing function is displayed. Based on the selected processing function, a second processing operation is performed on each first image, and the processed first image is displayed.
[0142] S802, based on the image modification instruction, uses the image generation model to perform the first processing on the processed first image and displays the processing progress.
[0143] Optionally, in this embodiment, the processing operation for the first image can be a triggering operation for a target control in the image processing interface, for example, such as... Figure 3 As shown, this could be a click operation on the "Generate" control in the image processing interface.
[0144] As an optional implementation of this application, in response to the image processing operation on the first image, based on the image modification instruction, the processed first image is processed using an image generation model, and the processing progress of the second image is displayed in the processing progress interface.
[0145] Another optional implementation of this application is as follows: In response to an image processing operation on a first image, based on an image modification instruction, a first processing is performed on the processed first image using an image generation model, and an image preview interface is displayed, with the processing progress displayed on the associated control at the image processing entry point. For example, as shown... Figure 9 As shown, in response to a trigger operation on the "Generate" control in the image processing interface, an image preview interface is displayed, and the processing progress of the second image is displayed on the associated control of the image processing entry. The processing progress includes processing percentage information (e.g., Figure 9 The “50%” in the text and text prompts (e.g., Figure 9 (The "group photo reunion effect is being generated" in the image).
[0146] S803: When the processing progress is "processing complete", obtain the second image and display the second image in the reply interface.
[0147] As an optional implementation of this application, when the processing progress indicates processing is complete, a second image is obtained and displayed in the image preview area of the image preview interface, along with a processing completion notification message. For example, as shown... Figure 10 As shown, when the processing progress indicates completion, the second image is displayed in the image preview area of the image preview interface, along with a processing completion message. The processing completion message is also displayed on the associated control at the image processing entry point (e.g., ...). Figure 10 The "Group photo effect generated" message is displayed. This is in response to the processing completion control (e.g., ...) on the image preview interface. Figure 10 The system triggers a "Complete" control to obtain a second image, which is then displayed in the reply interface. Optionally, the reply interface may display the first image in addition to the second. It should be noted that the reply content generation control also displays modification controls for each image, used to adjust the images. These modification controls include, but are not limited to, deletion controls and image addition entries. In response to the triggering of the image addition entry, an image selection interface is displayed, allowing the user to select the desired image, which is then displayed in the reply interface.
[0148] In this embodiment, in response to the processing operation on the first image, the processing progress of the second image is displayed. When the processing progress indicates completion, the second image is displayed in the image preview area. In response to the triggering operation of the processing completion control on the image preview interface, the second image is obtained and displayed in the response interface. This embodiment not only displays the image progress in real time, but also displays the second image in the image preview area when the processing progress indicates completion, allowing users to easily view the image processing effect.
[0149] Based on the above embodiments, in order to facilitate multi-round processing of the obtained second image, such as... Figure 11 As shown, when the processing progress is "processing complete", an optional implementation of an image processing method includes:
[0150] S1101, the second image is used as the newly added first image.
[0151] S1102, the first image and the newly added first image are displayed in the first image display area.
[0152] Optionally, in this embodiment, a new display area is added to the first graphic display area to display the newly added first image. That is, when the processing progress is complete, the second image is directly used as the first image and added to the first image display area, facilitating the next round of processing on the processed second image. For example, as shown... Figure 10 ( Figure 10As shown in the right-hand diagram, when the processing progress is complete, the second image is treated as the newly added first image, and both the first image and the newly added first image are displayed in the first image display area. Based on the above embodiment, in response to a trigger operation on the image processing entry point (i.e., the associated control associated with the image processing entry point), an image processing interface for the first image is displayed, as shown below. Figure 12 As shown, the first image at this time includes both the historical first image and the newly added first image, such as... Figure 12 As shown, the image processing interface displays a second image display area, which contains the first image. This means that no additional processing is needed for the second image; after its generation, it can be directly used as the newly added first image for quick execution of the next round of processing. Optionally, when performing the next round of processing on the second image (the newly added image), the retouching text requirement information in the image processing interface is the same as the previous retouching text requirement information. The retouching keywords are the target retouching keywords from the previous process.
[0153] In this embodiment, when the processing progress is complete, the second image is treated as a newly added first image, and both the first image and the newly added first image are displayed in the first image display area. If the second image needs to undergo another round of processing, the image processing entry can be triggered directly to enter the image processing interface. Based on the image processing interface, the first image (which includes the historical first image and the newly added first image (i.e., the second image)) can undergo another round of processing, thus improving image processing efficiency. If the second image does not need to undergo another round of processing, the second image can be saved by clicking the "Complete" control in the image preview interface.
[0154] In one embodiment, to enhance the fun and innovation of image processing, when the number of first images is at least two, such as... Figure 13 As shown, another optional implementation of obtaining a second image by performing a first process on a first image based on image modification instructions includes:
[0155] S1301, based on the image modification instruction, process each of the first images to obtain the second image.
[0156] In this embodiment, the image modification instructions are determined based on the image text requirement information and / or the target image modification keywords.
[0157] As an optional implementation of this application, in response to a processing operation on a first image, the first image is fused based on the image editing text requirement information to obtain a second image. Another optional implementation involves acquiring the image features of each first graphic. Semantic analysis is performed on the image editing text requirement information to obtain the semantic analysis result. Based on the semantic analysis result, the image features of each first graphic are fused to obtain the second image. Yet another optional implementation involves inputting the image editing text requirement information and each first image into an image processing tool, whereby the image processing tool fuses the first images based on the image editing text requirement information to obtain the second image.
[0158] Another optional implementation of this application embodiment is that, in response to the processing operation on the first image, the first image is fused based on the target retouching keywords to obtain the second image. Another optional implementation is to acquire the image features of each first image. The image features of each first image are then fused based on the target retouching keywords to obtain the second image. Yet another optional implementation is to input the target retouching keywords and each first image into an image processing tool, which then fuses the first images based on the retouching text requirement information and the target retouching keywords to obtain the second image.
[0159] As another optional implementation of this application, in response to the processing operation on the first image, the first image is fused based on the retouching text requirement information and the target retouching keywords to obtain the second image. An optional implementation involves acquiring the image features of each first image. Semantic analysis is performed on the retouching text requirement information to obtain the semantic analysis result. Based on the semantic analysis result and the target retouching keywords, the image features of each first image are fused to obtain the second image. Another optional implementation involves inputting the retouching text requirement information, the target retouching keywords, and each first image into an image processing tool, which then performs fusion processing on each first image based on the retouching text requirement information and the target retouching keywords to obtain the second image.
[0160] S1302, display the second image.
[0161] It should be noted that the specific method of displaying the second image is described in detail in the above embodiments and will not be repeated here.
[0162] In this embodiment, in response to a processing operation on the first image, the first image is fused based on the retouching text requirement information and / or target retouching keywords to obtain a second image, which is then displayed. This embodiment achieves fusion processing of multiple images, thus increasing the interest in image processing, providing a novel image processing method, and increasing the utilization rate of image processing resources.
[0163] In one embodiment, to facilitate flexible addition of a first image by the user, the first image in this embodiment includes an existing image, and based on this, such as... Figure 14 As shown, an optional implementation of an image processing method further includes:
[0164] S1401, Display image selection interface.
[0165] The image selection interface includes candidate images.
[0166] As an optional implementation of this application, the image selection interface is displayed upon receiving a trigger operation for the image selection interface. For example, the image selection interface is displayed in response to a trigger operation for the image selection control. The image selection control can be configured on any interface of the target application.
[0167] Another optional implementation of this application is to send a control command to the terminal so that the terminal controls the target application to display an image selection interface.
[0168] For example, a schematic diagram of the image selection interface is shown below. Figure 15 As shown in the image selection interface, candidate images and image selection restrictions are displayed, for example... Figure 15 The text states that "a maximum of 9 images are supported."
[0169] S1402, in response to the selection operation for the candidate image, obtain the existing image.
[0170] The existing images include candidate images that the selection operation points to. The selection operation can be a tap or a long press on a candidate image.
[0171] In this embodiment, an image selection interface is displayed. In response to a selection operation on a candidate image, existing images are obtained; wherein, the existing images include the candidate image pointed to by the selection operation. This embodiment facilitates the selection of a first image based on the image selection interface, improving image selection efficiency.
[0172] In one embodiment, to improve the flexibility of the first image selection, such as Figure 16 As shown, another optional implementation of the image processing method includes:
[0173] S1601, Display image selection interface.
[0174] The image selection interface includes candidate images.
[0175] S1602, in response to the first selection operation for the candidate image, displays the image preview interface.
[0176] The image preview interface displays the candidate image pointed to by the first selection operation.
[0177] Optionally, in this embodiment, the first selection operation for a candidate image can be a trigger operation for a target control in the image selection interface. For example, such as... Figure 17 As shown, in response to a trigger action (e.g., a click action) on the "Done" control in the image selection interface, an image preview interface is displayed.
[0178] S1603, in response to a trigger operation on the first image selection entry in the image preview interface, displays the image candidate interface.
[0179] The first image selection entry refers to the image selection entry configured in the image preview interface, for example... Figure 17 The entry point corresponding to the "+" control in the text.
[0180] Optionally, in this embodiment, in response to a triggering operation (e.g., a click operation) on the first image selection entry in the image preview interface, an image candidate interface is displayed.
[0181] S1604, in response to a second selection operation for a candidate image, obtain the existing image.
[0182] The existing images include the candidate image pointed to by the first selection operation and / or the candidate image pointed to by the second selection operation.
[0183] Optionally, in this embodiment, the existing image includes the candidate image pointed to by the first selection operation and the candidate image pointed to by the second selection operation. That is, in this embodiment, both the candidate image pointed to by the first selection operation and the candidate image pointed to by the second selection operation are used as the first image.
[0184] In this embodiment, the user can select the first image based on the image selection interface, and can also return to the image selection interface again through the first selection entry in the image preview interface to select the first image again, which increases the flexibility of image selection.
[0185] Based on the above embodiments, to further enhance the flexibility of image selection, the first image also includes a newly selected image, and the first image display area also displays a second image selection entry. Furthermore, as shown in the example... Figure 18 As shown, an optional implementation of an image processing method includes:
[0186] S1801, in response to a trigger operation for the second image selection entry, displays the image selection interface.
[0187] The second image selection entry refers to the image selection entry configured on the image processing interface.
[0188] Optionally, in this embodiment, the image selection interface is displayed in response to a trigger operation targeting the second image selection entry. For example, the image selection interface is displayed in response to a trigger operation (e.g., a click operation) targeting a target control associated with the second image selection entry (such as a "+" control in an image processing interface).
[0189] S1802, in response to a third selection operation for candidate images in the image selection interface, displays the newly selected image and existing images in the first image display area.
[0190] The newly selected image is the candidate image pointed to by the third selection operation.
[0191] Optionally, the image processing interface in this embodiment also includes an image change control, which allows for changes to each first image, such as deletion, making it easier for users to flexibly adjust the first image.
[0192] In this embodiment, in response to a trigger operation on the second image selection entry, an image selection interface is displayed. In response to a third selection operation on a candidate image in the image selection interface, a newly selected image and existing images are displayed in the first image display area; wherein, the newly selected image is the candidate image pointed to by the third selection operation. In this embodiment, a new image can also be selected again through the image selection entry in the image processing interface, and the newly selected image is used as the first image, further improving the user's flexibility in selecting images.
[0193] In one embodiment, to make the obtained second image better meet the user's needs, the image processing interface in this embodiment also includes an image addition entry for adding a reference image. Based on this, such as... Figure 19 As shown, an optional implementation method for obtaining a second image by performing a first process on a first image based on image modification instructions and using an image generation model includes:
[0194] S1901, based on the image modification instructions and the reference image, the first image is processed using an image generation model to obtain the second image.
[0195] The reference image refers to an image that serves as a reference, guiding the image generation model to process the first image based on image modification instructions.
[0196] As an optional implementation of this application, an image encoder in the image generation model is used to encode the reference image into a high-dimensional feature vector. The high-dimensional feature vector is then injected into the cross-attention layer of the image generation model. When the image generation model processes the first image based on image modification instructions, it retrieves the high-dimensional feature vector from the cross-attention layer, learns the style and content of the reference image, and performs a first processing on the first image based on the learned style and content and the image modification instructions to obtain the second image.
[0197] Another optional implementation of this application involves using an image generation model to perform semantic analysis on the image modification instructions, and determining the target object based on the semantic analysis results. The structural and style information of the target object is obtained from reference images. The target object is extracted from each first image. Based on the structural and style information, the target objects in each first image are fused to obtain a second image.
[0198] In this embodiment, based on image modification instructions and a reference image, an image generation model is used to perform a first process on the first image to obtain a second image. This embodiment not only more clearly expresses the user's image processing needs but also facilitates the image generation model in combining the reference image and image modification instructions to generate a second image that better meets the user's requirements, thereby improving user satisfaction.
[0199] In one embodiment, the image processing method described above can be applied to private chat or group chat scenarios, as well as to comment scenarios, such as comments on media content or notes. Taking a private chat or group chat scenario as an example, an optional implementation of a content publishing method includes: displaying a content editing interface; wherein the content editing interface is accessed via a conversation interaction interface. In response to an editing operation on a first image, displaying an image processing interface for the first image; wherein the first image is received via the content editing interface. Based on the image processing interface, receiving an image modification instruction for the first image. Based on the image modification instruction, performing a first processing on the first image using an image generation model to obtain a second image; wherein, when the number of first images is at least two, the second image includes the target object of each first image, and the target object is determined based on the image modification instruction. In response to a content sending operation, displaying target conversation content in the conversation interaction interface; wherein the target conversation content includes the second image.
[0200] In one embodiment, taking the application of an image processing method to a comment scenario as an example, an optional implementation of a content publishing method involves displaying a reply interface for the target content. In response to an editing operation on a first image, an image processing interface for the first image is displayed; wherein the first image is received via the reply interface. Based on the image processing interface, an image modification instruction for the first image is obtained. Based on the image modification instruction, the first image is processed using an image generation model to obtain a second image; wherein, when there are at least two first images, the second image includes the target object of each first image, and the target object is determined based on the image modification instruction. In response to a content publishing operation, reply content for the target content is published; wherein the reply content includes the second image. In this embodiment, the target content is media content in the comment interface, for example, it could be note content.
[0201] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0202] Based on the same inventive concept, this application also provides an image processing apparatus for implementing the image processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more image processing apparatus embodiments provided below can be found in the limitations of the image processing method described above, and will not be repeated here.
[0203] In one embodiment, by Figure 20 A structural block diagram of an image processing apparatus in one embodiment is shown. Figure 20 As shown, an image processing apparatus 1 is provided, the apparatus comprising: a first display module 10, a second display module 20, and a third display module 30, wherein:
[0204] The first display module 10 is used to display an image processing interface for the first image;
[0205] The second display module 20 is used to obtain image modification instructions for the first image based on the image processing interface;
[0206] The third display module 30 is used to perform a first processing on the first image based on the image modification instruction to obtain a second image; wherein, when the number of the first images is at least two, the second image includes the target object of each of the first images, and the target object is determined based on the image modification instruction.
[0207] In one embodiment, the image processing interface displays an image editing request input area and a keyword display area; the keyword display area displays at least one candidate image editing keyword; the second display module is further specifically used for:
[0208] In response to input operations in the input area for image retouching requests, display the image retouching text request information;
[0209] In response to the selection of candidate retouching keywords, display the target retouching keywords;
[0210] Based on the image editing text requirements and / or target image editing keywords, determine the image modification instructions for the first image.
[0211] In one embodiment, the first display module is further specifically used for:
[0212] Displays an image preview interface; the image preview interface includes an image processing entry point;
[0213] In response to a trigger operation targeting the image processing entry, the image processing interface for the first image is displayed.
[0214] In one embodiment, the image preview interface displays a first image display area and an image preview area; the first image display area is used to display a first image; an image processing device 1 further includes:
[0215] The fourth display module is used to display the selected first image in the image preview area in response to a selection operation on the first image.
[0216] In one embodiment, the third display module is further specifically used for:
[0217] In response to a second processing operation on a first image, the processed first image is displayed; wherein the second processing operation is a trigger operation for an image processing function, and the processed first image is obtained by processing the first image through the image processing function;
[0218] Based on the image modification instructions, the image generation model is used to perform the first processing on the processed first image, and the processing progress is displayed.
[0219] If the processing progress is complete, obtain the second image and display it in the reply interface.
[0220] In one embodiment, when the processing progress indicates that processing is complete, the third display module is further specifically used for:
[0221] The second image is used as the newly added first image;
[0222] The first image and the newly added first image are displayed in the first image display area.
[0223] In one embodiment, the image processing interface further displays a second image display area; wherein the second image display area is used to display the first image.
[0224] In one embodiment, the first image includes an existing image, and an image processing device 1 further includes:
[0225] The fifth display module is used to display the image selection interface; the image selection interface contains candidate images.
[0226] The first acquisition module is used to obtain an existing image in response to a selection operation on a candidate image; wherein the existing image includes the candidate image pointed to by the selection operation.
[0227] In one embodiment, the first image includes an existing image, and an image processing device 1 further includes:
[0228] The sixth display module is used to display the image selection interface; the image selection interface contains candidate images.
[0229] The seventh display module is used to display an image preview interface in response to a first selection operation on a candidate image; wherein the image preview interface displays the candidate image pointed to by the first selection operation;
[0230] The eighth display module is used to display the image candidate interface in response to a trigger operation on the first image selection entry in the image preview interface;
[0231] The second acquisition module is used to obtain an existing image in response to a second selection operation on a candidate image; wherein the existing image includes the candidate image pointed to by the first selection operation and / or the candidate image pointed to by the second selection operation.
[0232] In one embodiment, the first image includes a newly selected image, and a second image selection entry is also displayed in the first image display area; an image processing device 1 further includes:
[0233] The ninth display module is used to display the image selection interface in response to a trigger operation on the second image selection entry.
[0234] The tenth display module is used to display the newly selected image and existing images in the first image display area in response to the third selection operation on the candidate image in the image selection interface; wherein the newly selected image is the candidate image pointed to by the third selection operation.
[0235] In one embodiment, the image processing interface further includes an image addition entry for adding a reference image; the third display module is further specifically used for:
[0236] Based on image modification instructions and a reference image, an image generation model is used to perform a first process on the first image to obtain a second image.
[0237] In one embodiment, a computer device is provided, which may be a platform-side device, and its internal structure diagram may be as follows: Figure 21 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores image information. The network interface communicates with an external user via a network connection. When the computer program is executed by the processor, it implements an image processing method.
[0238] Those skilled in the art will understand that Figure 21 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specifically, the computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0239] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0240] Displays the image processing interface for the first image;
[0241] Based on the image processing interface, obtain image modification instructions for the first image;
[0242] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0243] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0244] Displays the image processing interface for the first image;
[0245] Based on the image processing interface, obtain image modification instructions for the first image;
[0246] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0247] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0248] Displays the image processing interface for the first image;
[0249] Based on the image processing interface, obtain image modification instructions for the first image;
[0250] Based on image modification instructions, a first image is processed to obtain a second image; wherein, when there are at least two first images, the second image includes the target objects of each of the first images, and the target objects are determined based on the image modification instructions.
[0251] It should be noted that the data involved in this application (including but not limited to messages and information during the interaction process) are all data that have been fully authorized by all parties, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0252] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0253] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0254] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An image processing method, characterized in that, The method includes: Displays the image processing interface for the first image; Based on the image processing interface, obtain image modification instructions for the first image; Based on the image modification instructions, the first image is subjected to a first process to obtain a second image; wherein, when the number of the first images is at least two, the second image includes the target object of each of the first images, and the target object is determined based on the image modification instructions.
2. The method according to claim 1, characterized in that, The image processing interface displays an image editing request input area and a keyword display area; the keyword display area displays at least one candidate image editing keyword; the step of obtaining image modification instructions for the first image based on the image processing interface includes: In response to an input operation in the input area for the image retouching request, display the image retouching text request information; In response to the selection of the candidate retouching keywords, the target retouching keywords are displayed; Based on the image editing text requirement information and / or the target image editing keywords, determine the image modification instructions for the first image.
3. The method according to claim 1, characterized in that, The image processing interface displayed for the first image includes: Display an image preview interface; wherein, the image preview interface includes an image processing entry point; In response to a trigger operation on the image processing entry point, an image processing interface for the first image is displayed.
4. The method according to claim 2, characterized in that, The image preview interface displays a first image display area and an image preview area; the first image display area is used to display the first image; the method further includes: In response to a selection operation on the first image, the selected first image is displayed in the image preview area.
5. The method according to claim 3, characterized in that, The first processing of the first image based on the image modification instruction to obtain the second image includes: In response to a second processing operation on the first image, the processed first image is displayed; wherein the second processing operation is a trigger operation for an image processing function, and the processed first image is obtained by processing the first image through the image processing function; Based on the image modification instructions, the first image after processing is processed using an image generation model, and the processing progress is displayed. If the processing progress indicates that the processing is complete, the second image is obtained and displayed in the response interface.
6. The method according to claim 4, characterized in that, If the processing progress indicates that processing is complete, the method further includes: The second image is used as the newly added first image; The first image and the newly added first image are displayed in the first image display area.
7. The method according to any one of claims 1-6, characterized in that, The image processing interface also displays a second image display area; wherein the second image display area is used to display the first image.
8. The method according to claim 7, characterized in that, The first image includes an existing image, and the method further includes: Display an image selection interface; wherein, the image selection interface contains candidate images; In response to a selection operation on the candidate image, the existing image is obtained; wherein the existing image includes the candidate image pointed to by the selection operation.
9. The method according to claim 7, characterized in that, The first image includes an existing image, and the method further includes: Display an image selection interface; wherein, the image selection interface contains candidate images; In response to a first selection operation on the candidate image, an image preview interface is displayed; wherein the image preview interface displays the candidate image pointed to by the first selection operation; In response to a trigger operation on the first image selection entry in the image preview interface, the image candidate interface is displayed; In response to a second selection operation on the candidate image, the existing image is obtained; wherein the existing image includes the candidate image pointed to by the first selection operation, and / or the candidate image pointed to by the second selection operation.
10. The method according to claim 8 or 9, characterized in that, The first image includes a newly selected image, and the first image display area also displays a second image selection entry; the method further includes: In response to a trigger operation targeting the second image selection entry, an image selection interface is displayed; In response to a third selection operation on a candidate image in the image selection interface, the newly selected image and the existing image are displayed in the first image display area; wherein the newly selected image is the candidate image pointed to by the third selection operation.
11. The method according to any one of claims 1-6, characterized in that, The image processing interface also includes an image addition entry for adding a reference image; the first processing of the first image based on the image modification instruction to obtain the second image includes: Based on the image modification instructions and the reference image, the first image is processed using an image generation model to obtain a second image.
12. An image processing apparatus, characterized in that, The device includes: The first display module is used to display the image processing interface for the first image; The second display module is used to obtain image modification instructions for the first image based on the image processing interface; The third display module is used to perform a first processing on the first image based on the image modification instruction to obtain a second image; wherein, when the number of the first images is at least two, the second image includes the target object of each of the first images, and the target object is determined based on the image modification instruction.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 11.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the image processing method as described in any one of claims 1 to 11.
15. A computer program product comprising computer-executable instructions, characterized in that, The instructions are executed by the processor to implement the image processing method according to any one of claims 1 to 11.