Content publishing method and device, computer equipment and storage medium

By displaying an image processing interface within short videos and using an image generation model to process images, generating a second image, and then publishing it, the problem of limited image content selection is solved, improving the utilization rate of image resources and user satisfaction.

CN121979431APending Publication Date: 2026-05-05SHUXING TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

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

Technical Problem

Existing short videos suffer from limited image content selection, lack of appeal, and low utilization of image resources.

Method used

A content publishing method is provided, which involves displaying an image processing interface, obtaining image modification instructions, processing the image using an image generation model, generating a second image, and publishing it in the reply content.

Benefits of technology

It enhanced the richness and interest of the replies, improved the utilization rate of image resources, and increased user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121979431A_ABST
    Figure CN121979431A_ABST
Patent Text Reader

Abstract

The invention discloses a content publishing method and device, computer equipment and a storage medium. Belongs to the technical field of Internet. The method specifically comprises the following steps: displaying a reply interface for target content; and displaying an image processing interface for the first image in response to an editing operation for the first image. Based on the image processing interface, obtaining an image modification instruction for the first image; and based on the image modification instruction, performing first processing on the first image by using an image generation model to obtain a second image. Responding to the content publishing operation, and publishing reply content for the target content; wherein the reply content comprises the second image. Compared with an existing reply mode of selecting the image content from the image library, the processing operation can be executed on the first image to obtain the second image, and the reply content including the second image can be published, so that the richness and interestingness of the reply content are improved, the user satisfaction is improved, and the utilization rate of image resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, specifically to a content publishing method, apparatus, computer device, and storage medium. Background Technology

[0002] With the rapid development of short video technology, users can publish media content through short video applications, and they can also participate in commenting on media content through short video applications.

[0003] Most of the media content currently published includes text and images. However, most of the images are selected from stock photo libraries. This method of obtaining images is rather simplistic and lacks appeal, resulting in low utilization of image resources when publishing content. Summary of the Invention

[0004] Therefore, it is necessary to provide a content publishing method, apparatus, computer equipment, and storage medium that can improve the utilization rate of image resources to address the aforementioned technical problems.

[0005] Firstly, this application provides a content publishing method, which includes:

[0006] Displays a response interface for the target content;

[0007] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0008] Based on the image processing interface, obtain image modification instructions for the first image;

[0009] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0010] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0011] 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.

[0012] Based on the image processing interface, obtain image modification instructions for the first image, including:

[0013] In response to input operations in the input area for image retouching requests, display the image retouching text request information;

[0014] In response to the selection of candidate retouching keywords, display the target retouching keywords;

[0015] Based on the image editing text requirements and / or target image editing keywords, determine the image modification instructions for the first image.

[0016] In one embodiment, the response interface includes an image generation entry point;

[0017] In response to an editing operation on the first image, an image processing interface for the first image is displayed, including:

[0018] In response to a trigger operation on the image generation entry point, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0019] In response to the first selection operation on the candidate image, an image preview interface is displayed; wherein the image preview interface contains an image processing entry point;

[0020] In response to a trigger operation targeting the image processing entry, the image processing interface for the first image is displayed.

[0021] 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:

[0022] In response to a selection operation on the first image, the selected first image is displayed in the image preview area.

[0023] In one embodiment, based on image modification instructions, a first image is processed using an image generation model to obtain a second image, including:

[0024] 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;

[0025] 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.

[0026] If the processing progress is complete, obtain the second image and display it in the reply interface.

[0027] In one embodiment, when the processing progress is "processing complete", obtaining a second image and displaying the second image in the response interface includes:

[0028] In response to the triggering operation of the processing completion control for the image preview interface, the second image is obtained and displayed in the reply interface.

[0029] In one embodiment, when the processing progress is "processing complete", the method further includes:

[0030] The second image is used as the newly added first image;

[0031] The first image and the newly added first image are displayed in the first image display area.

[0032] In one embodiment, the reply interface also displays a text input area, which, in response to a content publishing operation, publishes reply content targeting the content, including:

[0033] In response to input in the text input area, display the text reply content;

[0034] In response to a content publishing operation, a reply is published targeting the content; the reply includes a text reply and a second image.

[0035] In one embodiment, when the number of first images is at least two, the first images are processed using an image generation model based on image modification instructions to obtain a second image, including:

[0036] Based on the image modification instructions, the first images are processed using an image generation model to obtain a second image, which is then displayed in the response interface. The second image includes the target object of each first image, and the target object is determined based on the image modification instructions.

[0037] 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.

