Method and apparatus for image generation, device, and storage medium
By introducing virtual image and element usage portals in content sharing applications, users can generate images of similar elements based on triggering, solving the problem of insufficient interaction between users and improving the interactiveness of image generation.
Patent Information
- Application Number
- PCT/CN2024/135913
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-08
- Filing Date
- 2024-11-29
- Publication Date
- 2025-06-12
AI Technical Summary
The prior art is difficult to enhance interaction between users in content sharing applications, especially in image generation, where users independently generate images but lack interaction.
By presenting the image and element usage portals for virtual avatars, users can generate images with the same or similar elements based on the trigger of the use portals for elements, thereby enhancing interaction between users.
This enables image generation interaction between different users, improves social experience and fun, and makes it easier for users to share and use image elements with other users.
Smart Images

Figure CN2024135913_12062025_PF_FP_ABST
Abstract
Description
Method, apparatus, device and storage medium for image generation
[0001] This application claims priority to the Chinese invention patent application entitled “Method, device, apparatus and storage medium for image generation” filed on December 8, 2023, with application number 202311685883.X. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for image generation. Background Art
[0003] With the development of computer technology, content-sharing applications have been designed to provide users with various services. In these applications, different users can interact with each other through content. For example, users can browse, comment on, and forward various types of content posted by other users, including various media such as videos, images, image collections, and audio. Increasing user interactivity in these applications is a key issue. Summary of the Invention
[0004] In a first aspect of the present disclosure, a method for image generation is provided. The method includes: presenting a first image having a first element and an element usage portal of a first virtual avatar, the first virtual avatar including media data representing the appearance characteristics of a first object; and, upon triggering the element usage portal, presenting a second image having the first element and a second virtual avatar including media data representing the appearance characteristics of a second object.
[0005] In a second aspect of the present disclosure, a device for image generation is provided. The device includes: a first rendering module configured to render a first image of a first virtual avatar having a first element and an element usage portal for the first element, the first virtual avatar including media data representing the appearance characteristics of a first object; and a second rendering module configured to render a second image of a second virtual avatar having the first element, the second virtual avatar including media data representing the appearance characteristics of a second object, upon triggering the element usage portal.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0008] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0011] 2A to 2Z are schematic diagrams illustrating example interfaces for creating an avatar according to some embodiments of the present disclosure;
[0012] 3A to 3I illustrate schematic diagrams of example interfaces for reusing styles according to some embodiments of the present disclosure;
[0013] 4A to 4E are schematic diagrams illustrating example interfaces for style adjustment according to some embodiments of the present disclosure;
[0014] 5A to 5J are schematic diagrams illustrating example interfaces for providing style adjustment information according to some embodiments of the present disclosure;
[0015] FIG6 shows a flowchart of a process for image generation according to some embodiments of the present disclosure;
[0016] FIG7 shows a flowchart of an apparatus for image generation according to some embodiments of the present disclosure; and
[0017] FIG8 illustrates a block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION
[0018] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0019] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below.
[0020] Herein, unless explicitly stated otherwise, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0021] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0022] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0023] For example, in response to receiving a user's active request, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information, so that the user can independently choose whether to provide personal information to the electronic device, application, server or storage medium and other software or hardware that performs the operation of the technical solution of the present disclosure based on the prompt message.
[0024] As an optional but non-limiting implementation, in response to receiving a user's active request, a prompt message may be sent to the user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. Furthermore, the pop-up window may also include a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0025] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0026] As briefly mentioned above, users can interact with other users in apps by browsing, commenting on, and forwarding media content posted by other users. With the development of machine learning technology, digital tools based on machine learning models have begun to be used to create virtual avatars for users. Users can also use virtual avatars to generate images. However, in such solutions, different users generate their own images independently without any interaction.
[0027] To this end, according to an embodiment of the present disclosure, an improved image generation scheme is proposed. According to the scheme of the embodiment of the present disclosure, a first image having a first element and an element usage portal for the first element are presented as a first virtual avatar, wherein the first virtual avatar includes media data representing the appearance characteristics of the first object. Upon triggering the element usage portal, a second image having the first element is presented as a second virtual avatar, wherein the second virtual avatar includes media data representing the appearance characteristics of the second object.
[0028] According to embodiments of the present disclosure, if a user views an image created by another user using a virtual avatar that has a certain element, the user can also use their associated virtual avatar to create an image with the same or similar elements. This enhances the interactivity between different users, thereby improving the social experience and making it more interesting.
[0029] Example embodiments of the present disclosure are described below with reference to the accompanying drawings.
[0030] Sample Environment
[0031] 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In environment 100, one or more users 110-1, 110-2, 110-3, ..., 110-N can publish and / or browse media data (also referred to as multimedia content, multimedia data, media content, etc.) in a target platform through their associated terminal devices 120-1, 120-2, 120-3, ..., 120-N.
[0032] For ease of discussion, users 110-1, 110-2, 110-3, ..., 110-N may be collectively or individually referred to as user 110, and terminal devices 120-1, 120-2, 120-3, ..., 120-N may be collectively or individually referred to as terminal device 120. In the context of publishing media data, user 110 may also be referred to as the publisher of the media data. In the context of browsing media data, user 110 may also be referred to as the viewer, browser, or viewer of the media data.
[0033] Terminal device 120 may be installed with a platform that supports media data publishing and / or media data playback. Such a platform may be, for example, an application or a website. User 110 may operate terminal device 120 to access the corresponding application or website. In some embodiments, the platform used to publish media data and the platform used to play media data may be the same or different platforms. For example, user 110-1 edits and publishes media data on a first platform, and the publishing operation indicates that the media data will be published on a second platform. User 110-2 may browse the media data on the second platform.
[0034] In some embodiments, the terminal device 120 may be installed with an application 125 that supports media data publishing (i.e., the terminal device 120-1 has application 125-1 installed, the terminal device 120-2 has application 125-2 installed, the terminal device 120-3 has application 125-3 installed, ..., the terminal device 120-N has application 125-N installed). It should be noted that the applications 125 installed in different terminal devices 120 may be exactly the same applications or different applications (e.g., different versions). The application 125 may be any appropriate application with a media data publishing function, such as a social application, a content sharing application, an office support application, and the like.
[0035] In the environment 100 of FIG. 1 , if application 125 is active, terminal device 120 may present the user interface of application 125. This user interface may include various interfaces provided by application 125, such as a user interface supporting message interaction, a user interface supporting content browsing, a message sending and receiving interface, and so on. Application 125 may provide different content to user 110 via different user interfaces. Application 125 may also provide user 110 with the ability to select and switch presentation methods for related content via appropriate means, such as by clicking or selecting any appropriate interface element in the user interface.
[0036] In some embodiments, different terminal devices 120 may also communicate with server 130 via network 132 to provide message interaction services. Server 130 may provide management, configuration, and maintenance functions for application 125.
[0037] The terminal device 120 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 120 can also support any type of interface for the user (such as a "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.
[0038] It should be understood that the structure and function of each component in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Various example implementations of the present disclosure will be described in detail below.
[0039] Sample interface
[0040] For ease of understanding, some example embodiments of the present disclosure will be described below in conjunction with the example interfaces of Figures 2A to 5J. Figures 2A to 5J show schematic diagrams of example interfaces according to some embodiments of the present disclosure. It should be understood that the interfaces shown in the accompanying drawings are merely examples, and various interface designs may actually exist. The various interface elements in the interface may have different arrangements and different visual representations, one or more of the interface elements may be omitted or replaced, and one or more other interface elements may also exist. The embodiments of the present disclosure are not limited in this respect.
[0041] The example interfaces shown in Figures 2A to 5J can be presented at the terminal device 120. For ease of discussion, the example interfaces / example pages shown in Figures 2A to 5J will be described with reference to the environment 100 of Figure 1. It should be noted that, in this document, the operations performed by the terminal device 120 can be performed with the help of relevant applications installed locally.
[0042] In some embodiments, some operations may require the support of a server (eg, server 130) or other devices to complete. For ease of understanding, the following description is made by taking the terminal device 120 itself as an example to perform the operation.
[0043] In some embodiments, terminal device 120 can obtain a virtual avatar corresponding to an object based on an image input by user 110 that includes the object's appearance. The virtual avatar can include media data representing the object's appearance characteristics. The media data can include any suitable form of data, such as image data, video data, or 3D model data. In some embodiments, the appearance characteristics can include facial features. This allows virtual objects corresponding to different objects to be distinguishable.
[0044] That is, user 110 can create a virtual avatar associated with them. The object here can include any appropriate object, such as a person, an animal, or a cartoon character, and this disclosure does not limit the specific object. In particular, in some embodiments, the object can be user 110 themselves. It will be understood that the virtual avatar, image, etc. here can be generated locally on terminal device 120 or in the cloud with the help of server 130. For ease of description, the following example uses the example of user 110 inputting an image containing a human face.
[0045] In some embodiments, based on an operation by user 110, terminal device 120 may obtain an image of the created avatar with specific elements, also referred to as an element-specific image. As used herein, the terms "element" or "image element" may refer to any suitable aspect or attribute of an image. For example, an element may include image style (also referred to as style), image background, or image foreground.
[0046] In some embodiments, the element can be a style. The terminal device 120 can obtain an image of the created avatar in a certain style, also known as a stylized image. In other words, a stylized image can be generated and presented to the user 110. In embodiments of the present disclosure, the style or image style can include any type of style, such as, but not limited to, cartoon, watercolor, crayon, sketch, comics, and the like.
[0047] Hereinafter, some exemplary embodiments of the present disclosure will be described mainly using styles as examples of elements. However, it should be understood that the embodiments described with reference to styles can be applied to other types of elements.
[0048] In some embodiments, the creation of the virtual image and the generation of the element-specific image can be achieved by the terminal device 120 and / or the server 130 with the help of a machine learning model. The machine learning model here can be any appropriate model, and this disclosure is not limited to this. Exemplarily, in the case of generating an image, the terminal device 120 can generate a prompt word based on the configuration information of the style to be used, and provide the prompt word to the model used to generate the image (i.e., the target model). The terminal device 120 can obtain the output of the target model and obtain an image based on the output.
[0049] Example interface for creating an avatar
[0050] The following describes an example interaction for creating an avatar. In some embodiments, the terminal device 120 may provide an entry associated with the avatar in the user information interface of the user 110. If the user 110 has not created an avatar, the entry may be an entry for creating the avatar. Figures 2A to 2C show schematic diagrams of examples 200A to 200C of user information interfaces according to some embodiments of the present disclosure. As shown in Figure 2A, the terminal device 120 may provide a user information interface as shown in example 200A. If the user 110 (e.g., "user 123" in the figure) has not created an avatar, the terminal device 120 may provide an entry 201 for creating the avatar in example 200A. In response to detecting a trigger operation for creating entry 201, the terminal device 120 may display example 200B as shown in Figure 2B. Trigger operations include, but are not limited to, any appropriate operations such as a click operation, a double-click operation, a long press operation, a slide operation, and a drag operation. This disclosure does not limit specific trigger operations.
[0051] In example 200B, the terminal device 120 may display a prompt panel 210 for prompting the creation of an avatar. The prompt panel 210 may display prompt information on how to create an avatar (for example, the text "Upload 5 pictures to create a digital version of yourself! With an avatar, you can quickly create pictures in various digital styles"). The prompt panel 210 may also display, for example, example effects of avatars or different image styles (for example, exemplary avatar images may be displayed). The prompt panel 210 may also include a create control 212 and a cancel control 211. The terminal device 120 may, in response to receiving a trigger operation on the cancel control 211, determine to cancel the creation of the avatar and return to display example 200A. Alternatively or additionally, in some embodiments, the terminal device 120 may, in response to receiving a trigger operation on an area outside the prompt panel 210 in example 200B, determine to cancel the creation of the avatar and return to display example 200A.
[0052] It should be noted that regarding the prompt logic of the prompt panel 210 for prompting the user to create an avatar, in some embodiments, the terminal device 120 will display the prompt panel 210 by default each time it detects a trigger operation for creating the entry 201. In some embodiments, the terminal device 120 may also display the prompt panel 210 only when the trigger operation for creating the entry 201 is detected for the first time or after the first few (predetermined) times of detecting the trigger operation for creating the entry 201.
[0053] When a trigger operation on the creation control 211 is detected, the terminal device 120 may determine that a request or instruction to create a virtual image has been received and display an image acquisition interface. The image acquisition interface may include an image shooting interface and / or an image selection interface. The terminal device 120 may use a camera to capture an image in the image shooting interface. The terminal device 120 may select an image stored locally on the terminal device 120 in the image selection interface. The locally stored images here include images previously captured by the terminal device 120 through the camera and images obtained by the terminal device 120 from the cloud, from other devices, etc.
[0054] In some embodiments, if a request or instruction to create an avatar is detected, the terminal device 120 may provide a tab sheet including at least a first option corresponding to an image capture interface and a second option corresponding to an image selection interface. In response to detecting a selection of the first option, the terminal device 120 may determine that access rights to the image capture interface have been obtained and display the image capture interface. If a selection of the second option is detected, the terminal device 120 may determine that access rights to the image selection interface have been obtained and display the image selection interface. The selection operation herein may include, for example, any appropriate operation, such as a click, double-click, long press, or swipe.
[0055] For example, as shown in Figures 2B and 2C, the terminal device 120 may, for example, display example 200C in response to detecting a trigger operation on the create control 211. Example 200C includes a tab sheet 220. The terminal device 220 may display option 221 corresponding to the image capture interface and option 222 corresponding to the image selection interface in tab sheet 220. In response to detecting a selection operation for option 221, the terminal device 120 may display the image capture interface. In response to detecting a selection operation for option 222, the terminal device 120 may display the image selection interface. The terminal device 220 may also, for example, display option 223 in tab sheet 220. In response to detecting a selection operation for option 223, the terminal device 110 may, for example, determine to cancel display of the image capture interface or the image selection interface and return to display example 200B.
[0056] In some embodiments, there may be a predetermined default interface. In response to detecting a request or instruction to create a virtual image, the terminal device 120 may display the predetermined default interface. In response to detecting a trigger operation on any appropriate interface element in the default interface, the terminal device 120 may display another interface. Exemplarily, the default interface may be an image selection interface. If a trigger operation on any appropriate interface element in the image selection interface (such as an interface switching control) is detected, the terminal device 120 may switch to displaying the image capture interface.
[0057] In some embodiments, if a selection operation is detected for option 222 in example 200C, terminal device 110 may display an image selection interface. Alternatively or additionally, in some embodiments, terminal device 120 may also display a default image selection interface in response to detecting a request or instruction to create an avatar (e.g., a trigger operation for creating entry 201 in example 200A, a trigger operation for creating control 212 in example 200B, etc.). Terminal device 120 may display a prompt panel in the image selection interface for providing prompt information.
[0058] As shown in Figure 2D, the terminal device 120 can, for example, display example 200D including a prompt panel 230. Example 200D can, for example, be an image selection interface including a prompt panel. The prompt panel 230 can also display, for example, examples of appropriate target images (e.g., images that meet conditions related to facial areas) and examples of inappropriate target images (e.g., images that do not meet conditions related to facial areas). The prompt panel 230 also includes an operation control 231. If a trigger operation is detected on the operation control 231 or on any area outside the prompt panel 230 in example 200D, the terminal device 120 can cancel the display of the prompt panel 230. After canceling the display of the prompt panel 230, the terminal device 120 can, for example, display example 200E as shown in Figure 2E. Example 200E can, for example, be an image selection interface that does not include a prompt panel. Example 200E can display multiple images with access rights.
[0059] Similarly, in some embodiments, each time the terminal device 120 displays the image selection interface, the image selection interface including the prompt panel 230 is displayed by default. In some embodiments, the terminal device 120 may display the image selection interface including the prompt panel 230 only when the image selection interface is displayed for the first time or the first few times (which may be a predetermined number of times) the image selection interface is displayed. When the image selection interface is displayed again thereafter, the image selection interface without the prompt panel 230 is displayed.
[0060] As shown in FIG2E , example 200E may further include an area 233 for displaying selected images. If the user has not selected an image, the terminal device 120 may not display any image in area 233. If a selection operation is received for any image displayed in the image selection interface (e.g., a selection operation for an already captured image), the terminal device 120 may determine that the image is selected. In this case, the terminal device 120 may display the selected image in area 233.
[0061] In some embodiments, the terminal device 120 can determine whether the selected image meets the conditions related to the facial area (for example, whether it is an image including the face of the subject). The terminal device 120 can, for example, determine whether the selected image meets the conditions related to the facial area through a series of face detection models. For example, if the terminal device 120 determines that the selected image meets the conditions related to the facial area, the terminal device 120 can display the selected image in area 233. For example, if the terminal device 120 determines that the selected image does not meet the conditions related to the facial area, it can display a prompt message indicating that the image does not meet the conditions related to the facial area and that the image cannot be selected.
[0062] In some embodiments, in order to ensure the effect of the created virtual image, the terminal device 120 may need to obtain multiple images. The number of these multiple images can be any appropriate number that meets the requirements for creating a virtual image. The number of images and / or the range of the number of images that meet the requirements for creating a virtual image can be preset. For example, if the user presets the number of images that meet the requirements for creating a virtual image to be 5, the user needs to select 5 images so that the terminal device 120 can obtain these 5 images. For another example, if the user presets the range of the number of images that meet the requirements for creating a virtual image to be 5-20, the user needs to select any number of images between 5 and 20 (for example, 10) so that the terminal device 120 can obtain these 5 images.
[0063] Region 233 may also include an operation control 234. In response to detecting a trigger operation on operation control 234, terminal device 120 may acquire a selected set of images. For example, terminal device 120 may display example 200F of the interface shown in FIG. 2F while acquiring the selected set of images. In example 200F, terminal device 120 may display an interface element 240 indicating that terminal device 120 is acquiring the selected set of images.
[0064] In some embodiments, the terminal device 120 may display a virtual image generation interface in response to obtaining a selected set of images. In some embodiments, in order to make a secondary determination of the selected set of images and whether to generate a virtual image, the terminal device 120 may also display example 200G as shown in Figure 2G in response to obtaining a selected set of images. In example 200G, the terminal device 120 may display a card 250 for prompting confirmation whether to generate a virtual image. Card 250 includes a return control and a generation control. In response to detecting a trigger operation on the return control in card 250, the terminal device 120 may cancel the display of card 250. In response to detecting a trigger operation on the generation control in card 250, the terminal device 120 may start generating a virtual image.
[0065] Referring back to FIG2E , the image selection interface shown in Example 200E may further include an operation control 232. The terminal device 120 may switch to displaying the image capture interface in response to detecting a trigger operation for the operation control 232. In some embodiments, the terminal device 120 may further determine that permission to access the camera has been obtained in response to detecting a selection operation for the selection 221 in Example 200C, and display the image capture interface. In some embodiments, the terminal device 120 may further display a default image capture interface in response to detecting a request or instruction to create a virtual image (e.g., a trigger operation for the creation entry 201 in Example 200A, a trigger operation for the creation control 212 in Example 200B, etc.).
[0066] The terminal device 120 can, for example, display example 200H as shown in Figure 2H. Example 200H can, for example, be an example of an image capture interface. The terminal device 120 can display the image captured by the camera in area 202 of example 200H. In some embodiments, the terminal device 120 can also display a border 204 and an area 203 for displaying prompt information in area 202. The terminal device 120 can, for example, determine whether the captured image meets the conditions related to the facial area. The conditions related to the facial area can, for example, include at least the condition that the facial area of the target object in the captured image is located within the border 204. As mentioned above, the terminal device 120 can, for example, use a series of face detection models to determine whether the captured image meets the conditions related to the facial area.
[0067] In some embodiments, if it is determined that the captured image in example 200H does not meet the conditions related to the facial region, the terminal device 120 may display a corresponding prompt message in area 203. This prompt message may be a pre-set fixed prompt message. For example, it may be a prompt message such as "Please adjust your face position." The prompt message may also be determined based on one or more conditions in the at least one condition not being met. For example, if it is determined that the captured image does not meet the condition that the facial region of the target subject in the captured image is within the bounding box 204, the terminal device 120 may display a prompt message such as "Place your face in the predetermined region" in area 203. As shown in FIG2H , in response to the facial region being located outside the bounding box 204 (including both the possibility of being completely or partially outside the bounding box 204), the terminal device 120 may display the prompt message "Place your face in the predetermined region" in area 203. Area 203 may be located at any appropriate location in example 200H, for example, it may be displayed at the top of all layers. For example, area 203 may be displayed as a superimposed image above area 202.
[0068] In some embodiments, if it is determined that the captured image meets the conditions associated with the facial region, the terminal device 120 may display a prompt in area 203 indicating that the image can be captured. As shown in FIG2I , if it is determined that the captured image meets the conditions associated with the facial region, the terminal device 120 may display a prompt message "No problem" in area 203 of example 200I to prompt the user that the current image meets the conditions associated with the facial region and can be captured. In response to detecting a trigger operation on the capture control 206 , the terminal device 120 may determine that an image capture operation has been received and capture the image currently displayed in area 202 .
[0069] After the terminal device 120 acquires the captured image, it may display example 200J as shown in FIG2J . Example 200J may, for example, display the captured image and a mark 207 . Mark 207 is used to indicate that the currently captured image meets the conditions related to the facial region and that the image has been successfully acquired by the terminal device 120 .
[0070] As shown in Figures 2H to 2J, the image capture interfaces shown in Examples 200H, 200I, and 200J may also display an operation control 205. In response to receiving a trigger operation for operation control 205, terminal device 120 may switch to displaying an image selection interface. For example, terminal device 120 may display Example 200K shown in Figure 2K, which illustrates an example of an image selection interface. Terminal device 120 may display an image captured via the image capture interface in area 233 of Example 200K.
[0071] It should be noted that terminal device 120 may acquire an avatar based solely on multiple images captured via the image capture interface, solely on multiple images selected via the image selection interface, or based on a combination of at least one image captured via the image capture interface and at least one image selected via the image selection interface. The specific images used to acquire the avatar may depend on the operation of user 110. Thus, user 110 can flexibly select previously captured images or capture new images.
[0072] In some embodiments, if the terminal device 120 acquires a virtual image only based on multiple images selected via the image selection interface, the terminal device 120 may determine the multiple images selected and acquire a virtual image based on the multiple images in response to receiving a trigger operation on the operation control 234 shown in Examples 200E to 200G.
[0073] In some embodiments, if terminal device 120 acquires an avatar based on a combination of at least one image captured via an image capture interface and at least one image selected via an image selection interface, terminal device 120 may acquire the selected multiple images in response to receiving a selection operation for multiple images in example 200K. Terminal device 120 may acquire an avatar based on the image captured via the image capture interface and the multiple selected images displayed in area 233.
[0074] In some embodiments, if the terminal device 120 acquires an avatar based solely on multiple images captured via an image capture interface, the terminal device 120 may display examples 200L through 200O, as shown in Figures 2L through 2O. Examples 200L through 200O illustrate various examples of image capture interfaces. It is understood that to ensure the effectiveness of the avatar subsequently generated based solely on the multiple images captured via the image capture interface, the terminal device 120 may need to acquire images that include faces from different angles. Examples 200L through 200O may display area 208. Area 208 may display a prompt instructing the acquisition of multiple images that include faces from different angles (it is understood that while three images are shown, any number of images may be used). The terminal device 120 may also display a prompt in area 203 instructing the acquisition of faces from different angles. For example, if an image is acquired that includes the right side of a face, the terminal device 120 may display the prompt "Turn your face to the right" in area 203. The terminal device 120 may also display the acquired image at the corresponding location in area 208. The terminal device 120 may further acquire a virtual avatar based on the plurality of images displayed in the area 208 .
[0075] If a trigger operation is received for the operation control 234, the terminal device 120 may determine that an operation has been received to create an avatar and begin acquiring the avatar. The terminal device 120 may create the avatar using a machine learning model, which may be deployed locally on the terminal device 120 or on the server 130. For example, multiple images specified by the user 110 may be provided to the machine learning model for generating the avatar.
[0076] As described above, in some embodiments of the present disclosure, the user 110 may not be required to distinguish the selected images, for example, it is not necessary to specify which of the images are front-facing images of the object. This helps the user to more conveniently specify images.
[0077] It should be noted that when the multiple images acquired all include the face of the same object (e.g., the first object) and only include the face of the object, the terminal device 120 can generate a virtual image corresponding to the object (e.g., the first virtual image) based on the multiple images acquired. When the multiple images acquired include the faces of multiple objects, the terminal device 120 can determine the priorities corresponding to these multiple objects. The terminal device 120 can, for example, determine the priority corresponding to each object based on the number of faces of each object. For example, if a total of 10 images are acquired, 6 of the 10 images include the face of the first object, 5 images include the face of the second object, and 3 images include the face of the third image (it can be understood that the same image can include the faces of multiple objects, and the first object, the second object, and the third object are three different objects), then the terminal device 120 can determine that the priority of the first object > the priority of the second object > the priority of the third object. The terminal device 120 can then generate a virtual image corresponding to the first object.
[0078] During the avatar generation process, terminal device 120 may display example 200P, as shown in FIG. Example 200P illustrates an example of an avatar creation progress interface. Example 200P includes prompt information indicating the avatar creation progress. For example, example 200P includes the prompt "Estimated time: XX hours, XX minutes." Example 200P may also include operation controls 251 and 252. If a trigger operation is received on operation control 252, terminal device 120 may determine to cancel avatar generation. For example, terminal device 120 may switch back to displaying example 200A, as shown in FIG. 2A . To prevent accidental touches, terminal device 120 may also display a card prompting confirmation to cancel avatar generation. As shown in FIG. 2Q , in example 200Q, terminal device 120 may display card 260. Upon detecting a return control in card 260, terminal device 120 may determine to continue avatar generation. Upon detecting a cancel control in card 160, terminal device 120 may cancel avatar generation. For example, terminal device 120 may switch back to displaying example 200A as shown in FIG. 2A , or may switch to displaying example 200R as shown in FIG. Example 200R includes operation control 261. For example, terminal device 120 may repeat the aforementioned operations of acquiring an image and generating an avatar in response to detecting a trigger operation on operation control 261.
[0079] Referring back to FIG2P , upon detecting a trigger operation on the operation control 251, the terminal device 120 may switch to displaying other interfaces that the application 120 can provide. For example, in response to detecting a trigger operation on the operation control 251, the terminal device 120 may switch to displaying the content recommendation interface shown in FIG2S (e.g., FIG200S ). It is understood that the terminal device 120 may also display any appropriate interface in response to detecting a trigger operation on the operation control 251, and this disclosure is not limited thereto.
[0080] Example 200S may include, for example, entry 271. Terminal device 120 may display a prompt indicating that an avatar is being generated (e.g., the text "Generating your avatar...") at entry 271. In some embodiments, terminal device 120 may also display creation progress information of an avatar (e.g., the first avatar) at entry 271. For example, terminal device 120 may display the text "Created: XX%" at entry 271 to display the creation progress information of the first avatar. If a trigger operation is detected for entry 271, terminal device 120 may switch back to displaying example 200P.
[0081] After the creation of the avatar is complete, the terminal device 120 may also provide a push notification to indicate that the avatar creation is complete. The push notification may include a first viewing portal for viewing the created avatar. In some embodiments, the terminal device 120 may also provide first viewing portals of different styles. For example, if the user interface currently displayed on the terminal device 120 is an interface provided by the application 120, the terminal device 120 may provide a first viewing portal of a first style. If the user interface currently displayed on the terminal device 120 is not an interface that can be provided by the application 120, the terminal device 120 may provide a first viewing portal of a second style.
[0082] As shown in Figures 2T and 2U, example 200T may be, for example, a content recommendation interface provided by application 120, and example 200U may be, for example, an interface not provided by application 120 (i.e., an interface outside the interface provided by application 120). For example, terminal device 120 may provide a first viewing entry 272 in example 200T and a first viewing entry 273 in example 800B. Terminal device 120 may then display the created avatar upon detecting a triggering operation on first viewing entry 272 or first viewing entry 273.
[0083] In some embodiments, after the avatar is created, the terminal device 120 may also provide a second viewing entry for the avatar in the user interface to view the created avatar. The user interface including the second viewing entry may, for example, be a user's message interface. As shown in Figures 2V and 2W, examples 200V and 200W may be user message interfaces. For example, in response to the creation of the avatar, the terminal device 120 may display a notification message viewing entry 274 in the message interface shown in example 200V. In some embodiments, the notification message viewing entry 274 may also be permanently displayed as shown in example 200V. In response to the creation of the avatar, the terminal device 120 displays a message prompt (e.g., the number 1) at the notification message viewing entry 274. In response to detecting a trigger operation for the notification message viewing entry 274, the terminal device 120 displays the message interface shown in example 200W. Example 200W includes a second viewing entry 275. In response to detecting a trigger operation for the second viewing entry 275, the terminal device 120 displays the created avatar.
[0084] In some embodiments, the terminal device 120 may also display an avatar image information interface (i.e., examples 200X to 200Z) as shown in Figures 2X to 2Z. The terminal device 120 may display the avatar information interface, for example, in response to the generation of an avatar or in response to a trigger for the avatar's image information. The avatar information interface may include at least one of a viewing portal corresponding to at least one style (e.g., portal 276-1, portal 276-2, portal 276-3, portal 276-4, etc.; this disclosure does not limit the number of at least one style) and a launch interface portal generated for a stylized image (e.g., portal 277). If the terminal device 120 detects a trigger operation for a viewing portal corresponding to a style (e.g., portal 276-1), the terminal device 120 may display the style information interface for that style (as described below). If the terminal device 120 detects a trigger operation for a launch interface portal (e.g., portal 277), the terminal device 120 may switch to displaying the launch interface generated for the stylized image, as described below.
[0085] The terminal device 120 may also display entry 278 in example 200X to provide more operations for the avatar. In response to detecting a trigger operation on entry 278, the terminal device 120 may display example 200Y of an interface such as that shown in FIG. 2Y. Example 200Y includes panel 280. Panel 280 may, for example, include controls 281, 282, and 283. In response to receiving a selection operation on control 281, the terminal device 120 may display a user interface including more operations for the avatar. In response to receiving a selection operation on control 283, the terminal device 120 may remove the display of panel 280. For example, the terminal device 120 may switch to displaying the interface shown in example 200X. In response to receiving a selection operation on control 282, the terminal device 120 may determine that a delete operation has been received for the avatar. To prevent accidental touches, the terminal device 120 may switch to displaying the interface shown in example 200Z. Example 200Z displays card 290. Card 290 includes a prompt indicating whether to delete the avatar. Terminal device 120 may determine to delete the avatar in response to a trigger operation on the delete control in card 290. Terminal device 120 may also determine to cancel the deletion of the avatar in response to a trigger operation on the return control in card 290. For example, terminal device 120 may return to display example 200X or example 200Y.
[0086] After creating a virtual avatar, the virtual avatar associated with the user can be used to generate an image having a certain element, also known as an element-specific image. For example, the virtual avatar associated with the user can be used to generate an image having a certain style, also known as a stylized image. In some embodiments, based on the user's selection, an image of the virtual avatar having the element can be generated in accordance with a style selected from multiple predetermined elements. In some embodiments, an image of the virtual avatar having a customized element can be generated based on the user's customization information. In some embodiments, the user can also adjust the predetermined elements or customized elements. The predetermined element or customized element can be considered a parent element, and the element obtained by adjusting the parent style can be considered a child element of the parent element.
[0087] Example interface for reusing elements
[0088] In some embodiments, if a user posts an image (which may be in the form of a picture or video) with a certain element, other users may be enabled to use this element to generate images of their own associated avatars. Such an example embodiment is described below. For illustrative purposes only, assume that a first user is associated with a first avatar of a first object (e.g., the first object may be the first user); and a second user different from the first user is associated with a second avatar of a second object (e.g., the second object may be the second user). The first user posts a fourth image of the first avatar with a third element.
[0089] Continuing to use style as an example to describe an example embodiment of reusing elements, it should be understood that the embodiments described with reference to style are applicable to other elements. In some embodiments, if a user publishes an image with a certain style (which can be in the form of a picture or a video), other users can be supported to use this style to generate images of virtual images associated with themselves. Such an example embodiment is described below. For descriptive purposes only, it is assumed that a first user is associated with a first virtual image of a first object, for example, the first object can be the first user; a second user different from the first user is associated with a second virtual image of a second object, for example, the second object can be the second user. The first user publishes a first image of a first virtual image with a first style.
[0090] The second user's terminal device 120 can present a first image of the first virtual avatar in the first style and a style usage entry for the first style. In some embodiments, the first image and style usage entry can be presented in a content recommendation interface. For example, when the second user browses an information stream or browses content posted by a user they follow, the first image and style usage entry can be presented to the second user. Then, based on triggering the style usage entry, the terminal device 120 can present a second image of the second virtual avatar in the first style. In other words, if a user browses an image with a style they like, they can use that style to generate a new image.
[0091] In some embodiments, the first style may include a parent style and a child style obtained by partially adjusting the parent style. For example, the parent style may be a predefined style in application 125. For another example, the parent style may be a user-customized style, as described above. The child style may be generated through the style adjustment process described above.
[0092] In some embodiments, if a style usage portal is triggered, terminal device 120 may present a style information interface for the first style, such as a style details page. The style information interface may include a portal for generating a first image for the first style, or a portal for viewing at least one image in the first style. Based on an operation associated with the style information interface, terminal device 110 may obtain a second image in the first style for a second avatar. In other words, based on an operation associated with the style information interface, the second user may trigger the creation of an image in the same or similar style using their associated avatar.
[0093] Some example interfaces are described with reference to Figures 3A to 3I. Figure 3A shows an example 300A of a content recommendation interface. The interface includes an image 301 of a first virtual image having style two (which is an example of the first style) and a style usage entry 302 for style two. If the style usage entry 302 is triggered, the terminal device 120 can present example 300B of Figure 3B, which is an example of a style information interface. Example 300B shows a style information interface for style two. The style information interface includes basic information of the style, such as the name displayed in area 306, the number of published works, etc.
[0094] The style information interface may include a first image generation portal for the first style, such as first image generation portal 305. In some embodiments, if first image generation portal 305 is triggered, terminal device 120 may obtain a second image. In other words, terminal device 120 may use the second avatar to generate an image in the first style.
[0095] The style information interface may include a viewing portal for at least one image having a first style, such as viewing portal 303 and viewing portal 304 shown in FIG3B . If a viewing portal is triggered, a viewing interface for the corresponding image may be presented. This viewing interface may include another image generation portal for the first style, also referred to as a second image generation portal. For example, if viewing portal 303 is triggered, terminal device 110 may present the image viewing interface shown in example 300C of FIG3C . This image viewing interface includes the corresponding image, style usage portal 307, and second image generation portal 308. If second image generation portal 308 is triggered, terminal device 120 may obtain a second image.
[0096] It should be noted here that, in some embodiments, if the first style is the parent style, the image corresponding to the viewing entry included in the style information interface may be an image with the parent style and / or an image with a sub-style under the parent style. For example, Style Two is the parent style. The image in the style information interface shown in Example 300B may have Style Two or a sub-style of Style Two. For example, the image corresponding to the viewing entry 303 has the sub-style "Style Two-User 345". The suffix "-User 345" in the style name may indicate that "User 345" adjusted Style Two to obtain the sub-style. In this case, the style name displayed in the style usage entry 307 is the name of the sub-style, as shown in Figure 3C.
[0097] In some embodiments, if the first style is a sub-style, the image corresponding to the viewing portal included in the style information interface can be an image with the sub-style and / or an image with the parent style of the sub-style. In addition, what is displayed in area 306 is the name of the sub-style.
[0098] Continuing with the description of stylized image generation, if the first image generation portal 305 or the second image generation portal 308 is triggered, the terminal device 120 may trigger the generation of the second image. If the current second user does not have an associated avatar, that is, if the second avatar has not yet been created, the terminal device 120 may present an avatar creation portal or an introduction interface for avatars. For example, the terminal device 120 may present the interface shown in Figure 2A or Figure 2B to guide the second user in creating their associated second avatar. In this case, if the creation of the second avatar takes a long time, a second image of the second avatar in the first style may be automatically generated after the second avatar is created, without requiring the second user to re-create the image. After the second image is generated, a notification or prompt may be sent to the second user via various suitable means to enable the second user to view the second image. Such notification or prompt may include, but is not limited to, a notification in the content recommendation interface, a message in the inbox, a system message on the terminal device 120, and the like.
[0099] In some embodiments, if the current second user has a created avatar, the terminal device 110 may allow the second user to select whether to use the created avatar or to create a new avatar and use the newly created avatar. In some embodiments, if the current second user has multiple created avatars, the terminal device 110 may allow the second user to select a avatar to use from the created avatars.
[0100] In some embodiments, if the current second user has a created second avatar, the terminal device 110 can directly trigger the generation of the second image using the second avatar. For example, if the first image generation portal 305 is triggered, the terminal device 120 can present the interface shown in example 300D of FIG. 3D , which indicates the triggering of the second image generation.
[0101] In some embodiments, during the process of generating the second image, the terminal device 120 may present a generation progress interface for indicating the image generation progress according to the generation progress of the second image, such as example 300E shown in FIG3E and example 300F shown in FIG3F . The generation progress interface may also include a determination control, such as control 309 in example 300E and control 310 in example 300F. If a trigger operation for the determination control in the generation progress interface is received, the terminal device 120 may switch to other interfaces that the presentation application 120 can provide. For example, the terminal device 120 may switch to the content recommendation interface of the presentation application 120 in response to detecting a trigger operation for control 309 or 310.
[0102] After the second image is generated or in response to the second user's viewing operation, the terminal device 120 may present a content preview interface for the second image. For example, example 300G in FIG. 3G is an example of a content preview interface. The content browsing interface may include multiple second images. Through the content browsing interface, the second user may further edit these images or delete one or more of them.
[0103] In some embodiments, based on an operation by the second user, the terminal device 120 may publish the second image. The content preview interface shown in Example 300G also includes an operation control 313 and an operation control 312. For example, the terminal device 120 may trigger the regeneration of the second image in response to receiving a trigger operation on the operation control 313. For example, the terminal device 120 may switch to presenting Example 300H shown in Figure 3H in response to receiving a trigger operation on the operation control 312. Example 300H shows an example of a content editing interface for the second image.
[0104] The content editing interface shown in Example 300H includes options for the publishing format of the second image. For example, Example 300H may include an operation control 314. Operation control 314 includes the options "Picture" and "Video." In response to receiving a trigger operation for the option "Picture," the terminal device 120 may determine to publish the second image in picture format. In response to receiving a trigger operation for the option "Video," the terminal device 120 may determine to publish the second image in video format. The content editing interface shown in Example 300H may also include an operation control 315. In response to receiving a trigger operation for operation control 315, the terminal device 120 may determine that an edit confirmation has been received (i.e., that the edit for the second image has been completed) and switch to presenting the content publishing interface for the second image. Figure 3I shows an example of a content publishing interface for the second image (i.e., Example 300I). Example 300I includes a publish control 317. In response to receiving a trigger operation for publish control 317, the terminal device 120 may determine that a publish confirmation has been received and publish the second image. In some embodiments, the content publishing interface shown in example 300I may further include a style usage entry 316 for the first style (Style 2 in this example). It should be understood that if a sub-style is used, the style usage entry 316 presents the name of the sub-style, such as "Style 2 - User 345".
[0105] In some embodiments, a second user can be supported to adjust the style of the second virtual avatar, and an image of the second virtual avatar having the adjusted first style can be generated. For example, in response to an instruction to adjust the style of the second virtual avatar's second image having the first style, the terminal device 120 can present a style adjustment interface. The terminal device 120 can receive adjustment information for the first style via the style adjustment interface and, based on the received adjustment information, present a fourth image of the second virtual avatar having the adjusted first style. In other words, if the second user is dissatisfied with the generated second image or has their own preferences, they can adjust the first style and generate a second virtual avatar image having the adjusted first style based on the adjusted first style.
[0106] In some embodiments, the content preview interface described above may include a style adjustment portal. For example, the content preview interface shown in example 300G may include portal 311. In response to detecting a triggering operation on the style adjustment portal, terminal device 120 may determine that a style adjustment instruction has been received for a second image having a first style of a second avatar. In response to the style adjustment instruction for the second image, terminal device 120 may present the style adjustment interface.
[0107] Note that if a second user modifies the first style, creating a new sub-style, the style name displayed in the style usage portal after the image is published may include information about the second user. For example, if the second user is "User 567" and modifies Style 2, the style name displayed in the style usage portal may be "Style 2 - User 567."
[0108] In this embodiment, existing elements can be used through content published by other users, which helps to enhance the interactivity between different users.
[0109] Example interface for adjusting image elements
[0110] As mentioned above, in some embodiments, the user can be supported to adjust image elements, and an image of the virtual image with the adjusted elements can be generated. The terminal device 120 can present an element adjustment interface in response to an element adjustment request for the second image of the second virtual image with the first element. The terminal device 120 can receive adjustment information for the first element via the element adjustment interface, and based on the received adjustment information, present a fourth image of the second virtual image with the adjusted first element. That is, if the user is not satisfied with the generated second image with the first element or has his own preferences, he can adjust the first element and generate an image of the second virtual image with the adjusted first element based on the adjusted first element. In some embodiments, if the first element is a predetermined element, the first element can be regarded as a parent element, and the adjusted first element can be regarded as a child element of the parent element.
[0111] Continuing with the example of adjusting image elements using style, we will now describe an example embodiment for adjusting image elements. However, it should be understood that the embodiments described with reference to style are applicable to other elements. In some embodiments, users can be supported to adjust style, and an image of an avatar with the adjusted style can be generated. For example, in response to an instruction to adjust the style of a second image of a second avatar with a first style, the terminal device 120 can present a style adjustment interface. The terminal device 120 can receive adjustment information for the first style via the style adjustment interface and, based on the received adjustment information, present a fourth image of the second avatar with the adjusted first style. In other words, if the user is dissatisfied with the generated second image with the first style or has their own preferences, they can adjust the first style and generate an image of the second avatar with the adjusted first style based on the adjusted first style. In some embodiments, if the first style is a predetermined style, the first style can be considered a parent style, and the adjusted first style can be considered a child style of the parent style.
[0112] In some embodiments, the content preview interface described above (e.g., example 300G shown in FIG. 3G ) may include a style adjustment entry (e.g., entry 311 ). The terminal device 120 may determine, in response to detecting a trigger operation for the style adjustment entry, that a style adjustment instruction for a second image having a first style of a second virtual image has been received. The terminal device 120 may present a style adjustment interface in response to the style adjustment instruction for the second image. The style adjustment interface may, for example, include a first input control (e.g., a text input box, a voice input control, etc.) for receiving adjustment information, a first prompt message for the adjustment information, or at least one item in the second image. The first prompt message indicates an adjustable portion of the first style.
[0113] Figure 4A shows an example of a style adjustment interface (i.e., example 400A). As shown in Figure 4A, example 400A may include a second image 410. The terminal device 120 can present the second image 410 so that the user can adjust the configuration information of the first style by referring to the second image 410. This makes it easy for the user to adjust the style intuitively. Example 400A may also include a first input control 420, an area 430, and an input panel 440. The user can input adjustment information for the first style through the first input control 420. Alternatively, at least a portion of the current configuration information of the first style may be presented in the first input control 420. The user can modify the configuration information displayed in the first input control 420.
[0114] In some embodiments, if a preset operation for the style adjustment interface is received, the terminal device 120 may stop displaying the second image in the style adjustment interface. In other words, the terminal device 120 may not display the second image in the style adjustment interface. In addition, the terminal device 120 may also increase the rendering area of the first input control. As shown in Figures 4A and 4B, the terminal device 120 may, for example, present the interface shown in Example 400B in response to receiving an upward drag operation for the operation control 401 in Example 400A. The second image 410 is no longer presented in Example 400B, and the rendering area of the first input control 420 in Example 400B is larger than the rendering area of the first input control 420 in Example 400A.
[0115] Area 430 may include a cancel control 402 and a regenerate control 403. The terminal device 120 may obtain adjustment information input by the user via the input panel 440. If a trigger operation is received for the cancel control 402, the terminal device 120 may determine to cancel the configuration information for adjusting the first style. For example, the terminal device 120 may return to presenting the content preview interface. The terminal device 120 may also determine the adjusted first style based on the adjusted configuration information of the first style in response to detecting the trigger operation for the regenerate control 403, and obtain a fourth image of the second virtual image with the adjusted first style. In some embodiments, the terminal device 120 may use the target model to generate the fourth image. For example, a prompt word may be generated based on the adjusted configuration information of the first style, and the prompt word may be provided to the target model. For another example, the adjusted configuration information of the first style and the second virtual image may be provided to the target model as image generation conditions. The embodiments of the present disclosure are not limited in this respect.
[0116] For example, the terminal device 120 may start acquiring the fourth image in response to receiving a trigger operation for regenerating the control 403. For example, the terminal device 120 may present the example 400C shown in Figure 4C. Example 400C is an example of a creation progress interface for the fourth image. Before acquiring the fourth image, the terminal device 120 may, for example, present indicative information about the generation progress based on the generation progress of the fourth image. For example, the terminal device 120 may present the text "XX%" and the text "estimated time: XX hours XX minutes" in the interface shown in example 400C. For example, the terminal device 120 may switch to other interfaces that the presentation application 120 can provide in response to receiving a trigger operation for a certain control (such as control 404) in example 400C. Exemplarily, the terminal device 120 may switch to the content recommendation interface of the presentation application 120 in response to detecting a trigger operation for control 305.
[0117] In response to the fourth image being generated, the terminal device 120 may provide example 400D as shown in FIG4D . Example 400D may be an example of a content preview interface for the fourth image. As shown in FIG4D , the terminal device 120 may present the fourth image in example 400D. In this example, multiple fourth images are presented. The content preview interface may include a style adjustment portal (e.g., portal 405). In response to detecting a trigger operation on the style adjustment portal, the terminal device 120 may determine that a style adjustment instruction has been received for the fourth image of the second avatar having the adjusted first style. In other words, the user may further adjust the adjusted first style. Example 400D also includes operation controls 406 and 407. For example, in response to receiving a trigger operation on operation control 406, the terminal device 120 may regenerate all fourth images in example 400D. For example, in response to receiving a trigger operation on operation control 407, the terminal device 120 may switch to presenting example 400E as shown in FIG4E .
[0118] Example 400E is an example of a content editing interface for a fourth image. The interface shown in Example 400E includes options for the publishing format of the fourth image. For example, Example 400E shows an operation control 404. Operation control 404 includes the options "Picture" and "Video." In response to receiving a trigger operation for the option "Picture," the terminal device 120 may determine to publish the fourth image in picture format. In response to receiving a trigger operation for the option "Video," the terminal device 120 may determine to publish the fourth image in video format. Example 400E may also include an operation control 409. In response to a trigger operation for operation control 409, the terminal device 120 may determine that an edit confirmation has been received (i.e., that the edit for the fourth image has been completed) and switch to presenting the content publishing interface for the fourth image. The terminal device 120 may receive the publishing confirmation via the content publishing interface for the fourth image. In response to receiving the publishing confirmation, the terminal device 120 may publish the fourth image. The content publishing interface for the fourth image is similar to the content publishing interface for the second image described above, and therefore will not be described in detail.
[0119] The above describes an example of adjusting the configuration information of the first style and obtaining the fourth image based on the adjusted configuration information. Now, multiple examples of the style adjustment interface (ie, examples 500A to 500J) are described in detail with reference to FIG. 5A to FIG. 5J .
[0120] For example, the terminal device 120 may present a style adjustment interface as shown in Example 500A in response to receiving a trigger operation for a style adjustment entry (e.g., entry 311) in a content preview interface (e.g., Example 300G shown in FIG. 3G ). As shown in FIG. 5A , Example 500A may include an area 510. Area 510 may display at least a portion of the fixed configuration information of the first style. It should be noted that, when the first style includes fixed configuration information, the terminal device 120 may generate a prompt word based on the adjustment information and the fixed configuration information for the first style. The terminal device 120 may provide the prompt word to a model (i.e., a target model) for generating an image. The terminal device 120 may obtain the output of the target model and obtain a fourth image based on the output.
[0121] Example 500A may also include a first input control 520, an area 530, and an input panel 540. Terminal device 120 may obtain adjustment information input by the user via input panel 540. In some embodiments, first input control 520 may present a first prompt for the adjustment information. The first prompt indicates an adjustable portion of the first style. For example, the first prompt may be the text "Add colors, objects, shapes, and other descriptions to customize your avatar," as shown in Example 500A.
[0122] Example 500A also includes a cancel control 501. In response to receiving a trigger operation for cancel control 501, terminal device 120 may determine to cancel the configuration information for adjusting the first style. For example, terminal device 120 may return to presenting the content preview interface. Area 530 may include a generate control 502. Furthermore, in response to detecting a trigger operation for generate control 502, terminal device 120 may determine an adjusted first style based on the received adjustment information and fixed configuration information, and acquire a fourth image of the second avatar having the adjusted first style. For example, in response to receiving a trigger operation for generate control 502, terminal device 120 may begin acquiring a fourth image.
[0123] As shown in Figure 5B, the terminal device 120 can present the acquired adjustment information in the first input control 520 in Example 500B. For example, the terminal device 120 can also present all of the fixed configuration information of the first style in response to receiving a trigger operation for control 510. For example, the terminal device 120 can present the interface shown in Example 500C in response to receiving a trigger operation for control 510 in Example 500B. Control 510 in Example 500C includes all of the fixed configuration information of the first style.
[0124] In the case of obtaining the adjustment information via the first input control 520, the terminal device 120 may also determine the position of the input indicator in the first input control 520. The input indicator here may be, for example, the symbol "|" in the first input control 520 of Figure 5B. In response to the input indicator being located inside the adjustment information, the terminal device 120 may present the menu 503 shown in example 500D. The menu 503 may include a plurality of operation options for the adjustment information, such as the option "Paste", the option "Select", and the option "Select All". For example, the terminal device 120 may also present the menu 504 shown in example 500E in response to determining that part of the information in the adjustment information is selected. The menu 504 may include a plurality of operation options for the selected part of the adjustment information, such as the option "Cut", the option "Copy", and the option "Find".
[0125] For example, the terminal device 120 may also present the interface shown in Example 500F in response to receiving a preset operation (e.g., a cancel operation on the input panel 540) for the style adjustment interface (e.g., Example 500B). In Example 500F, the input panel 540 is no longer presented, and the presentation area of the first input control 520 is increased. For example, the terminal device 120 may also present the interface shown in Example 500G in response to receiving a preset operation (e.g., a delete operation) on the first input control 520. The interface of Example 500G includes a card 505. Card 505 includes a prompt to confirm whether to delete the adjustment information. Card 505 also includes a cancel control and a discard control. In response to receiving a trigger operation on the cancel control in card 505, the terminal device 120 may cancel the deletion of the adjustment information. In response to receiving a trigger operation on the discard control in card 505, the terminal device 120 may delete the received adjustment information presented in the first input control 520.
[0126] In some embodiments, if an image generation indication associated with adjustment information is received, the terminal device 120 may verify the received adjustment information. In other words, the terminal device 120 may determine whether the adjustment information meets a preset condition. The preset condition may involve any suitable attribute related to the adjustment information, for example, it may include whether the grammar of the text is correct, whether the wording is appropriate, whether the number of words is less than a threshold, and so on. For example, the terminal device 120 may determine that an image generation indication has been received and verify the received adjustment information in response to receiving a trigger operation for the generation control 502. In the process of verifying the adjustment information, the terminal device 120 may, for example, present the interface shown in Example 500H. In Example 500H, the terminal device 120 may present a prompt message in the generation control 502 indicating that verification is currently being performed. For example, the terminal device 120 may indicate that verification is currently being performed by presenting a specific interface element.
[0127] If the adjustment information meets the preset conditions, i.e., passes verification, terminal device 120 may acquire a fourth image based on the adjustment information and the fixed configuration information. If the adjustment information does not meet the preset conditions, i.e., fails verification, terminal device 120 may present a corresponding prompt indicating that the adjustment information has failed verification. As shown in FIG5I , if the adjustment information fails verification, terminal device 120 may present example 500I. Terminal device 120 may present a prompt in area 530 of example 500I, "Unable to process this prompt. Please edit and try again," to inform the user that the adjustment information has failed verification.
[0128] In some embodiments, the terminal device 120 may also, in response to receiving the adjustment information, directly verify the adjustment information by default. As shown in Figure 5H, if the adjustment information fails verification, the terminal device 120 may also present example 500H. The terminal device 120 may present a pop-up window 506 in example 500H. For example, the terminal device 120 may present a prompt message in the pop-up window, "You have reached the upper limit of XX words," to inform the user that the adjustment information failed verification.
[0129] By verifying the adjustment information input by the user, the validity of the adjustment can be guaranteed, which helps the user to adjust the style conveniently.
[0130] In this embodiment, users can adjust the existing style to obtain a style that satisfies their preferences. In this way, the threshold for using styles is lowered while also ensuring the diversity of styles.
[0131] Although in the above description, requests, instructions or selections from users are received or detected through interface elements such as controls and portals, it should be understood that this is merely exemplary. In some embodiments, there may be no such interface elements, and requests, instructions or selections may be given through natural language (including text or voice).
[0132] Example Process
[0133] FIG6 shows a flow chart of a process 600 for image generation according to some embodiments of the present disclosure. The process 600 may be implemented at the terminal device 120. The process 600 is described below with reference to FIG1.
[0134] In block 610 , the terminal device 120 presents a first image of a first avatar having a first element and an element usage portal of the first element, where the first avatar includes media data representing an appearance feature of a first object.
[0135] In block 620 , the terminal device 120 presents a second image of a second virtual image having the first element based on triggering of the element usage portal, where the second virtual image includes media data representing an appearance feature of the second object.
[0136] In some embodiments, in response to triggering an element usage portal, an element information interface of the first element is presented, and the element information interface includes at least one of the following: generating a portal for a first image of the first element, or a viewing portal for at least one image of the first element; obtaining a second image based on an operation associated with the element information interface; and presenting the second image in response to obtaining the second image.
[0137] In some embodiments, acquiring the second image includes: acquiring the second image based on the first element and the second virtual image in response to triggering the first image generation portal.
[0138] In some embodiments, acquiring the second image includes: in response to triggering a viewing entrance of a third image in at least one image, presenting a viewing interface of the third image, the viewing interface including a second image generation entrance for the first element; and in response to triggering the second image generation entrance, acquiring the second image based on the third element and the second virtual image of the third image.
[0139] In some embodiments, process 600 also includes: presenting an element adjustment interface in response to an indication of an element adjustment for the second image; receiving adjustment information for the first element via the element adjustment interface; and presenting a fourth image of the second virtual image with the adjusted first element based on the received adjustment information.
[0140] In some embodiments, the element adjustment interface includes at least a portion of fixed configuration information of the first element, and process 600 further includes acquiring a fourth image based on the received adjustment information and the fixed configuration information.
[0141] In some embodiments, the element adjustment interface includes at least one of the following: an input control for receiving adjustment information, prompt information for the adjustment information, the prompt information indicating an adjustable portion of the first element, or a second image.
[0142] In some embodiments, process 600 further includes: in response to a preset operation on the element adjustment interface, stopping displaying the second image in the element adjustment interface; and increasing a presentation area of the input control.
[0143] In some embodiments, the element adjustment instruction is received by: presenting a content preview interface including the second image and an element adjustment portal; and receiving the element adjustment instruction via the element adjustment portal.
[0144] In some embodiments, process 600 also includes: in response to a publication indication for the second image, presenting a content editing interface for the second image; in response to receiving an edit confirmation via the content editing interface, presenting a content publishing page for the second image; and in response to receiving a publication confirmation via the content publishing page, publishing the second image.
[0145] In some embodiments, the content editing interface includes options for a publishing format of the second image.
[0146] In some embodiments, process 600 also includes: presenting an image acquisition interface in response to an image creation indication; determining multiple images of the second object based on at least one of the following operations via the image acquisition interface: a selection operation of an already captured image, or an image capture operation; and acquiring a second virtual image based on the multiple images in response to an image creation confirmation.
[0147] In some embodiments, the avatar creation instruction is received by: presenting an avatar creation portal for the second avatar based on triggering the element usage portal; and receiving the avatar creation instruction via the avatar creation portal.
[0148] In some embodiments, the first element includes a parent element and a child element obtained by partially adjusting the parent element.
[0149] In some embodiments, the parent element includes at least one of the following: a predetermined element, or a user-customized element.
[0150] In some embodiments, the first element includes at least one of the following: image style, image background, or image foreground.
[0151] Example devices and equipment
[0152] Embodiments of the present disclosure also provide corresponding apparatuses for implementing the above-described methods or processes. FIG7 shows a schematic structural block diagram of an apparatus 700 for image generation according to certain embodiments of the present disclosure. Apparatus 700 may be implemented as or included in terminal device 120. Each module / component in apparatus 700 may be implemented using hardware, software, firmware, or any combination thereof.
[0153] As shown in Figure 12, device 700 includes a first rendering module 710 configured to render a first image of a first virtual avatar having a first element and an element usage portal for the first element, wherein the first virtual avatar includes media data representing the appearance characteristics of a first object. Device 700 also includes a second rendering module 720 configured to render a second image of a second virtual avatar having the first element, wherein the second virtual avatar includes media data representing the appearance characteristics of a second object, upon triggering the element usage portal.
[0154] In some embodiments, the second presentation module 720 is further configured to: in response to triggering an element usage entrance, present an element information interface of the first element, the element information interface including at least one of the following: generating an entrance for the first image of the first element, or having a viewing entrance for at least one image of the first element; obtaining a second image based on an operation associated with the element information interface; and presenting the second image in response to obtaining the second image.
[0155] In some embodiments, the second presentation module 720 is further configured to: in response to triggering the first image generation portal, obtain a second image based on the first element and the second virtual image.
[0156] In some embodiments, the second presentation module 720 is further configured to: in response to triggering a viewing entrance of a third image in at least one image, present a viewing interface of the third image, the viewing interface including a second image generation entrance for the first element; and in response to triggering the second image generation entrance, obtain a second image based on the third element and the second virtual image of the third image.
[0157] In some embodiments, the second presentation module 720 is further configured to: present an element adjustment interface in response to an indication of an element adjustment of the second image; receive adjustment information for the first element via the element adjustment interface; and present a fourth image of the second virtual image with the adjusted first element based on the received adjustment information.
[0158] In some embodiments, the element adjustment interface includes at least a portion of the fixed configuration information of the first element, and the apparatus 700 further includes an image acquisition module configured to acquire a fourth image based on the received adjustment information and the fixed configuration information.
[0159] In some embodiments, the element adjustment interface includes at least one of the following: an input control for receiving adjustment information, prompt information for the adjustment information, the prompt information indicating an adjustable portion of the first element, or a second image.
[0160] In some embodiments, the second presentation module 720 is further configured to: stop displaying the second image in the element adjustment interface in response to a preset operation on the element adjustment interface; and increase the presentation area of the input control.
[0161] In some embodiments, the element adjustment instruction is received by: presenting a content preview interface including the second image and an element adjustment portal; and receiving the element adjustment instruction via the element adjustment portal.
[0162] In some embodiments, the second presentation module 720 is further configured to: in response to a publication indication for the second image, present a content editing interface for the second image; in response to receiving an editing confirmation via the content editing interface, present a content publishing page for the second image, and the device 700 also includes a publishing module configured to: in response to receiving a publication confirmation via the content publishing page, publish the second image.
[0163] In some embodiments, the content editing interface includes options for a publishing format of the second image.
[0164] In some embodiments, the device 700 also includes: an interface presentation module, configured to present an image acquisition interface in response to an image creation indication; an image acquisition module, configured to determine multiple images of the second object based on at least one of the following operations via the image acquisition interface: a selection operation on a captured image, or an image capture operation; and an image acquisition module, configured to acquire a second virtual image based on multiple images in response to an image creation confirmation.
[0165] In some embodiments, the avatar creation instruction is received by: presenting an avatar creation portal for the second avatar based on triggering the element usage portal; and receiving the avatar creation instruction via the avatar creation portal.
[0166] In some embodiments, the first element includes a parent element and a child element obtained by partially adjusting the parent element.
[0167] In some embodiments, the parent element includes at least one of the following: a predetermined element, or a user-customized element.
[0168] In some embodiments, the first element includes at least one of the following: image style, image background, or image foreground.
[0169] The units and / or modules included in the device 700 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units and / or modules in the device 700 can be implemented at least in part by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0170] It should be understood that one or more steps in the above method may be performed by an appropriate electronic device or combination of electronic devices, such as the terminal device 120 and the server 130 in FIG1 .
[0171] FIG8 shows a block diagram of an electronic device 800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 800 shown in FIG8 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 800 shown in FIG8 may be used to implement the terminal device 120 of FIG1 or the apparatus 1200 of FIG12 .
[0172] As shown in FIG8 , electronic device 800 is a general-purpose electronic device. Components of electronic device 800 may include, but are not limited to, one or more processors or processing units 810, memory 820, storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. Processing unit 810 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 820. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 800.
[0173] The electronic device 800 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 800, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 820 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 830 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 800.
[0174] The electronic device 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG8 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 820 may include a computer program product 825 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0175] The communication unit 840 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 800 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 800 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0176] The input device 850 may be one or more input devices, such as a mouse, keyboard, or trackball. The output device 860 may be one or more output devices, such as a display, a speaker, or a printer. The electronic device 800 may also communicate with one or more external devices (not shown) via the communication unit 840 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with the electronic device 800, or with any device that allows the electronic device 800 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0177] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0178] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0179] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0180] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0181] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0182] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for generating an image, comprising: Presenting a first image having a first element of a first virtual image and an element use portal of the first element, wherein the first virtual image includes media data representing an appearance feature of a first object; as well as Based on triggering the use of the portal for the element, a second image of a second virtual image having the first element is presented, the second virtual image including media data representing the appearance characteristics of a second object.
2. The method of claim 1 , wherein presenting the second image comprises: In response to triggering the element usage entry, presenting an element information interface of the first element, the element information interface including at least one of the following: generating an entry for a first image of said first element, or a respective viewing portal having at least one image of said first element; Based on the operation associated with the element information interface, acquiring the second image; as well as In response to acquiring the second image, presenting the second image.
3. The method according to claim 2, wherein acquiring the second image comprises: In response to triggering the first image generation portal, the second image is acquired based on the first element and the second virtual image.
4. The method according to claim 2, wherein acquiring the second image comprises: In response to triggering a viewing portal of a third image among the at least one image, presenting a viewing interface of the third image, the viewing interface including a second image generation portal for the first element; as well as In response to triggering the second image generation portal, the second image is acquired based on the third element of the third image and the second virtual image.
5. The method according to claim 1, further comprising: In response to an instruction to adjust an element of the second image, presenting an element adjustment interface; Receiving adjustment information for the first element via the element adjustment interface; as well as Based on the received adjustment information, a fourth image of the second virtual image having the adjusted first element is presented.
6. The method according to claim 5, wherein the element adjustment interface includes at least a portion of the fixed configuration information of the first element, and the method further comprises: Based on the received adjustment information and the fixed configuration information, the fourth image is acquired.
7. The method according to claim 5, wherein the element adjustment interface comprises at least one of the following: An input control for receiving the adjustment information, prompt information for the adjustment information, the prompt information indicating an adjustable part of the first element, or the second image.
8. The method according to claim 7, further comprising: In response to a preset operation on the element adjustment interface, stop displaying the second image in the element adjustment interface; as well as The rendering area of the input control is increased.
9. The method according to claim 1, wherein the element adjustment indication is received in the following manner: presenting a content preview interface including the second image and an element adjustment portal; and The element adjustment indication is received via the element adjustment entry.
10. The method according to claim 1, further comprising: In response to a publishing instruction for the second image, presenting a content editing interface for the second image; In response to receiving an edit confirmation via the content editing interface, presenting a content publishing page for the second image; and In response to receiving a publish confirmation via the content publish page, the second image is published. The method of claim 10 , wherein the content editing interface includes an option for a publishing format of the second image.
12. The method according to claim 1, further comprising: In response to the image creation instruction, presenting an image acquisition interface; Determining a plurality of images of the second object based on at least one of the following operations via the image acquisition interface: Select operations on captured images, or image capture operations; and In response to the character creation confirmation, the second virtual character is acquired based on the plurality of images.
13. The method according to claim 12, wherein the image creation instruction is received in the following manner: Based on the triggering of the element use portal, presenting an avatar creation portal for the second avatar; and The character creation instruction is received via the character creation portal. The method according to claim 1 , wherein the first element includes a parent element and a child element obtained by partially adjusting the parent element.
15. The method according to claim 14, wherein the parent element comprises at least one of the following: Predetermined elements, or User-customizable elements.
16. The method according to claim 1, wherein the first element comprises at least one of the following: image style, image background or image foreground.
17. An apparatus for image generation, comprising: A first presentation module is configured to present a first image of a first virtual image having a first element and an element use portal of the first element, wherein the first virtual image includes media data representing an appearance feature of a first object; as well as The second rendering module is configured to render a second image of a second virtual image having the first element based on a trigger of using the entry for the element, wherein the second virtual image includes media data representing an appearance feature of a second object.
18. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 16 when executed by the at least one processing unit.
19. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Image generation method and device, equipment and storage medium
CN117785002A
Virtual image processing method and device, terminal and storage medium
CN113325983A
Object processing method and device
CN116934928A
Image generation method and device, equipment and storage medium
CN117687553A