[0038] In one embodiment, the first image includes an existing image, and the method further includes:

[0039] In response to a first selection operation on a candidate image, an existing image is obtained; wherein the existing image contains the candidate image pointed to by the first selection operation.

[0040] In one embodiment, the first image includes an existing image, and the image preview interface displays a candidate image pointed to by the first selection operation; the method further includes:

[0041] In response to a trigger operation on the first image selection entry in the image preview interface, the image selection interface is displayed;

[0042] 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.

[0043] In one embodiment, 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:

[0044] In response to a trigger operation targeting the second image selection entry, the image selection interface is displayed;

[0045] 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.

[0046] 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 using an image generation model to obtain a second image, including:

[0047] 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.

[0048] Secondly, this application provides a content publishing method, which includes:

[0049] Displays the content editing interface; the content editing interface is accessed via the conversational interface.

[0050] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a content editing interface;

[0051] Based on the image processing interface, receive image modification instructions for the first image;

[0052] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0053] In response to a content sending operation, the target session content is displayed in the session interaction interface; wherein the target session content includes a second image.

[0054] Thirdly, this application also provides a content publishing device. The device includes:

[0055] The first display module is used to display the response interface for the target content;

[0056] The second display module is used to display an image processing interface for the first image in response to an editing operation on the first image; wherein the first image is received via a response interface;

[0057] The third display module is used to obtain image modification instructions for the first image based on the image processing interface;

[0058] The fourth display module is used to perform a first process on the first image based on the image modification instructions and using an image generation model to obtain a second image;

[0059] The publishing module is used to respond to content publishing operations and publish reply content for the target content; wherein, the reply content includes a second image.

[0060] Fourthly, 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:

[0061] Displays a response interface for the target content;

[0062] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0063] Based on the image processing interface, obtain image modification instructions for the first image;

[0064] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0065] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0066] Fifthly, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the following steps:

[0067] Displays a response interface for the target content;

[0068] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0069] Based on the image processing interface, obtain image modification instructions for the first image;

[0070] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0071] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0072] Sixthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps:

[0073] Displays a response interface for the target content;

[0074] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0075] Based on the image processing interface, obtain image modification instructions for the first image;

[0076] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0077] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0078] The aforementioned content publishing method, apparatus, computer equipment, and storage medium display a response interface for 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 response interface. Based on the image processing interface, image modification instructions for the first image are obtained. Based on the image modification instructions, the first image is processed using an image generation model to obtain a second image. In response to a content publishing operation, response content for the target content is published; wherein the response content includes the second image. Compared to existing response methods that select image content from a gallery, this application can perform processing operations on the first image to obtain a second image, and can publish response content containing the second image, thereby improving the richness and interest of the response content, increasing user satisfaction, and ultimately improving the utilization rate of image resources. Attached Figure Description

[0079] Figure 1 This is an application environment diagram of a content publishing method provided in this embodiment;

[0080] Figure 2 This is a flowchart illustrating the first content publishing method provided in this embodiment;

[0081] Figure 3 This is a schematic diagram of the interface transformation when entering the image processing interface provided in this embodiment.

[0082] Figure 4 This is a flowchart illustrating the process of determining an image modification instruction for the first image in this embodiment.

[0083] Figure 5 This is a flowchart illustrating the image processing interface for the first image provided in this embodiment;

[0084] Figure 6 This is a schematic diagram of the interface transformation of the image processing interface provided in this embodiment;

[0085] Figure 7 This is a schematic diagram of the image preview interface provided in this embodiment;

[0086] Figure 8 This is a schematic diagram illustrating the process of displaying a second image in the response interface provided in this embodiment;

[0087] Figure 9 This is a schematic diagram of the interface transformation for image processing provided in this embodiment;

[0088] Figure 10 This is a schematic diagram of the interface transformation after processing is completed, as provided in this embodiment.

[0089] Figure 11 This is a schematic diagram of the process for displaying the first image provided in this embodiment;

[0090] 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.

[0091] Figure 13 This is a schematic diagram illustrating the process of displaying a second image in the response interface provided in this embodiment;

[0092] Figure 14 This is a schematic diagram illustrating the process of obtaining an existing image in this embodiment;

[0093] Figure 15 This is a schematic diagram of the interface transformation when entering the image preview interface provided in this embodiment;

[0094] Figure 16 A schematic diagram of the image selection interface provided in this embodiment;

[0095] Figure 17 This is a schematic diagram illustrating the process of displaying a newly selected image and an existing image in the first image display area, as provided in this embodiment.

[0096] Figure 18 This is a flowchart illustrating the process of publishing a response to the target content provided in this embodiment.

[0097] Figure 19 This is a schematic diagram of the process for obtaining the second image provided in this embodiment;

[0098] Figure 20 This is a flowchart illustrating the second content publishing method provided in this embodiment;

[0099] Figure 21 This is a structural block diagram of a content publishing device provided in this embodiment;

[0100] Figure 22 This is an internal structural diagram of the computer device provided in this embodiment. Detailed Implementation

[0101] 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.

[0102] 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.

[0103] The content publishing method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, that is, in the process of content publishing by the terminal or the terminal through the server, it should be noted that the content publishing method can be executed on the terminal, on the server, or by interaction between the terminal and the server.

[0104] The content publishing method of this application can be applied in the following scenarios, wherein a terminal displays a reply interface for the target content. In response to an editing operation initiated by the terminal for a first image, the server controls the terminal to display an image processing interface for the first image; wherein the first image is received via the reply interface. The terminal obtains 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 using an image generation model to obtain a second image. In response to a content publishing operation performed by the terminal, the server controls the terminal to publish reply content for the target content; wherein the reply content includes the second image.

[0105] 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 content publishing functions. The server can be a standalone server or a server cluster.

[0106] In one embodiment, Figure 2 This is a flowchart illustrating a content publishing method provided in an embodiment of this application, applied to... Figure 1 Taking the terminal in the example, the method includes the following steps:

[0107] S201, Displays the response interface for the target content.

[0108] The target content can be notes or other forms of media content or media assets.

[0109] An optional implementation of this application involves displaying a content display interface (e.g., a notes display interface); wherein the content display interface includes one or more candidate content items. In response to a trigger operation on a content evaluation entry point, the candidate content associated with the content evaluation entry point is selected as the target content, and a response interface for the target content is displayed. For example, as shown... Figure 3 As shown in Figure A, the content display interface contains more than one candidate note. In response to a "comment" control for a specific candidate note, a reply interface for the target content is displayed (e.g., ...). Figure 3 As shown in B).

[0110] Another optional implementation of this application embodiment is to display an activity participation interface; wherein the activity participation interface includes an activity participation entry for one or more candidate activities; each candidate activity corresponds to a type of content. In response to a trigger operation for an activity participation entry, the candidate activity associated with that activity participation entry is taken as the target activity, the activity content of the target activity (e.g., posting Spring Festival notes) is taken as the target content, and a reply interface for the target content is displayed.

[0111] S202, in response to an editing operation on the first image, an image processing interface for the first image is displayed.

[0112] The image processing interface displays an input area for image retouching requirements. The first image is received via the response interface. The first image refers to the image to be processed, and there can be more than one such image.

[0113] As an optional implementation of this application, the editing operation on the first image can be a click operation or a voice control operation. For example, in response to a "long press" operation on the first image, an image processing interface for the first image is displayed. For example, in response to a received voice control operation on the first image, an image processing interface for the first image is displayed; wherein, the voice control operation represents the control to perform an editing operation on the first image.

[0114] As another optional implementation of this application, in response to a trigger operation on the image generation entry point, an image processing interface for the first image is displayed. That is, the response interface includes or displays the image generation entry point. The image generation entry point refers to the entry point used to perform editing operations on the first image.

[0115] As another optional implementation of this application, in response to a voice control operation on the image generation entry, an image processing interface for the first image is displayed.

[0116] As another optional implementation of this application, in response to a trigger operation of the associated control associated with the image generation entry, an image processing interface for the first image is displayed. For example, as shown... Figure 3 As shown, this responds to the associated controls (such as those related to the image generation entry point) Figure 3 Clicking the "Album" control 301 in B displays the image processing interface for the first image.

[0117] Optionally, in this embodiment, the first image can be pre-added to the target application or pre-added to the image processing interface, or the first image can be added based on the reply interface. The first image can also be a first image that has been processed and then used again as the first image for editing operations, thus realizing multiple rounds of processing of the first image.

[0118] S203, based on the image processing interface, obtain the image modification instructions for the first image.

[0119] 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.

[0120] 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.

[0121] Optionally, in some embodiments, the image processing interface also displays a second image display area, which is used to display the first image.

[0122] S204, based on the image modification instruction, the first image is processed using an image generation model to obtain the second image.

[0123] The second image is obtained by processing the first image based on the image editing requirements.

[0124] 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.

[0125] 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.

[0126] In this embodiment, based on the image editing text requirements, an optional implementation method for processing the first image using an image generation model to obtain the second image is as follows: Based on the image generation model, the image editing text requirements are analyzed to obtain optimization needs. Based on these needs, the image quality optimization direction is determined, such as at least one of "brightening the image," "reducing saturation," "correcting yellowish white balance," "enhancing shadow details," and "improving sharpness." According to the image quality optimization direction, mathematical operations are performed on the RGB / HSV values ​​of the first image pixels. For example, brightness adjustment: uniformly adding or subtracting the brightness channel values ​​of all pixels; contrast adjustment: stretching or compressing the dynamic range of pixel values ​​(e.g., new pixel value = (original pixel value - mean) × coefficient + mean); color balance: adjusting the proportions of the red / green / blue channels to offset color casts; sharpening: calculating the difference values ​​between pixels using a convolution kernel to enhance edge contrast, thus obtaining the second image. Another alternative implementation is that the image generation model can be based on deep learning models such as diffusion models or GANs, which transform the text requirements for image editing into feature vectors, and combine the image generation model with the structural information of the first image to generate new pixel content that meets the requirements, thus obtaining the second image.

[0127] 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.

[0128] 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.

[0129] S205, In response to a content publishing operation, publish a reply to the target content.

[0130] The reply included a second image.

[0131] As an optional implementation of this application, in response to a triggering operation on the content publishing control, a reply to the target content is published.

[0132] As another optional implementation of this application, in response to a voice control operation for the target application, a reply to the target content is published. Here, the voice control operation refers to a voice message representing a request to publish a reply, such as the message "I want to post a comment".

[0133] The above content publishing method displays a response 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 response interface. Based on the image processing interface, image modification instructions for the first image are obtained. Based on the image modification instructions, the first image is processed using an image generation model to obtain a second image. In response to a content publishing operation, response content for the target content is published; wherein the response content includes the second image. Compared to existing response methods that select image content from a gallery, this application can perform processing operations on the first image to obtain a second image, and can publish response content containing the second image, which improves the richness and interest of the response content, increases user satisfaction, and thus improves the utilization rate of image resources.

[0134] 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:

[0135] S401, in response to an input operation in the input area for image retouching requirements, displays the image retouching text requirement information.

[0136] As an optional implementation of this application, in response to an input operation on the input control, image editing text request information is displayed. Specifically, in response to a trigger operation on an associated area of ​​the image editing request input area (e.g., clicking a blank area within the image editing request input area), the input control is displayed. In response to an input operation on the input control, image editing text request information (e.g., "Remove background passersby") is displayed in the image editing request input area.

[0137] Another optional implementation of this application involves obtaining a voice message in response to a trigger operation of the voice input control associated with the image editing request input area. The voice message is then converted into text to obtain image editing text request information (e.g., "remove background passersby"). This image editing text request information is then displayed in the image editing request input area.

[0138] 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.

[0139] S402, in response to the selection of candidate retouching keywords, displays the target retouching keywords.

[0140] Among them, candidate editing keywords refer to alternative editing suggestions, such as... Figure 3 The options shown include "texture enhancement", "remove passersby", "enhance clarity", and "expand image". Target retouching keywords refer to the final selected candidate retouching keywords, such as "texture enhancement".

[0141] 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.

[0142] 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.

[0143] 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.

[0144] As another optional implementation of this application, historical retouching keywords (e.g., the previously selected retouching keywords) are obtained, and these historical retouching keywords are used as selected candidate retouching keywords. In response to the selection operation of the candidate retouching keywords, the target retouching keyword is displayed.

[0145] Optionally, in this embodiment, the target image editing keywords can be displayed in the keyword display area or in the image editing requirement input area.

[0146] S403, Image editing text requirement information and / or target image editing keywords, determine the image modification instructions for the first image.

[0147] 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.

[0148] 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.

[0149] 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.

[0150] 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.

[0151] In one embodiment, to facilitate image processing operations on the first image, the response interface includes an image generation entry, such as... Figure 5 As shown, one alternative implementation of displaying an image processing interface for the first image in response to an editing operation on the first image includes:

[0152] S501, in response to a trigger operation on the image generation entry point, displays the image selection interface.

[0153] The image selection interface includes candidate images.

[0154] As an optional implementation of this application, an image selection interface is displayed in response to a voice control operation on the image generation entry point.

[0155] Another optional implementation of this application is to display an image processing interface for the first image in response to a trigger operation of the associated control associated with the image generation entry. For example, as shown... Figure 3 As shown, this responds to the associated controls (such as those related to the image generation entry point) Figure 3 Clicking the "Album" control 301 in B displays an image selection interface (such as...). Figure 6 (See the left-hand diagram shown).

[0156] S502, in response to the first selection operation for the candidate image, displays the image preview interface.

[0157] The image preview interface includes an image processing entry point. The first selection operation refers to the selection of candidate images based on the image selection interface.

[0158] Optionally, in this embodiment, the selected candidate image is displayed in response to a click operation on the candidate image. An image preview interface is displayed in response to a trigger operation on the confirmation control in the image selection interface. For example, such as... Figure 6 As shown, in response to a click on the "Done" control in the image selection interface, an image preview interface is displayed.

[0159] S503, in response to a trigger operation on the image processing entry, displays the image processing interface for the first image.

[0160] The image processing entry point refers to the entry point used to access the image processing interface.

[0161] 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.

[0162] 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.

[0163] In this embodiment, in response to a trigger operation on the image generation entry point, an image selection interface is displayed; wherein the image selection interface contains candidate images. In response to a first selection operation on a candidate image, an image preview interface is displayed; wherein the image preview interface contains 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 entering the image processing interface can be improved, thereby improving image processing efficiency.

[0164] 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:

[0165] In response to a selection operation on the first image, the selected first image is displayed in the image preview area.

[0166] 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.

[0167] 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.

[0168] 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.

[0169] 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.

[0170] 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:

[0171] S801, in response to a second processing operation on the first image, displays the processed first image.

[0172] 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.

[0173] 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.

[0174] 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.

[0175] 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.

[0176] 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.

[0177] 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.

[0178] 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").

[0179] S803: When the processing progress is "processing complete", obtain the second image and display the second image in the reply interface.

[0180] 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 shown. 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.

[0181] 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 processing 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. Furthermore, by responding to the triggering operation of the processing completion control on the image preview interface, the second image is displayed in the response interface, effectively improving the efficiency of image content acquisition and thus shortening the time for generating response content.

[0182] 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", one possible implementation of a content publishing method includes:

[0183] S1101, the second image is used as the newly added first image.

[0184] S1102, the first image and the newly added first image are displayed in the first image display area.

[0185] 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 10 As 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.

[0186] 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.

[0187] 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, 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:

[0188] S1301: Based on the image modification instruction, the image generation model is used to process each first image to obtain a second image, and the second image is displayed in the reply interface.

[0189] 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.

[0190] As an optional implementation of this application, when the number of first images is at least two, in response to a processing operation on the first image (e.g., a triggering operation on a "Next" control in an image processing interface), the first images are fused using an image generation model based on the image modification instruction to obtain a second image. Another optional implementation involves acquiring the image features of each first graphic. Semantic analysis is performed on the image modification instruction to obtain the semantic analysis result. The image generation model is then used to fuse the image features of each first graphic based on the semantic analysis result to obtain the second image. Yet another optional implementation involves inputting the image modification instruction and each first image into the image generation model, whereby the image generation model fuses the first images based on the image modification instruction to obtain the second image.

[0191] Another optional implementation of this application is as follows: when there are at least two first images, an image generation model is used to perform semantic analysis on the image modification instructions to determine the target object. Feature extraction processing is performed on each first image to obtain the target object for each first image. According to the image modification instructions, a combination style for the target object is determined. According to the combination style, the target objects of each first image are fused to obtain the second image. For example, if the image modification instruction is "Put the people in these images into the same image, and the people hold hands and line up in a row", then the target object is people, and the combination style is "holding hands".

[0192] 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.

[0193] It should be noted that the specific methods for obtaining the second image and displaying it in the response interface are described in detail in the above embodiments and will not be repeated here.

[0194] In this embodiment, in response to a processing operation on the first image, the first image is fused based on the retouching text request information and / or target retouching keywords to obtain a second image, which is then displayed in the response interface. This embodiment achieves fusion processing of multiple images, thus increasing the fun of image processing, providing a novel image processing method, and increasing the utilization rate of image processing resources.

[0195] Based on the above embodiments, to facilitate user selection of the first image, this embodiment includes an existing image. A possible implementation for obtaining the existing image is to obtain the existing image in response to a first selection operation on a candidate image; wherein the existing image includes the candidate image pointed to by the first selection operation. The first selection operation refers to the image selection operation performed after entering the image selection interface based on the image generation entry. That is, upon first entering the image selection interface, a first selection operation on a candidate image can be performed to obtain the existing image.

[0196] Based on the above embodiments, to facilitate users in flexibly adding a first image, the image preview interface displays candidate images pointed to by the first selection operation, such as... Figure 14 As shown, an optional implementation of a content publishing method further includes:

[0197] S1401, in response to a trigger operation on the first image selection entry in the image preview interface, the image selection interface is displayed.

[0198] The image selection interface includes candidate images. The image preview interface includes a first image selection entry. The first image selection entry refers to the image selection entry configured in the image preview interface, for example... Figure 15 The entry point corresponding to the "+" control in the text.

[0199] Optionally, in this embodiment, the image selection interface is displayed in response to a trigger operation (e.g., a click operation) on the first image selection entry in the image preview interface.

[0200] Optionally, a schematic diagram of the image selection interface in this embodiment is shown below. Figure 16 As shown in the image selection interface, candidate images and image selection restrictions are displayed, for example... Figure 16 The text states that "a maximum of 9 images are supported."

[0201] S1402, in response to the second selection operation for the candidate image, obtain the existing image.

[0202] 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.

[0203] 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.

[0204] In this embodiment, in response to a trigger operation on the first image selection entry in the image preview interface, the image selection 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. This embodiment facilitates the selection of the first image based on the image selection interface, improving image selection efficiency.

[0205] 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 17As shown, an optional implementation of a content publishing method includes:

[0206] S1701, in response to a trigger operation for the second image selection entry, displays the image selection interface.

[0207] The second image selection entry refers to the image selection entry configured on the image processing interface.

[0208] 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).

[0209] S1702, 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.

[0210] The newly selected image is the candidate image pointed to by the third selection operation.

[0211] 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.

[0212] 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.

[0213] In one embodiment, the reply interface also displays a text input area, such as... Figure 18 As shown, an optional implementation of publishing response content to the target content in response to a content publishing operation includes:

[0214] S1801, in response to an input operation on the text content input area, displays the text reply content.

[0215] The text content input area refers to the area used for entering text responses, for example... Figure 10 The area corresponding to "Tell me your thoughts" shown in the right-hand image.

[0216] As an optional implementation of this application, in response to an input operation on a text input control associated with a text content input area, the text reply content entered based on the text input control is displayed.

[0217] As another optional implementation of this application, in response to an input operation on the voice input control associated with the text content input area, the text reply content corresponding to the voice message input by the voice input control is displayed.

[0218] S1802, in response to a content publishing operation, publish a reply to the target content.

[0219] The reply content includes text reply content and a second image.

[0220] Optionally, in this embodiment, the response is to a content posting control in the reply interface (e.g., Figure 10 The "Send" control in the right-hand image triggers the posting of a reply to the target content.

[0221] Optionally, in this embodiment, the reply content can also be the content obtained by fusing the text reply content and the second image; for example, the text reply content is optimized (e.g., AI polishing) to obtain optimized content, and the optimized content is added to the second image to obtain the reply content.

[0222] Optionally, in this embodiment, the response interface includes an image display area for displaying a second image. The image display area also includes an image addition entry point. In response to a trigger operation on the image addition entry point, an image selection interface is displayed. In response to a selection confirmation operation on a candidate image in the image selection interface (e.g., clicking a candidate image and then clicking the "complete" control), the candidate image pointed to by the selection confirmation operation is displayed in the image selection interface. The image display area also displays an image update function, which updates the images in the image display area; the update operation includes, but is not limited to, deletion.

[0223] In this embodiment, the reply interface also displays a text input area; in response to an input operation in the text input area, a text reply is displayed. In response to a content publishing operation, reply content targeting the content is published; wherein, the reply content includes text reply content and a second image. This embodiment improves the efficiency of sending reply content.

[0224] 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 19As 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:

[0225] 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.

[0226] 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.

[0227] 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.

[0228] 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.

[0229] 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.

[0230] In one embodiment, Figure 20 This is a flowchart illustrating a content publishing method provided in an embodiment of this application, applied to... Figure 1 Taking the terminal in the example, the method includes the following steps:

[0231] S2001, displays the content editing interface.

[0232] The content editing interface is accessed via a conversational interaction interface.

[0233] Optionally, in this embodiment, the conversation interaction interface can be an interaction interface in a private chat or group chat application. A private chat interaction interface refers to the conversation interface used when two interacting objects conduct online conversations. A group chat interface refers to the conversation interface used when three or more interacting objects conduct online conversations.

[0234] S2002, in response to an editing operation on the first image, an image processing interface for the first image is displayed.

[0235] The first image is received via the content editing interface.

[0236] S2003, based on the image processing interface, receives image modification instructions for the first image.

[0237] S2004, based on the image modification instruction, the first image is processed using an image generation model to obtain the second image.

[0238] S2005, in response to the content sending operation, the target session content is displayed in the session interaction interface; wherein the target session content includes a second image.

[0239] It should be noted that the specific implementation schemes for each step in this embodiment are described in detail in the various embodiments of the above-mentioned content publishing method, and will not be repeated here.

[0240] In this embodiment, a content editing interface is displayed; wherein, the content editing interface is accessed via a conversational interaction interface. 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 a reply interface. Based on the image processing interface, an image modification instruction for the first image is received. Based on the image modification instruction, the first image is processed using an image generation model to obtain a second image. In response to a content sending operation, target conversation content is displayed in the conversational interaction interface; wherein, the target conversation content includes the second image. This embodiment effectively increases the fun of the interactive application and the diversity of conversation content styles, and effectively improves the resource utilization of the interactive application.

[0241] 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.

[0242] Based on the same inventive concept, this application also provides a content publishing apparatus for implementing the content publishing 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 content publishing apparatus embodiments provided below can be found in the limitations of the content publishing method described above, and will not be repeated here.

[0243] In one embodiment, by Figure 21 A structural block diagram of a content publishing device in one embodiment is shown. Figure 21 As shown, a content publishing device 1 is provided, which includes: a first display module 10, a second display module 20, a third display module 30, a fourth display module 40, and a publishing module 50, wherein:

[0244] The first display module 10 is used to display a response interface for the target content;

[0245] The second display module 20 is used to display an image processing interface for the first image in response to an editing operation on the first image; wherein the first image is received via a response interface;

[0246] The third display module 30 is used to obtain image modification instructions for the first image based on the image processing interface;

[0247] The fourth display module 40 is used to perform a first processing on the first image based on the image modification instructions and using an image generation model to obtain a second image;

[0248] The publishing module 50 is used to respond to the content publishing operation and publish reply content for the target content; wherein the reply content includes a second image.

[0249] 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 third display module is further specifically used for:

[0250] In response to input operations in the input area for image retouching requests, display the image retouching text request information;

[0251] In response to the selection of candidate retouching keywords, display the target retouching keywords;

[0252] Based on the image editing text requirements and / or target image editing keywords, determine the image modification instructions for the first image.

[0253] In one embodiment, the response interface includes an image generation entry point;

[0254] The second display module is also specifically used for:

[0255] In response to a trigger operation on the image generation entry point, an image selection interface is displayed; wherein the image selection interface contains candidate images;

[0256] In response to the first selection operation on the candidate image, an image preview interface is displayed; wherein the image preview interface contains an image processing entry point;

[0257] In response to a trigger operation targeting the image processing entry, the image processing interface for the first image is displayed.

[0258] 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; a content publishing device 1 further includes:

[0259] The fifth 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.

[0260] In one embodiment, the fourth display module is further specifically used for:

[0261] 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;

[0262] 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.

[0263] If the processing progress is complete, obtain the second image and display it in the reply interface.

[0264] In one embodiment, the fourth display module is further specifically used for:

[0265] In response to the triggering operation of the processing completion control for the image preview interface, the second image is obtained and displayed in the reply interface.

[0266] In one embodiment, when the processing progress indicates that processing is complete, the fourth display module is further specifically used for:

[0267] The second image is used as the newly added first image;

[0268] The first image and the newly added first image are displayed in the first image display area.

[0269] In one embodiment, the reply interface also displays a text input area, and the posting module is further specifically used for:

[0270] In response to input in the text input area, display the text reply content;

[0271] In response to a content publishing operation, a reply is published targeting the content; the reply includes a text reply and a second image.

[0272] In one embodiment, when the number of first images is at least two, the fourth display module is further specifically used for:

[0273] Based on the image modification instructions, the first images are processed using an image generation model to obtain a second image, which is then displayed in the response interface. The second image includes the target object of each first image, and the target object is determined based on the image modification instructions.

[0274] 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.

[0275] In one embodiment, the first image includes an existing image, and a content publishing device 1 further includes:

[0276] The sixth display module is used to obtain an existing image in response to a first selection operation on a candidate image; wherein the existing image includes the candidate image pointed to by the first selection operation.

[0277] In one embodiment, the first image includes an existing image, and the image preview interface displays a candidate image pointed to by the first selection operation; a content publishing device 1 further includes:

[0278] The seventh display module is used to display the image selection interface in response to a trigger operation on the first image selection entry in the image preview interface;

[0279] The acquisition module is configured to acquire 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.

[0280] 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; a content publishing device 1 further includes:

[0281] The eighth display module is used to display the image selection interface in response to a trigger operation on the second image selection entry.

[0282] The ninth 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.

[0283] In one embodiment, the image processing interface further includes an image addition entry for adding a reference image; the fourth display module is further specifically used for:

[0284] 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.

[0285] 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 22 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 in the non-volatile storage media. The database stores published content information. The network interface communicates with external users via a network connection. When the computer program is executed by the processor, it implements a content publishing method.

[0286] Those skilled in the art will understand that Figure 22 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.

[0287] 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:

[0288] Displays a response interface for the target content;

[0289] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0290] Based on the image processing interface, obtain image modification instructions for the first image;

[0291] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0292] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0293] 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:

[0294] Displays a response interface for the target content;

[0295] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0296] Based on the image processing interface, obtain image modification instructions for the first image;

[0297] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0298] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0299] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0300] Displays a response interface for the target content;

[0301] In response to an editing operation on the first image, an image processing interface for the first image is displayed; wherein the first image is received via a response interface;

[0302] Based on the image processing interface, obtain image modification instructions for the first image;

[0303] Based on the image modification instructions, the first image is processed using an image generation model to obtain the second image;

[0304] In response to a content publishing operation, a reply is published targeting the content; wherein the reply includes a second image.

[0305] 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.

[0306] 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.

[0307] 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.

[0308] 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. A content publishing method, characterized in that, The method includes: Displays a response 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 response interface; Based on the image processing interface, obtain image modification instructions for the first image; Based on the image modification instructions, the first image is processed using an image generation model to obtain a second image; In response to a content publishing operation, a reply is published for the target content; wherein the reply includes the second image.

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 response interface includes an image generation entry point; The step of displaying an image processing interface for the first image in response to an editing operation on the first image includes: In response to a trigger operation on the image generation entry point, an image selection interface is displayed; 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 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 3, 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 4, characterized in that, The step of performing a first process on the first image based on the image modification instruction using an image generation model to obtain a 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, a second image is obtained and displayed in the response interface.

6. The method according to claim 5, characterized in that, When the processing progress indicates completion, obtaining a second image and displaying the second image in the response interface includes: In response to the triggering operation of the processing completion control of the image preview interface, a second image is obtained and displayed in the reply interface.

7. The method according to claim 5, 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.

8. The method according to claim 1, characterized in that, The reply interface also displays a text input area, which, in response to a content posting operation, posts reply content targeting the target content, including: In response to an input operation in the text input area, display the text reply content; In response to a content publishing operation, a reply is published for the target content; wherein the reply includes the text reply and the second image.

9. The method according to claim 2, characterized in that, When the number of the first images is at least two, the step of performing a first processing on the first images using an image generation model based on the image modification instructions to obtain the second image includes: Based on the image modification instructions, each of the first images is processed using an image generation model to obtain a second image, which is then displayed in the response interface; wherein, 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.

10. The method according to claim 3, 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.

11. The method according to claim 10, characterized in that, The first image includes an existing image, and the method further includes: In response to a first 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.

12. The method according to claim 10, characterized in that, The first image includes an existing image, and the image preview interface displays a candidate image pointed to by the first selection operation; the method further includes: In response to a trigger operation on the first image selection entry in the image preview interface, the image selection 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.

13. The method according to claim 11, 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.

14. The method according to any one of claims 1-13, characterized in that, The image processing interface also includes an image addition entry for adding a reference image; the step of performing a first processing on the first image using an image generation model based on the image modification instruction to obtain a 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.

15. A content publishing method, characterized in that, The method includes: Display content editing interface; wherein, the content editing interface is accessed via a conversational interaction interface; 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 content editing interface; Based on the image processing interface, an image modification instruction for the first image is received; Based on the image modification instructions, the first image is processed using an image generation model to obtain a second image; In response to a content sending operation, target session content is displayed in the session interaction interface; wherein the target session content includes the second image.

16. A content publishing device, characterized in that, The device includes: The first display module is used to display the response interface for the target content; The second display module is configured to display an image processing interface for the first image in response to an editing operation on the first image; wherein the first image is received via the response interface; The third display module is used to obtain image modification instructions for the first image based on the image processing interface; The fourth display module is used to perform a first processing on the first image based on the image modification instruction and using an image generation model to obtain a second image; The publishing module is used to respond to a content publishing operation by publishing a reply to the target content; wherein the reply includes the second image.

17. 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 15.

18. 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 content publishing method as described in any one of claims 1 to 15.

19. A computer program product comprising computer-executable instructions, characterized in that, The instructions are executed by the processor to implement the content publishing method according to any one of claims 1 to 15.