Virtual gift generation method and device, electronic equipment and storage medium
The virtual gift generation method allows users to select and generate personalized virtual gifts in the live stream, solving the problem of monotonous virtual gift display styles and improving the interaction rate and fun of the live stream.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
- Filing Date
- 2026-02-13
- Publication Date
- 2026-05-19
AI Technical Summary
Current technologies for displaying virtual gifts in live streaming rooms have limited variety, which affects interaction rates.
This paper provides a method for generating virtual gifts. Through a visual gift creation page, objects can freely choose virtual clothing and dynamic behaviors. Combined with generative models and prompt word controls, personalized virtual gifts are generated and displayed in the live broadcast room.
This enhanced the personalization and fun of gift-giving, increasing the interaction rate in the live stream and the audience's sense of participation.
Smart Images

Figure CN122069402A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of multimedia technology, and in particular to a method, apparatus, electronic device, and storage medium for generating virtual gifts. Background Technology
[0002] With the development of multimedia technology, watching live streams has gradually become one of people's daily entertainment methods. Currently, during live streams, viewers can participate in interactive activities by sending virtual gifts to the streamer. However, in related technologies, virtual gifts in live stream rooms are usually pre-set by the live streaming platform, and the display style of virtual gifts is relatively simple and fixed, affecting the interaction rate in the live stream room. Summary of the Invention
[0003] This disclosure provides a method, apparatus, electronic device, and storage medium for generating virtual gifts, enhancing the personalization and fun of gift-giving and improving the interaction rate of live streaming rooms. The technical solution of this disclosure is as follows: According to one aspect of the embodiments of this disclosure, a method for generating virtual gifts is provided, comprising: In response to a gift creation command, a gift creation page is displayed, which shows multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. In response to the selection operation of the plurality of virtual outfits and the plurality of dynamic behaviors, a target virtual outfit and a target dynamic behavior are determined; In response to the gift generation operation, based on the target virtual clothing, the target dynamic behavior, and the target virtual avatar, a first virtual gift is displayed. The first virtual gift is used to present the dynamic effect of the target virtual avatar wearing the target virtual clothing and performing the target dynamic behavior. In response to a gift-sending operation in the target live stream room, the first virtual gift is displayed in the target live stream room.
[0004] According to another aspect of the embodiments of this disclosure, a virtual gift generation apparatus is provided, comprising: The display unit is configured to respond to a gift creation instruction by displaying a gift creation page, which displays multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. The determining unit is configured to perform a selection operation in response to the plurality of virtual costumes and the plurality of dynamic behaviors to determine a target virtual costume and a target dynamic behavior; The display unit is further configured to perform a first virtual gift in response to the gift generation operation, based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first virtual gift is used to present the dynamic effect of the target virtual image wearing the target virtual clothing and performing the target dynamic behavior. The display unit is also configured to perform a gift-sending operation in the target live stream room, displaying the first virtual gift in the target live stream room.
[0005] In some embodiments, the display unit is configured to perform any of the following: On the gift creation page, multiple virtual outfits for the target virtual avatar to wear are displayed. When the target virtual outfit is selected, multiple dynamic behaviors that match the target virtual outfit are displayed. On the gift creation page, multiple dynamic behaviors are displayed for the target virtual avatar to perform. When the target dynamic behavior is selected, multiple virtual outfits that match the target dynamic behavior are displayed.
[0006] In some embodiments, the display unit is further configured to perform any of the following: When a target virtual outfit is selected among the multiple virtual outfits, the gift creation page may add and display multiple dynamic behaviors that match the target virtual outfit, or replace the already displayed multiple dynamic behaviors with multiple dynamic behaviors that match the target virtual outfit. When the target dynamic behavior is selected among the multiple dynamic behaviors, the gift creation page adds and displays multiple virtual outfits that match the target dynamic behavior, or replaces the already displayed multiple virtual outfits with multiple virtual outfits that match the target dynamic behavior.
[0007] In some embodiments, the first virtual gift is generated by a generative model; The display unit is configured to display a prompt word control on the gift creation page. The prompt word control is used to obtain the prompt words used by the generative model when generating the virtual gift. The prompt word control displays a first prompt word generated based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first prompt word is used to describe the content of the virtual gift to be generated. In response to the gift generation operation, the first virtual gift generated is displayed based on the target virtual clothing, the target dynamic behavior, the target virtual image, and the first prompt word.
[0008] In some embodiments, the first virtual gift is generated by a generative model; The display unit is configured to display a prompt word control on the gift creation page, the prompt word control being used to obtain the prompt word used when the generative model generates the virtual gift; and to display a second prompt word customized by the object in response to an input operation to the prompt word control. The determining unit is configured to determine the target virtual clothing and the target dynamic behavior based on the second prompt word; The display unit is further configured to perform a response to the gift generation operation, displaying the generated first virtual gift based on the target virtual clothing, the target dynamic behavior, the target virtual image, and the second prompt word.
[0009] In some embodiments, the display unit is further configured to display a plurality of candidate prompts based on existing prompts in the prompt control; when any prompt is selected among the plurality of candidate prompts, the selected candidate prompt is incorporated into the existing prompts in the prompt control to obtain a third prompt; and in response to a gift generation operation, a first virtual gift is displayed based on the target virtual clothing, the target dynamic behavior, the target virtual image, and the third prompt.
[0010] In some embodiments, the display unit is further configured to display images of multiple objects on the gift creation page; The determining unit is further configured to perform a selection operation in response to the images of the plurality of objects, and to determine the target virtual image based on the image of the selected object.
[0011] In some embodiments, the display unit is further configured to display an image upload control on the gift creation page, the image upload control being used to obtain a virtual image for generating a virtual gift; The determining unit is further configured to perform an input operation in response to the image upload control, determining the target virtual image based on the image of the input object.
[0012] In some embodiments, the display unit is configured to execute a gift co-creation page in response to a gift co-creation instruction. The gift co-creation page is used for multiple objects to jointly create virtual gifts, and the gift co-creation page displays the multiple virtual outfits and the multiple dynamic behaviors. The determining unit is configured to perform a selection operation on the plurality of virtual outfits by a first object to determine the target virtual outfit; and to determine the target dynamic behavior in response to a selection operation on the plurality of dynamic behaviors by a second object.
[0013] In some embodiments, the display unit is further configured to execute an example resource of the first virtual gift based on the target virtual clothing, target dynamic behavior, and target virtual avatar, the example resource being used to demonstrate the style of the first virtual gift.
[0014] In some embodiments, the display unit is further configured to switch the example resource of the virtual gift based on the switched target virtual clothing, target dynamic behavior, and target virtual image when at least one of the target virtual clothing, target dynamic behavior, and target virtual image is switched.
[0015] In some embodiments, the display unit is further configured to display the generation progress of the first virtual gift in the target live streaming room.
[0016] In some embodiments, the display unit is configured to perform any of the following: The generation progress of the first virtual gift is displayed at a fixed location in the target live stream room; Based on the generation progress of the first virtual gift, multiple comment messages containing the generation progress are displayed sequentially in the comment section of the target live stream, with the generation progress in the multiple comment messages increasing sequentially.
[0017] In some embodiments, the display unit is further configured to display multiple virtual gifts created by other objects in the target live streaming room, each virtual gift being used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors; and to display the virtual gift in the target live streaming room in response to a sending operation of any of the multiple virtual gifts.
[0018] In some embodiments, the display unit is further configured to display a plurality of generated virtual gifts, each virtual gift being used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behavior; for any of the plurality of virtual gifts, in response to a switching operation on at least one of the virtual clothing, dynamic behavior, and virtual avatar among the virtual gifts, a second virtual gift is displayed based on the switched virtual clothing, dynamic behavior, and virtual avatar; in response to a gift sending operation in the target live streaming room, the second virtual gift is displayed in the target live streaming room.
[0019] In some embodiments, the display unit is configured to perform a first virtual gift in response to a gift generation operation, based on a facial image of a target object, the target virtual clothing, and the virtual image in the target dynamic behavior. The target virtual image in the first virtual gift is obtained by fusing the face of the target object in the facial image, the target virtual clothing, and the virtual image in the target dynamic behavior.
[0020] In some embodiments, there are multiple facial images of the target object, and the facial pose of the target object is different in different facial images; The display unit is configured to perform a response to a gift generation operation by inputting a target face image from multiple face images, the target virtual clothing, and the target dynamic behavior into a generative model, fusing the virtual image in the target virtual clothing and the target dynamic behavior through the generative model, and replacing the face of the virtual image based on the face of the target object in the target face image to obtain the first virtual gift formed by the fusion. Wherein, the facial pose of the target object in the target facial image is matched with the facial pose of the virtual image in the target dynamic behavior.
[0021] According to another aspect of the present disclosure, an electronic device is provided, the electronic device comprising: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the aforementioned method for generating virtual gifts.
[0022] According to another aspect of the present disclosure, a computer-readable storage medium is provided that, when program code in the computer-readable storage medium is executed by a processor of an electronic device, enables the electronic device to perform the above-described method for generating virtual gifts.
[0023] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the above-described method for generating virtual gifts.
[0024] The solution provided in this disclosure offers a visual gift creation page, allowing users to freely choose and combine virtual clothing and dynamic behaviors from a pre-set library, and generate personalized virtual gifts based on the selected target virtual avatar. This solution transforms abstract gift ideas into concrete combinations of visual elements, is simple to operate, and significantly lowers the technical threshold for users to create their own virtual gifts. When users send custom virtual gifts in a live stream, they can present unique dynamic effects that embody their personal creativity. This not only greatly enhances the personalization and emotional expression of gift-giving, but also increases the fun and user participation of interacting through virtual gifts, satisfying users' interactive needs. Furthermore, the novelty of virtual gifts enriches the live stream content, which is conducive to promoting similar interactions among other viewers in the live stream, thereby increasing the interaction rate in the live stream.
[0025] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0026] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0027] Figure 1 This is a schematic diagram illustrating the implementation environment of a method for generating virtual gifts according to an exemplary embodiment.
[0028] Figure 2 This is a flowchart illustrating a method for generating virtual gifts according to an exemplary embodiment.
[0029] Figure 3 This is a flowchart illustrating another method for generating virtual gifts according to an exemplary embodiment.
[0030] Figure 4 This is a schematic diagram illustrating a gift creation page according to an exemplary embodiment.
[0031] Figure 5 This is a schematic diagram illustrating another gift creation page according to an exemplary embodiment.
[0032] Figure 6 This is a schematic diagram illustrating the viewing of virtual clothing and dynamic behavior according to an exemplary embodiment.
[0033] Figure 7 This is a schematic diagram illustrating an example resource of a virtual gift according to an exemplary embodiment.
[0034] Figure 8 This is a schematic diagram illustrating a switching example resource according to an exemplary embodiment.
[0035] Figure 9 This is a schematic diagram illustrating the generation of virtual gifts according to an exemplary embodiment.
[0036] Figure 10 This is a schematic diagram illustrating another method for generating virtual gifts, according to an exemplary embodiment.
[0037] Figure 11 This is a schematic diagram illustrating a generation progress according to an exemplary embodiment.
[0038] Figure 12 This is a schematic diagram illustrating the sending of a first virtual gift according to an exemplary embodiment.
[0039] Figure 13 This is a schematic diagram illustrating a prompt word control according to an exemplary embodiment.
[0040] Figure 14 This is a schematic diagram illustrating a candidate prompt word according to an exemplary embodiment.
[0041] Figure 15 This is a schematic diagram illustrating a virtual gift according to an exemplary embodiment.
[0042] Figure 16 This is a flowchart illustrating an example of acquiring a face image.
[0043] Figure 17 This is a flowchart illustrating the generation of a virtual gift according to an exemplary embodiment.
[0044] Figure 18 This is a flowchart illustrating a method for generating virtual gifts based on custom clothing, according to an exemplary embodiment.
[0045] Figure 19 This is a flowchart illustrating a method for generating virtual gifts based on custom dynamic behaviors, according to an exemplary embodiment.
[0046] Figure 20 This is a block diagram illustrating a virtual gift generation apparatus according to an exemplary embodiment.
[0047] Figure 21 This is a block diagram illustrating a terminal according to an exemplary embodiment. Detailed Implementation
[0048] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0049] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0050] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the images of various objects involved in this disclosure (such as facial images) were obtained with full authorization.
[0051] Figure 1 This is a schematic diagram illustrating an implementation environment for a method of generating virtual gifts according to an exemplary embodiment. Taking an electronic device as an example, see [link to example]. Figure 1 The implementation environment specifically includes: terminal 101 and server 102.
[0052] In some embodiments, terminal 101 is at least one of devices such as a smartphone, smartwatch, desktop computer, laptop, MP3 player, MP4 player, and laptop computer. Terminal 101 has a live streaming application installed and running. This application can be a multimedia application, a game application, a social application, etc., and this disclosure does not limit this type. Users can log in to the application through terminal 101 to access the services provided by the application. Terminal 101 can connect to server 102 via a wireless or wired network, and thus can interact with other terminals through server 102. For example, terminal 101 can be the terminal of a viewer during a live stream, allowing the viewer to send virtual gifts to the streamer through terminal 101.
[0053] Terminal 101 generally refers to one of a plurality of terminals; this embodiment uses terminal 101 as an example. Those skilled in the art will understand that the number of terminals can be more or less. For example, there may be several terminals, or dozens or hundreds of terminals, or even more. This disclosure does not limit the number of terminals or the type of device.
[0054] In some embodiments, server 102 is at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 102 provides backend services for applications supporting live streaming. Server 102 can connect to terminal 101 via a wireless or wired network. Server 102 can provide the terminal with live stream forwarding and database services related to live streaming, and of course, it can also provide other types of video services. In some embodiments, the number of servers may be more or less, and this disclosure does not limit this. Of course, server 102 may also include other functional servers to provide more comprehensive and diversified services.
[0055] Figure 2 This is a flowchart illustrating a method for generating virtual gifts according to an exemplary embodiment, see [link to flowchart]. Figure 2 The method for generating virtual gifts is applied in a terminal, and the method includes the following steps: In step 201, in response to the gift creation instruction, the terminal displays a gift creation page, which shows multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform.
[0056] In this embodiment of the disclosure, upon detecting a gift creation command, the terminal displays a gift creation page for creating (or generating) virtual gifts. The gift creation page displays multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform, allowing the user to select any virtual outfit and dynamic behavior to create a virtual gift. That is, the virtual gifts created by the gift creation page can present the dynamic effect of the target virtual avatar wearing a certain virtual outfit and performing a certain dynamic behavior.
[0057] The virtual clothing may include virtual dresses, virtual suits, or virtual work clothes, as well as virtual accessories such as virtual hair accessories, virtual earrings, or virtual necklaces; this disclosure does not limit the scope of these. Dynamic behaviors may include artistic acts such as dancing, playing musical instruments, or performing magic tricks, or athletic acts such as swimming, skiing, or high jumping; this disclosure does not limit the scope of these. The target virtual image may be a pre-set virtual character, such as an animated character, or it may be generated based on an image of an object. This object may be the streamer in the target live stream room, any viewer, or any object outside the target live stream room; this disclosure does not limit the scope of these.
[0058] For example, the target virtual avatar is the virtual image of the streamer in the target live stream room. Accordingly, during the live stream, the streamer's facial image can be acquired, and the target virtual avatar can be generated based on the streamer's facial image.
[0059] In step 202, in response to the selection operation of multiple virtual outfits and multiple dynamic behaviors, the terminal determines the target virtual outfit and the target dynamic behavior.
[0060] In this embodiment of the disclosure, when any virtual outfit from a plurality of virtual outfits and any dynamic behavior from a plurality of dynamic behaviors are selected, the terminal determines the selected virtual outfit as the target virtual outfit and the selected dynamic behavior as the target dynamic behavior. Here, the target virtual outfit and the target dynamic behavior refer to the elements subsequently used to generate the virtual gift.
[0061] In step 203, in response to the gift generation operation, the terminal displays the generated first virtual gift based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first virtual gift is used to present the dynamic effect of the target virtual image wearing the target virtual clothing and performing the target dynamic behavior.
[0062] In this embodiment of the disclosure, upon detecting a gift generation operation, the terminal displays a first virtual gift generated based on the target virtual clothing, the target dynamic behavior, and the target virtual avatar. The first virtual gift displays a dynamic effect of the target virtual avatar wearing the target virtual clothing and performing the target dynamic behavior. The essence of the first virtual gift can be a special effects video or a special effects GIF, and this embodiment of the disclosure does not limit it in this way.
[0063] The steps for generating virtual gifts described above can be performed during the live stream or before the live stream, and this disclosure does not limit this.
[0064] In step 204, in response to the gift sending operation in the target live room, the terminal displays the first virtual gift in the target live room.
[0065] In this embodiment of the disclosure, when a sending operation for the first virtual gift is detected in the target live streaming room, the terminal displays the first virtual gift in the target live streaming room, intuitively showing the target virtual image wearing the target virtual clothing and performing the target dynamic behavior to various objects in the target live streaming room.
[0066] This disclosure provides a method for generating virtual gifts. By providing a visual gift creation page, it allows users to freely choose and combine virtual clothing and dynamic behaviors from a preset library, and generate personalized virtual gifts based on the selected target virtual avatar. This solution transforms abstract gift ideas into concrete combinations of visual elements, is simple to operate, and significantly lowers the technical threshold for users to create their own virtual gifts. When users send custom virtual gifts in a live stream, they can present unique dynamic effects that embody the user's personal creativity. This not only greatly enhances the personalization and emotional expression of gift-giving, but also increases the fun and user participation of interacting through virtual gifts, satisfying the user's interactive needs. Furthermore, the novelty of virtual gifts enriches the live stream content, which is conducive to promoting similar interactions among other viewers in the live stream, thereby increasing the interaction rate in the live stream.
[0067] In some embodiments, the display process of multiple virtual costumes and multiple dynamic behaviors includes any of the following: On the gift creation page, multiple virtual outfits for the target virtual avatar to wear are displayed. When the target virtual outfit is selected among the multiple virtual outfits, multiple dynamic behaviors that match the target virtual outfit are displayed. On the gift creation page, multiple dynamic behaviors are displayed for the target virtual avatar to perform. If the target dynamic behavior is selected, multiple virtual outfits that match the target dynamic behavior are displayed.
[0068] The solution provided in this disclosure offers two intelligent association display logics: either first displaying virtual clothing, and then dynamically displaying matching dynamic behaviors after selecting a specific virtual clothing; or first displaying dynamic behaviors, and then dynamically displaying matching virtual clothing after selecting a specific dynamic behavior. This context-related filtering mechanism can automatically simplify and focus on potentially relevant options based on the object's current selection intent, avoiding the object blindly browsing through a large number of irrelevant options. This greatly simplifies the object's operation path, making the matching process more intuitive and efficient, and quickly guiding the object to complete a coordinated and reasonable gift design. This improves the efficiency of human-computer interaction and the smoothness of the gift creation process, allowing the object to focus more on the creativity itself rather than searching for options.
[0069] In some embodiments, the method further includes any of the following: When a target virtual outfit is selected among multiple virtual outfits, the gift creation page can either add and display multiple dynamic behaviors that match the target virtual outfit, or replace the already displayed multiple dynamic behaviors with multiple dynamic behaviors that match the target virtual outfit. When the target dynamic behavior is selected among multiple dynamic behaviors, the gift creation page can either add and display multiple virtual outfits that match the target dynamic behavior, or replace the already displayed multiple virtual outfits with multiple virtual outfits that match the target dynamic behavior.
[0070] The solution provided in this disclosure offers a flexible strategy of "add display" or "replace display" matching options after an object selects an item. This allows the system to dynamically manage the presentation of page information based on gift design needs or object preferences. Adding display supplements related items while retaining the original options, expanding the selection range without losing context; replacing display keeps the page concise, directly focusing on the most relevant matching possibilities. This dynamic page adaptation capability optimizes information layout, reduces the cognitive load on the object, and enables it to more efficiently discover and combine ideal virtual clothing and dynamic behaviors, thereby improving the information transmission efficiency and operational convenience of the entire gift generation process.
[0071] In some embodiments, the first virtual gift is generated by a generative model; The method also includes: On the gift creation page, a prompt word control is displayed. The prompt word control is used to obtain the prompt words used by the generative model when generating virtual gifts. The prompt word control displays a first prompt word generated based on the target virtual clothing, target dynamic behavior, and target virtual avatar. The first prompt word is used to describe the content of the virtual gift to be generated. In response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, the generated first virtual gift is displayed, including: In response to the gift generation operation, the first virtual gift generated is displayed based on the target virtual clothing, target dynamic behavior, target virtual avatar, and the first prompt word.
[0072] The solution provided in this disclosure integrates a generative model and provides a prompt word control on the page. It automatically converts structured parameters such as the virtual clothing, dynamic behavior, and target virtual image selected by the object into descriptive first prompt words. This solution seamlessly converts the object's intuitive graphical selection into natural language instructions that the generative model can understand. It not only ensures a high degree of consistency between the generated content and the object's intent, but also lowers the threshold for the object to directly write professional prompt words. At the same time, by utilizing the generative capabilities of the generative model, it can create richer and more realistic dynamic effects, enhance the information expression and visual appeal of virtual gifts, and thus enhance the expressiveness and interactive effect of live gift-giving.
[0073] In some embodiments, the first virtual gift is generated by a generative model; The method also includes: On the gift creation page, a prompt word control is displayed. The prompt word control is used to obtain the prompt words used by the generative model when generating virtual gifts. In response to input to the prompt control, display a second prompt custom to the object; In response to a selection operation involving multiple virtual outfits and multiple dynamic behaviors, a target virtual outfit and a target dynamic behavior are determined, including: Based on the second cue word, determine the target virtual clothing and target dynamic behavior; In response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, the generated first virtual gift is displayed, including: In response to the gift generation operation, the first virtual gift generated is displayed based on the target virtual clothing, target dynamic behavior, target virtual avatar, and second prompt word.
[0074] The solution provided in this disclosure allows users to directly input custom second prompts via a prompt word control. The system then automatically parses and determines the matching target virtual clothing and dynamic behavior based on these prompts. This approach offers a reverse-driven process centered on natural language expression of creativity, granting users greater creative freedom. For users with clear ideas but unsure how to combine them from existing libraries, they can directly describe their ideas in text, and the system intelligently recommends matching visual elements, enabling rapid visualization of creative ideas. This human-computer collaboration model combines the user's creative drive with the system's resource matching capabilities, significantly improving the efficiency and flexibility of virtual gift generation.
[0075] In some embodiments, the method further includes: Display multiple candidate prompts based on the existing prompts in the prompt control; If any one of the multiple candidate prompts is selected, the selected candidate prompt is merged into the existing prompts in the prompt control to obtain a third prompt. In response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, the generated first virtual gift is displayed, including: In response to the gift generation operation, the first virtual gift generated is displayed based on the target virtual clothing, target dynamic behavior, target virtual avatar, and third prompt word.
[0076] The solution provided in this disclosure offers intelligent completion and recommendation functions for prompt words. Specifically, based on the context of the input prompt words, relevant candidate prompt words are recommended for the user to choose from, forming a more complete third prompt word. This solution acts like a creative assistant, providing inspiration and direction during the process of conceiving a virtual gift, helping the user to describe the desired gift effect more accurately and richly. It simplifies the process of constructing high-quality prompt words, reduces the user's thinking and input burden, and makes the instructions used in the final generation model more expressive. This helps generate virtual gifts that better meet or even exceed expectations, thereby improving the human-computer interaction efficiency and accuracy of the generated results in the gift generation process.
[0077] In some embodiments, the method further includes: Display images of multiple objects on the gift creation page; In response to a selection operation of images of multiple objects, a target virtual image is determined based on the image of the selected object.
[0078] The solution provided in this disclosure directly displays images of multiple objects on the gift creation page for the recipient to choose from, thus quickly determining the target virtual avatar. This solution allows recipients to intuitively and quickly specify the "protagonist (virtual avatar)" in a virtual gift, eliminating the need to create or upload from scratch, making virtual gifts more targeted. For example, selecting the image of a streamer to create a gift can greatly enhance the exclusivity and fun of gift-giving, stimulate the interaction enthusiasm between the streamer and the audience, and thus effectively improve the interactive atmosphere and audience engagement in the live stream.
[0079] In some embodiments, the method further includes: Display an image upload control on the gift creation page. The image upload control is used to obtain the virtual image used to generate the virtual gift. In response to input to the image upload control, the target virtual image is determined based on the image of the input object.
[0080] The solution provided in this disclosure allows users to upload any image as the basis for generating virtual gifts by providing an image upload control. This greatly expands the sources of virtual images, allowing users to create highly personalized gift subjects using personal photos, images of favorite celebrities or anime characters, etc. This function satisfies users' deeper interactive needs, making virtual gifts a unique medium for carrying personal identification or specific emotions, generating a stronger visual impact, significantly improving the personalization of information transmission, and thus helping to increase live streaming interaction rates.
[0081] In some embodiments, in response to a gift creation instruction, a gift creation page is displayed, including: In response to the gift co-creation command, the gift co-creation page is displayed. The gift co-creation page is used for multiple objects to jointly create virtual gifts. The gift co-creation page displays multiple virtual outfits and multiple dynamic behaviors. In response to a selection operation involving multiple virtual outfits and multiple dynamic behaviors, a target virtual outfit and a target dynamic behavior are determined, including: In response to the first object's selection operation on multiple virtual garments, the target virtual garment is determined; In response to the second object's selection operation on multiple dynamic behaviors, the target dynamic behavior is determined.
[0082] The solution provided in this disclosure upgrades the gift creation process to a collaborative "co-creation" mode, where different individuals (such as the first individual and the second individual) can be responsible for selecting different parts, such as virtual clothing and dynamic behaviors, to jointly design a virtual gift. This mode transforms gift creation into a social interaction, encouraging interaction between individuals and enhancing their sense of participation. Furthermore, the resulting co-created gift embodies the creativity of multiple people, and its gifting can trigger broader interaction, thereby increasing the overall interaction rate of the live stream.
[0083] In some embodiments, the method further includes, prior to the gift generation operation being triggered: Based on the target virtual clothing, target dynamic behavior, and target virtual avatar, a sample resource for the first virtual gift is displayed. The sample resource is used to demonstrate the style of the first virtual gift.
[0084] The solution provided in this disclosure offers a preview of sample resources based on the currently selected items before the final confirmation of the gift's generation. This achieves a "what you see is what you get" preview effect, allowing the user to intuitively experience the dynamic style of the selected clothing, behavior, and image combination in advance. The preview function avoids hesitation or repeated trial and error caused by uncertainty about the final effect, reducing decision-making costs. The user can adjust their selections in a timely manner based on the preview effect to ensure that the generated gift meets expectations. This real-time feedback mechanism optimizes the user's operating experience, making the entire gift generation process more controllable and efficient, thereby improving human-computer interaction efficiency and the accuracy of virtual gifts.
[0085] In some embodiments, the method further includes, prior to the gift generation operation being triggered: If at least one of the target virtual clothing, target dynamic behavior, and target virtual avatar is switched, the sample resource for displaying the virtual gift is switched based on the switched target virtual clothing, target dynamic behavior, and target virtual avatar.
[0086] The solution provided in this disclosure allows for immediate updates to the sample resources when an object switches any of its clothing, behavior, or appearance, dynamically displaying a preview of the latest combination. This instant feedback creates a smooth and intuitive interactive experience, allowing the object to explore various combination possibilities as if operating a real-time rendering tool. It significantly accelerates the gift creation process of trial and iteration, enabling the object to quickly evaluate the visual performance of different combinations and make an ideal decision more quickly. This efficient exploration method significantly improves the interactive efficiency and user experience in the gift generation process.
[0087] In some embodiments, the method further includes: The progress of generating the first virtual gift is displayed in the target live stream room.
[0088] The solution provided in this disclosure displays the real-time generation progress of the first virtual gift customized by the target in the target live broadcast room, making the gift generation process transparent. The display of the generation progress not only informs the gift creator of the current status and improves the efficiency of information transmission, but also transforms the waiting stage before sending the gift into a kind of live broadcast content, increasing the dynamism of the live broadcast process, thereby effectively enhancing the real-time interactive atmosphere of the live broadcast room.
[0089] In some embodiments, the generation progress of the first virtual gift is displayed in the target live stream room, including any of the following: The progress of generating the first virtual gift is displayed at a fixed location in the target live stream room; Based on the generation progress of the first virtual gift, multiple comment messages containing the generation progress are displayed sequentially in the comment section of the target live stream, with the generation progress in the multiple comment messages increasing sequentially.
[0090] The solutions provided in this disclosure propose two strategies for displaying the progress in a live stream: fixed-position display or progressive display via comment messages in the comment section. Fixed display provides a stable and continuous progress indicator, ensuring that gift creators can notice it promptly and improving information delivery efficiency. The method of sending progressive comment messages in the comment section is particularly ingenious, naturally integrating progress updates into the core interactive flow of the live stream. Each comment with progress information can become the starting point for a new round of discussion, making the progress announcement itself an interactive ritual. This approach fully utilizes existing interactive channels, significantly increasing the activity of the comment section at extremely low cost, thereby efficiently improving the overall information flow and interaction rate of the live stream.
[0091] In some embodiments, the method further includes: In the target live stream room, multiple virtual gifts that have been generated are displayed. These virtual gifts are created by other objects, and each virtual gift is used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors. In response to a send operation of any one of multiple virtual gifts, the virtual gift is displayed in the target live stream room.
[0092] The solution provided in this disclosure creates a display area within the live stream, showcasing virtual gifts created by other users and allowing the current user to directly select and send these gifts. This establishes an ecosystem for sharing and reusing user-generated content gifts. It greatly enriches the gift library available within the live stream, with these creative gifts from other users often being more diverse and novel. For ordinary users, it lowers the barrier to using creative gifts, allowing them to send unique gifts without creating them themselves; for creators, having their work used by others is also an incentive. This sharing mechanism promotes the flow of creativity, stimulates imitation and re-creation, and can continuously drive the activity and interaction rate of gift sending in the live stream.
[0093] In some embodiments, the method further includes: Displays multiple virtual gifts that have been generated, each virtual gift used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors; For any virtual gift among multiple virtual gifts, in response to a switching operation on at least one of the virtual clothing, dynamic behavior, and virtual avatar of the virtual gift, a second virtual gift is generated based on the switched virtual clothing, dynamic behavior, and virtual avatar; In response to a gift-sending action in the target live stream, a second virtual gift is displayed in the target live stream.
[0094] The solution provided in this disclosure allows an object to edit any generated virtual gift, quickly generating a new variant gift (a second virtual gift) by switching at least one of its virtual clothing, dynamic behavior, or virtual avatar. This provides a lightweight and rapid path for gift re-creation. Objects do not need to start from scratch; they can personalize and fine-tune existing gifts they like or that are popular, creating their own versions. This functionality greatly improves the efficiency and flexibility of gift customization, encourages template-based creative derivation, and enables the gift ecosystem to continuously evolve and enrich. It satisfies the dual needs of objects seeking personalization and convenience, further promoting the creation and sending of gifts.
[0095] In some embodiments, in response to a gift generation operation, a first virtual gift is generated and displayed based on a target virtual outfit, a target dynamic behavior, and a target virtual avatar, including: In response to the gift generation operation, the terminal displays a first virtual gift that is a fusion of the target object's facial image, the target's virtual clothing, and the virtual image from the target's dynamic behavior. The target virtual image in the first virtual gift is obtained by fusing the target object's face in the facial image, the target's virtual clothing, and the virtual image from the target's dynamic behavior.
[0096] The solution provided in this disclosure innovatively integrates the real facial image of the target object (such as the streamer or audience) with the selected virtual clothing and virtual avatars in dynamic behaviors during the gift generation process, generating a personalized dynamic virtual gift characterized by the target object's face. Users only need to provide a facial photo, and the system automatically completes the complex image integration and dynamic presentation, requiring no professional modeling skills, greatly reducing the creative threshold and improving interaction efficiency. Furthermore, this highly anthropomorphic form of expression effectively stimulates the interest and imitation desire of the gift recipient and other viewers, thereby increasing the real-time interaction frequency in the live stream.
[0097] In some embodiments, there are multiple facial images of the target object, and the facial poses of the target object are different in different facial images; In response to the gift generation operation, based on the target object's facial image, target virtual clothing, and virtual avatar in the target's dynamic behavior, the first virtual gift, which is a fusion of these elements, is displayed, including: In response to the gift generation operation, the terminal inputs the target face image, target virtual clothing, and target dynamic behavior from multiple face images into the generative model. The generative model then merges the virtual image in the target virtual clothing and target dynamic behavior, and replaces the face of the virtual image with the face of the target object in the target face image to obtain the first virtual gift formed by fusion. Among them, the facial pose of the target object in the target face image is matched with the facial pose of the virtual image in the target dynamic behavior.
[0098] The solution provided in this disclosure, based on the integration of the target object's facial features, further introduces a multi-pose facial image and pose matching mechanism. The system intelligently selects the target image from multiple facial images of different poses provided by the user, and merges and replaces it with the image that best matches the virtual avatar's facial pose during the target's dynamic behavior. This method ensures that the user's facial orientation, expression, and dynamic movements in the generated virtual gift maintain a high degree of spatiotemporal coordination, avoiding visual incongruity or the "uncanny valley" effect caused by pose misalignment, resulting in a higher quality gift. Users do not need to manually compare or try different photos to find the best effect; the system can automatically complete pose analysis and optimal fusion, achieving an intelligent experience of "one-time upload, accurate matching," significantly reducing the user's trial-and-error costs and waiting time. Pose matching significantly enhances the realism and immersion of the gift, which can help increase the audience's dwell time and overall interaction rate in the live stream.
[0099] The above Figure 2 The diagram shown is merely the basic process of this disclosure. The following section will further elaborate on the solution provided in this disclosure based on a specific implementation method. Figure 3 This is a flowchart illustrating another method for generating virtual gifts according to an exemplary embodiment. Taking an electronic device as an example, see [link to example]. Figure 3 The method for generating this virtual gift includes: In step 301, in response to the gift creation instruction, the terminal displays a gift creation page, which shows multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform.
[0100] In this embodiment of the disclosure, the terminal is the terminal of a viewer in the target live streaming room. During the live stream, the viewer can create personalized virtual gifts through the terminal. Upon detecting a gift creation instruction, the terminal displays a gift creation page, which shows multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. In other words, the aforementioned gift creation page supports the creation (or generation) of virtual gifts of a target type. The target type of virtual gift is used to present a target virtual avatar wearing specified virtual outfits and performing specified dynamic behaviors.
[0101] The gift creation page mentioned above can be an existing gift page in the target live stream room. This means adding the function to generate virtual gifts of the target type to the existing gift page, allowing users to create virtual gifts of the target type through the existing gift page. Alternatively, the gift creation page can also be a newly added page (such as an H5 page) in the target live stream room, specifically for creating virtual gifts of the target type.
[0102] In some embodiments, the gift creation page is the existing gift page in the target live stream room. Accordingly, step 301 may include: in response to a triggering operation of the gift control in the target live stream room, the terminal displays the gift page. The gift page displays various types of virtual gifts, including the target type virtual gift. When the target type virtual gift is selected, the terminal displays multiple virtual outfits and multiple dynamic behaviors associated with the target type virtual gift on the gift page, i.e., the multiple virtual outfits worn by the target virtual avatar and the multiple dynamic behaviors performed by the target virtual avatar. This solution deeply integrates the gift creation function into the existing gift page of the live stream room. After the object (user) triggers the gift control, they can directly access the newly added target type virtual gift and its associated outfit and behavior library on the existing page. This design does not require introducing additional pages or interrupting the regular gift-giving process, making the entry point for creating creative gifts highly unified with the entry point for sending ordinary gifts, significantly reducing the learning and operation costs for the object. The system enables users to initiate personalized creations more naturally and conveniently in regular interactive scenarios, seamlessly integrating creative expression into existing interaction habits. This effectively improves human-computer interaction efficiency and promotes the wider and more frequent use of customized gifts, thereby directly increasing the interaction rate of the live broadcast room.
[0103] For example, Figure 4 This is a schematic diagram illustrating a gift creation page according to an exemplary embodiment. See also Figure 4 When the gift control 401 is triggered in the target live stream room, the terminal displays the gift page 402 (i.e., the gift creation page). The gift page displays virtual gifts 403 of the target type, "Costume Show". When the "Costume Show" gift 403 is selected, the terminal displays multiple virtual outfits 404 for the target virtual avatar to wear and multiple dynamic behaviors 405 for the target virtual avatar to perform at the top of the gift page 402.
[0104] In other embodiments, the gift creation page is a newly added page within the target live stream. Accordingly, step 301 may include: the terminal can display a page entry for the gift creation page within the live stream. In response to a trigger operation on the page entry, the terminal displays the gift creation page and directly displays multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. This solution provides a focused creative environment for the user by setting up a separate gift creation page entry within the live stream. The user enters a completely new page by triggering this dedicated entry, directly accessing a complete library of virtual outfits and dynamic behaviors. This design appropriately separates the creative customization process from the regular gift-giving scenario, avoiding potential interference from mixed functions and providing the user with a clearer, more immersive creative experience. The independent entry itself also has a significant guiding and prompting effect, attracting users with a strong creative desire to participate deeply, stimulating their creative inspiration, and helping to produce higher-quality UGC (User Generated Content) gifts, thereby enhancing the richness of information delivery and interactive appeal of the live stream through high-quality content.
[0105] For example, Figure 5 This is a schematic diagram illustrating another gift creation page according to an exemplary embodiment. See also Figure 5 The terminal displays the page entry 502 of the gift creation page 501 in the target live broadcast room. When the page entry 502 is triggered, the terminal displays the gift creation page 501. At the same time, the gift creation page 501 displays multiple virtual outfits 503 for the target virtual character to wear and multiple dynamic behaviors 504 for the target virtual character to perform.
[0106] In some embodiments, the aforementioned multiple virtual outfits and multiple dynamic behaviors can be displayed simultaneously or separately based on object selection. Optionally, the terminal first displays multiple virtual outfits for the target virtual avatar to wear on the gift creation page. If the target virtual outfit is selected, multiple dynamic behaviors matching the target virtual outfit are then displayed. Optionally, the terminal first displays multiple dynamic behaviors for the target virtual avatar to perform on the gift creation page. If the target dynamic behavior is selected, multiple virtual outfits matching the target dynamic behavior are then displayed. The matching relationship between virtual outfits and dynamic behaviors can be pre-set or determined based on at least one of style matching rules (e.g., the dynamic performance of the outfit must conform to the style system to which the dynamic form belongs) and movement range and outfit looseness matching rules (e.g., the tailoring of the outfit must reserve space (looseness) for the maximum dynamic range of the dynamic behavior, while avoiding excessive bulk when static). This disclosure does not limit this. The style matching rules and movement range and outfit looseness matching rules can be determined based on relevant visual materials publicly available on the Internet.
[0107] The solution provided in this disclosure offers two intelligent association display logics: either first displaying virtual clothing, and then dynamically displaying matching dynamic behaviors after selecting a specific virtual clothing; or first displaying dynamic behaviors, and then dynamically displaying matching virtual clothing after selecting a specific dynamic behavior. This context-related filtering mechanism can automatically simplify and focus on potentially relevant options based on the object's current selection intent, avoiding the object blindly browsing through a large number of irrelevant options. This greatly simplifies the object's operation path, making the matching process more intuitive and efficient, and quickly guiding the object to complete a coordinated and reasonable gift design. This improves the efficiency of human-computer interaction and the smoothness of the gift creation process, allowing the object to focus more on the creativity itself rather than searching for options.
[0108] In other embodiments, in addition to simultaneously displaying multiple virtual outfits and multiple dynamic behaviors, the terminal can also add or replace virtual outfits or dynamic behaviors based on object selection. Optionally, when a target virtual outfit is selected among multiple virtual outfits, the terminal adds and displays multiple dynamic behaviors matching the target virtual outfit on the gift creation page, or replaces the already displayed multiple dynamic behaviors with multiple dynamic behaviors matching the target virtual outfit. Optionally, when a target dynamic behavior is selected among multiple dynamic behaviors, the terminal adds and displays multiple virtual outfits matching the target dynamic behavior on the gift creation page, or replaces the already displayed multiple virtual outfits with multiple virtual outfits matching the target dynamic behavior.
[0109] The solution provided in this disclosure offers a flexible strategy of "add display" or "replace display" matching options after an object selects an item. This allows the system to dynamically manage the presentation of page information based on gift design needs or object preferences. Adding display supplements related items while retaining the original options, expanding the selection range without losing context; replacing display keeps the page concise, directly focusing on the most relevant matching possibilities. This dynamic page adaptation capability optimizes information layout, reduces the cognitive load on the object, and enables it to more efficiently discover and combine ideal virtual clothing and dynamic behaviors, thereby improving the information transmission efficiency and operational convenience of the entire gift generation process.
[0110] Due to the size limitations of the terminal screen, the virtual outfits and dynamic behaviors displayed above are only a portion of the materials in the resource library. The terminal can provide viewing controls in the gift creation interface so that the recipient can view all virtual outfits and dynamic behaviors.
[0111] For example, Figure 6 This is an illustration of viewing virtual clothing and dynamic behavior according to an exemplary embodiment. See also Figure 6 The terminal displays a viewing control 602 on the gift creation page 601. When the viewing control 602 is triggered, the terminal displays a resource panel 603 associated with the virtual gift of the target type. The resource panel 603 contains all virtual outfits and all dynamic behaviors associated with the virtual gift of the target type. Due to the size limitations of the terminal screen, the resource panel 603 currently only displays a portion of the resources (virtual outfits and dynamic behaviors). In response to a swipe operation on a virtual outfit or dynamic behavior, the terminal can display other virtual outfits or dynamic behaviors that are not currently visible in the resource panel 602.
[0112] In some embodiments, the terminal can also display a creation prompt message in the target live stream room, prompting the recipient to create a virtual gift of the target type. This disclosure does not limit the specific content of the creation prompt message. For example... Figure 4 or Figure 5 The creation prompt message shown is "New costume show gifts are available, go check them out!"
[0113] In step 302, in response to the selection operation of multiple virtual outfits and multiple dynamic behaviors, the terminal determines the target virtual outfit and the target dynamic behavior.
[0114] In this embodiment of the disclosure, when any virtual garment among a plurality of virtual garments is selected, the terminal determines the selected virtual garment as the target virtual garment. Similarly, when any dynamic behavior among a plurality of dynamic behaviors is selected, the terminal determines the selected dynamic behavior as the target dynamic behavior.
[0115] In step 303, the terminal displays sample resources for the first virtual gift based on the target virtual clothing, target dynamic behavior, and target virtual image. The sample resources are used to demonstrate the style of the first virtual gift.
[0116] In this embodiment, the example resource of the first virtual gift is generated based on the target virtual clothing, target dynamic behavior, and target virtual avatar. The example resource of the first virtual gift can be a static image, a dynamic image, or a video (such as a 2-second video), and this embodiment does not limit the format of the example resource. By displaying the example resource of the first virtual gift, the general content of the first virtual gift can be shown. The solution provided in this embodiment offers a preview of the example resource based on the currently selected element before the final confirmation of generation. This achieves a "what you see is what you get" preview effect, allowing the object to intuitively experience the dynamic style of the selected clothing, behavior, and avatar combination in advance. The preview function can avoid hesitation or repeated trial and error caused by uncertainty about the final effect, reducing decision-making costs. The object can adjust its selection in a timely manner based on the preview effect to ensure that the generated gift meets expectations. This real-time feedback mechanism optimizes the object's operating experience, making the entire gift generation process more controllable and efficient, thereby improving human-computer interaction efficiency and the accuracy of virtual gifts.
[0117] This disclosure does not limit the display location of the example resources. In some embodiments, the terminal displays the example resources of the first virtual gift in the gift options of the target type on the gift creation page. For example, Figure 7 This is a schematic diagram illustrating an example resource of a virtual gift according to an exemplary embodiment. See also Figure 7 The gift creation page 701 displays a gift option 702 with the target type "Costume Show". When gift option 702 is selected, the terminal displays multiple virtual outfits and multiple dynamic behaviors on the gift creation page 701. When the target virtual outfit 703 and the target dynamic behavior 704 are selected, the terminal displays an example resource 705 of the first virtual gift on the gift option 702 based on the target virtual outfit 703, the target dynamic behavior 704, and the target virtual image corresponding to the broadcaster. The terminal can also display the broadcaster's image 706, the target virtual outfit 703, and the target dynamic behavior 704 on the gift option 702.
[0118] In some embodiments, before the gift generation operation is triggered, the object can switch the selected virtual clothing and dynamic behavior, at which time the sample resource of the virtual gift can also change accordingly. Accordingly, if at least one of the target virtual clothing, target dynamic behavior, and target virtual avatar is switched, the terminal displays the changed sample resource of the virtual gift based on the switched target virtual clothing, target dynamic behavior, and target virtual avatar. The solution provided by this disclosure allows the sample resource to be updated immediately when the object switches any of the clothing, behavior, or avatar, dynamically displaying a preview of the latest combination. This instant feedback creates a smooth and intuitive interactive experience, allowing the object to explore various possible combinations as if operating a real-time rendering tool. It greatly accelerates the gift creation trial and iteration process, enabling the object to quickly evaluate the visual performance of different combinations and make an ideal decision faster. This efficient exploration method significantly improves the interactive efficiency and object experience in the gift generation process.
[0119] During the switching of sample resources, the terminal can also display switching animations to visually demonstrate the changes in the style of the virtual gift. For example, Figure 8 This is a schematic diagram illustrating a switching of example resources according to an exemplary embodiment. See also Figure 8 When the target virtual outfit is switched from virtual outfit 801 to virtual outfit 802, and the target dynamic behavior is switched from dynamic behavior 803 to dynamic behavior 804, the terminal displays sample resources 806 of virtual gifts generated based on virtual outfit 801 and dynamic behavior 803 in the gift option 805. Slide left to switch to sample resources 807 of virtual gifts generated based on virtual outfit 802 and dynamic behavior 804.
[0120] In some embodiments, the virtual clothing and dynamic behaviors used to generate virtual gifts can also be customized by the user. Accordingly, the terminal can display clothing upload controls and behavior upload controls on the gift creation page. The clothing upload control is used to acquire clothing images. The behavior upload control is used to acquire videos or GIFs containing dynamic behaviors. The terminal can determine the target virtual clothing for generating virtual gifts based on the clothing images in the clothing upload control; and determine the target dynamic behaviors for generating virtual gifts based on the behavior materials in the behavior upload control. This disclosure does not limit the display position or style of the clothing upload control and the behavior upload control.
[0121] In some embodiments, when the target virtual outfit and target dynamic behavior are selected, the terminal can also preview and display the first virtual gift in the target live streaming room based on the target virtual outfit, target dynamic behavior, and target virtual image. This disclosure does not limit the display position during the preview display.
[0122] For example, see continue. Figure 7 The terminal can preview the first virtual gift 708 at the page entry 707 of the gift creation page in the target live stream room. At this time, the first virtual gift 708 is dynamically displayed. While displaying the first virtual gift 708, the terminal can also display the name of the virtual outfit 703 used to generate the first virtual gift 708, "blue slip dress," and the name of the dynamic behavior 704, "ballet."
[0123] The above process only describes that the virtual clothing and dynamic behavior in virtual gifts can be selected by the object (user). As for the target virtual image in virtual gifts, the target virtual image can be either a preset image (such as the virtual image of the streamer) or selected by the object.
[0124] In some embodiments, the terminal displays images of multiple objects (such as facial images) on a gift creation page. Then, in response to a selection operation on the images of multiple objects, a target virtual avatar is determined based on the image of the selected object. The solution provided by this disclosure directly displays images of multiple objects on the gift creation page for the object to select, thereby quickly determining the target virtual avatar. This solution allows the object to intuitively and quickly specify the "protagonist (virtual avatar)" in the virtual gift, without having to create or upload it from scratch, making the virtual gift more targeted. For example, selecting the image of a live streamer to create a gift can greatly enhance the exclusivity and fun of gift-giving, stimulate the interaction enthusiasm between the live streamer and the audience, and thus effectively improve the interactive atmosphere and object stickiness in the live broadcast room.
[0125] In other embodiments, the terminal displays an image upload control on the gift creation page. The image upload control is used to obtain a virtual image for generating the virtual gift. In response to input to the image upload control, the terminal determines the target virtual image based on the input image of the object. The solution provided by this disclosure allows objects to upload any image as the basis for generating virtual gifts by providing an image upload control. This greatly expands the sources of virtual images; objects can use personal photos, images of favorite celebrities or anime characters, etc., to create highly personalized gift subjects. This function satisfies the object's deep interactive needs, making virtual gifts a unique medium carrying personal identification or specific emotions, generating a stronger visual impact, significantly improving the personalization of information transmission, and thus helping to increase live streaming interaction rates.
[0126] In step 304, in response to the gift generation operation, the terminal displays the generated first virtual gift based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first virtual gift is used to present the dynamic effect of the target virtual image wearing the target virtual clothing and performing the target dynamic behavior.
[0127] In this embodiment of the disclosure, upon detecting a gift generation operation, the terminal displays a first virtual gift generated based on the target virtual clothing, target dynamic behavior, and target virtual avatar, intuitively demonstrating the target virtual avatar wearing the target virtual clothing and performing the target dynamic behavior. This embodiment of the disclosure does not limit the display position of the first virtual gift.
[0128] For example, Figure 9 This is a schematic diagram illustrating the generation of a virtual gift according to an exemplary embodiment. See also: Figure 9 When the target virtual outfit 901 and target dynamic behavior 902 are selected, in response to the triggering operation of the send control 904 on the gift creation page 903 (the original gift page), the terminal displays the generated first virtual gift 905 on the gift creation page 903. Due to the page size display, the terminal switches between displaying multiple virtual outfits and multiple dynamic behaviors and the generated first virtual gift 905. Furthermore, the terminal can also display a continue creation control 906. When the continue creation control 906 is triggered, it can switch back to the previously displayed multiple virtual outfits and multiple dynamic behaviors, allowing the user to continue creating other virtual gifts.
[0129] For example, Figure 10 This is an illustration of another method for generating virtual gifts, according to an exemplary embodiment. See also... Figure 10 When the target virtual outfit 1001 and target dynamic behavior 1002 are selected, in response to the triggering operation of the generation control 1004 in the gift creation page 1003 (the newly added page), the terminal sends a gift generation instruction to the server, instructing the server to use a generative model to generate a first virtual gift based on the target virtual outfit 1001, target dynamic behavior 1002, and target virtual avatar. After the first virtual gift is generated, it is sent to the object's (i.e., the gift creator's) gift library. Then, when the entry 1005 of the gift library in the gift creation page 1003 is triggered, the terminal displays multiple uploaded virtual gifts, including the first virtual gift 1006.
[0130] In some embodiments, during the generation of the first virtual gift, the terminal can also display the generation progress of the first virtual gift in the target live stream room. The generation progress can be represented by a progress bar or a percentage, etc., and this disclosure does not limit this to any particular form. The solution provided by this disclosure displays the generation progress of the first virtual gift customized by the recipient in real time in the target live stream room, making the gift generation process transparent. The display of the generation progress not only informs the gift creator of the current status, improving information transmission efficiency, but also transforms the waiting stage before gift-giving into a form of live stream content, increasing the dynamism of the live stream process, thereby effectively enhancing the real-time interactive atmosphere of the live stream room.
[0131] This disclosure does not limit the display position of the first virtual gift. Optionally, the terminal displays the generation progress of the first virtual gift at a preset position in the target live stream. Optionally, based on the generation progress of the first virtual gift, the terminal sequentially displays multiple comment messages containing the generation progress in the comment section of the target live stream, with the generation progress in the multiple comment messages increasing sequentially. The solution provided by this disclosure proposes two strategies for displaying the generation progress in the live stream: fixed-position display or progressive display through comment messages in the comment section. Fixed display provides stable and continuous progress prompts, ensuring that gift creators can discover the progress in a timely manner, thus improving information transmission efficiency. The method of sending progressive comment messages in the comment section is particularly ingenious, as it naturally integrates progress updates into the core interactive flow of the live stream. Each comment with progress can become the starting point for triggering a new round of discussion, making the progress broadcast itself an interactive ritual. This method makes full use of existing interactive channels, significantly increasing the activity of the comment section at a very low cost, thereby efficiently improving the overall information flow and interaction rate of the live stream.
[0132] For example, Figure 11 This is a schematic diagram illustrating a generation progress according to an exemplary embodiment. See also: Figure 11 In (a), the terminal displays a fixed progress display control 1101 at the bottom of the comment section in the target live stream, showing that the generation progress of the virtual gifts for the costume show 2 is 20%. See also Figure 11 In (b), the terminal provides a separate gift page 1102, which displays the virtual gift generation progress of the dress-up performance 2 as 20%. See also Figure 11 In (c), the terminal displays the virtual gift generation progress of the costume show 2 as 20% on the original gift page 1103. The object can create multiple virtual gifts of different target types, and the generation process of different virtual gifts can be parallelized. The terminal can display the generation progress of each virtual gift.
[0133] When multiple virtual gifts are being generated, Figure 11 The progress display control 1101 shown in (a) can display the generation progress of multiple virtual gifts in a carousel. The progress display control 1101 may also include a gift viewing control 1104, which, when triggered, allows the terminal to display... Figure 11 The page or display shown in (b) Figure 11 The page shown in (c) displays the generation progress of all the virtual gifts being generated.
[0134] In step 305, in response to the gift sending operation in the target live room, the terminal displays the first virtual gift in the target live room.
[0135] In this embodiment of the disclosure, after the first virtual gift is generated, upon detecting a sending operation for the first virtual gift, the terminal displays the first virtual gift in the target live streaming room. Specifically, upon the first virtual gift being generated, the terminal may display a sending control for the first virtual gift. In response to a triggering operation on this sending control, the terminal displays the first virtual gift in the target live streaming room.
[0136] For example, Figure 12 This is a schematic diagram illustrating the sending of a first virtual gift according to an exemplary embodiment. See also... Figure 12 When the first virtual gift is generated, the terminal displays the sending control 1201 for the first virtual gift. When the sending control 1201 is triggered, the terminal displays the first virtual gift 1202 in the target live broadcast room.
[0137] This disclosure provides a method for generating virtual gifts. By providing a visual gift creation page, it allows users to freely choose and combine virtual clothing and dynamic behaviors from a preset library, and generate personalized virtual gifts based on the selected target virtual avatar. This solution transforms abstract gift ideas into concrete combinations of visual elements, is simple to operate, and significantly lowers the technical threshold for users to create their own virtual gifts. When users send custom virtual gifts in a live stream, they can present unique dynamic effects that embody the user's personal creativity. This not only greatly enhances the personalization and emotional expression of gift-giving, but also increases the fun and user participation of interacting through virtual gifts, satisfying the user's interactive needs. Furthermore, the novelty of virtual gifts enriches the live stream content, which is conducive to promoting similar interactions among other viewers in the live stream, thereby increasing the interaction rate in the live stream.
[0138] The aforementioned target type of virtual gift (such as the first virtual gift) is generated by a generative model. The terminal can also obtain prompt words for inputting into the generative model to generate the first virtual gift. These prompt words can be generated based on the virtual clothing and dynamic behavior selected by the object, or they can be customized by the object, or they can be determined from recommended prompt words, etc., and this embodiment of the disclosure does not limit this.
[0139] In some embodiments, the prompt words used to generate the first virtual gift are generated based on the selected virtual clothing and dynamic behavior. Accordingly, the terminal displays a prompt word control on the gift creation page, which is used to retrieve the prompt words used by the generative model when generating the virtual gift. Then, the terminal displays a first prompt word generated based on the target virtual clothing, target dynamic behavior, and target virtual avatar in the prompt word control. The first prompt word describes the content of the virtual gift to be generated. Then, in response to the gift generation operation, the terminal displays the generated first virtual gift based on the target virtual clothing, target dynamic behavior, target virtual avatar, and the first prompt word. The solution provided in this disclosure integrates a generative model and provides a prompt word control on the page. It automatically converts structured parameters such as the virtual clothing, dynamic behavior, and target virtual image selected by the object into descriptive first prompt words. This solution seamlessly converts the object's intuitive graphical selection into natural language instructions that the generative model can understand. It not only ensures a high degree of consistency between the generated content and the object's intent, but also lowers the threshold for the object to directly write professional prompt words. At the same time, by utilizing the generative capabilities of the generative model, it can create richer and more realistic dynamic effects, enhance the information expression and visual appeal of virtual gifts, and thus enhance the expressiveness and interactive effect of live gift-giving.
[0140] For example, Figure 13 This is a schematic diagram illustrating a prompt word control according to an exemplary embodiment. See also: Figure 13 On the gift creation page 1301, the terminal displays multiple virtual outfits, multiple dynamic behaviors, and a prompt word control 1302. When the blue suspender dress 1303 and ballet 1304 are selected, the terminal displays the first prompt word generated based on the blue suspender dress 1303 and ballet 1304 in the prompt word control 1302, namely, "The target virtual image is wearing a blue suspender dress and dancing ballet."
[0141] In other embodiments, the prompt word used to generate the first virtual gift is customized by the object. Accordingly, the terminal displays a prompt word control on the gift creation page. Then, in response to input to the prompt word control, the terminal displays a second prompt word customized by the object. The terminal then determines the target virtual outfit and target dynamic behavior based on the second prompt word. In response to the gift generation operation, the terminal displays the generated first virtual gift based on the target virtual outfit, target dynamic behavior, target virtual image, and the second prompt word. The solution provided by this disclosure allows the object to directly input a customized second prompt word through the prompt word control, and the system automatically parses and determines the matching target virtual outfit and target dynamic behavior based on the second prompt word. This method provides a reverse-driven process centered on expressing creativity in natural language, giving the object greater creative freedom. For objects with clear ideas but unsure how to combine them from existing libraries, they can directly describe their ideas in text, and the system intelligently recommends matching visual elements, achieving rapid visualization of creative ideas. This human-computer collaboration mode combines the object's creative leadership with the system's resource matching capabilities, greatly improving the efficiency and flexibility of virtual gift generation.
[0142] In other embodiments, the prompt word used to generate the first virtual gift is determined from a selection of recommended prompt words. Accordingly, the terminal displays multiple candidate prompt words based on existing prompt words in the prompt word control. If any of the candidate prompt words is selected, the terminal incorporates the selected candidate prompt word into the existing prompt words in the prompt word control to obtain a third prompt word. Then, in response to the gift generation operation, the terminal displays the generated first virtual gift based on the target virtual clothing, target dynamic behavior, target virtual image, and the third prompt word. The solution provided by this disclosure provides intelligent prompt word completion and recommendation functionality. Specifically, based on the context of the input prompt words, relevant candidate prompt words are recommended for the object to select and incorporate, forming a more complete third prompt word. This solution acts like a creative assistant, providing inspiration and direction during the object's virtual gift conception process, helping the object to describe the desired gift effect more accurately and richly. It simplifies the process of constructing high-quality prompt words, reduces the object's thinking and input burden, and makes the final instructions used to generate the model more expressive. This helps generate virtual gifts that better meet or even exceed expectations, thereby improving the human-computer interaction efficiency and accuracy of the generated results in the gift generation process.
[0143] For example, Figure 14 This is a schematic diagram illustrating a candidate suggestion word according to an exemplary embodiment. See also Figure 14The terminal displays multiple candidate prompts, such as "castle," "beach," and "forest," based on the input in prompt control 1401, where the prompt control 1401 already contains the phrase "the target virtual avatar is wearing a sequined dress." When "beach" is selected, the terminal incorporates this candidate prompt into the input, resulting in a new prompt. The terminal can then continue to recommend new candidate prompts, such as those indicating dynamic behavior. The terminal can also provide a change control 1402 to allow users to change the displayed candidate prompts if they are dissatisfied.
[0144] The above description only describes the process of a virtual gift being created by a single object. In other embodiments, a virtual gift can also be created jointly by multiple objects (two or more). Accordingly, the process of the terminal displaying the gift creation page includes: in response to a gift co-creation instruction, the terminal displays a gift co-creation page, which is used for multiple objects to jointly create a virtual gift. The gift co-creation page displays multiple virtual outfits and multiple dynamic behaviors. That is, the gift creation page described above can be a gift co-creation page that supports multiple users. Then, in response to a first object's selection operation on multiple virtual outfits, a target virtual outfit is determined; in response to a second object's selection operation on multiple dynamic behaviors, a target dynamic behavior is determined. Then, in response to a gift generation operation, the terminal displays the generated first virtual gift based on the target virtual outfit, the target dynamic behavior, and the target virtual image. In response to a gift sending operation in the target live stream room, the terminal displays the first virtual gift in the target live stream room. The first object can be a streamer or a viewer in the target live stream room; similarly, the second object can be a streamer or a viewer in the target live stream room. That is, virtual gifts can be created jointly by the broadcaster and the audience, or by multiple audiences. This disclosure does not limit this.
[0145] If the target virtual image can be selected by an object, then in the gift co-creation scenario, it can be selected by a first object or a second object, or by an additional third object. This disclosure does not limit this.
[0146] The solution provided in this disclosure upgrades the gift creation process to a collaborative "co-creation" mode, where different individuals (such as the first individual and the second individual) can be responsible for selecting different parts, such as virtual clothing and dynamic behaviors, to jointly design a virtual gift. This mode transforms gift creation into a social interaction, encouraging interaction between individuals and enhancing their sense of participation. Furthermore, the resulting co-created gift embodies the creativity of multiple people, and its gifting can trigger broader interaction, thereby increasing the overall interaction rate of the live stream.
[0147] In some embodiments, the terminal can also display multiple virtual gifts that have been generated in the target live stream room. These virtual gifts are created by other objects, and each virtual gift is used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors. Then, in response to a sending operation of any of the multiple virtual gifts, the terminal displays that virtual gift in the target live stream room. The solution provided by this disclosure opens a display area in the live stream room, presenting virtual gifts created by other objects, and allowing the current object to directly select and send these gifts. This constructs an ecosystem for sharing and reusing object-generated content gifts. It greatly enriches the gift library available in the live stream room; these creative gifts from other objects are often more diverse and novel. For ordinary objects, it lowers the barrier to using creative gifts, allowing them to send unique gifts without creating them themselves; for creators, having their work used by others is also an incentive. This sharing mechanism promotes the flow of creativity, stimulates imitation and re-creation, and can continuously drive the activity and interaction rate of gift sending in the live stream room.
[0148] For example, Figure 15 This is a schematic diagram illustrating a virtual gift according to an exemplary embodiment. See also: Figure 15 On the gift creation page, the terminal displays multiple generated virtual gifts and their respective send controls. When any virtual gift's send control is triggered, the terminal displays that virtual gift in the target live stream room.
[0149] In other embodiments, objects can further create from the generated virtual gifts. Accordingly, the terminal displays multiple generated virtual gifts, each used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors. These multiple virtual gifts can be created by an object indicated by the terminal's currently logged-in account, or by other objects; this disclosure does not limit this. For any of the multiple virtual gifts, in response to a switching operation on at least one of the virtual clothing, dynamic behaviors, and virtual avatars, the terminal displays a second virtual gift based on the switched virtual clothing, dynamic behaviors, and virtual avatars. Then, in response to a gift-sending operation in the target live stream room, the terminal displays the second virtual gift in the target live stream room. The solution provided by this disclosure allows objects to further edit any generated virtual gift, quickly generating a new variant gift (a second virtual gift) by switching at least one of its virtual clothing, dynamic behaviors, or virtual avatars. This provides a lightweight and rapid path for gift re-creation. Objects do not need to start from scratch; they can personalize and fine-tune existing gifts they like or that are popular, creating their own versions. This feature greatly improves the efficiency and flexibility of gift customization, encourages template-based creative development, and enables the gift ecosystem to continuously evolve and enrich. It satisfies the recipient's dual needs for personalization and convenience, further promoting the creation and delivery of gifts.
[0150] To more clearly describe the virtual gifts of the above target types, the gift generation process will be introduced below using the first virtual gift as an example.
[0151] In some embodiments, in response to a gift generation operation, the terminal displays a first virtual gift that is fused together with the target object's facial image, the target virtual clothing, and the virtual image in the target's dynamic behavior. The target virtual image in the first virtual gift is obtained by fusing the target object's face in the facial image, the target virtual clothing, and the virtual image in the target's dynamic behavior. That is, the target virtual image in the first virtual gift is the virtual image of the target object. The target object's facial image can be an image selected by the user from multiple facial images of objects provided by the live streaming platform, or it can be an image uploaded by the user, or, if the target object is a broadcaster, the broadcaster's facial image can also be obtained based on the live stream of the target live streaming room, etc., and this disclosure does not limit this aspect.
[0152] The solution provided in this disclosure innovatively integrates the real facial image of the target object (such as the streamer or viewer) with the selected virtual clothing and the virtual image in dynamic behavior during the gift generation process, generating a personalized dynamic virtual gift characterized by the target object's face. This solution deeply embeds the image of the target object into the expression of the virtual gift, making each gift unique. Furthermore, users only need to provide a facial photo, and the system automatically completes the complex image fusion and dynamic presentation, requiring no professional modeling skills, greatly reducing the creative threshold and improving interaction efficiency. From an information transmission perspective, when a dynamic gift featuring the viewer or streamer appears in the live stream, its visual impact far exceeds that of ordinary gifts, quickly conveying the sender's exclusive sentiments. This highly anthropomorphic form of expression effectively stimulates the interest and imitation desire of the recipient and other viewers, thereby significantly increasing the real-time interaction frequency, comment activity, and gift-giving enthusiasm in the live stream, ultimately forming stronger community connections and platform stickiness.
[0153] In some embodiments, there are multiple facial images of the target object, and the facial poses of the target object are different in different facial images. For example, the multiple facial images of the target object include a frontal face image, a left side face image, a right side face image, a face image with the head tilted up, a face image with the head tilted down, a face image with the head slightly tilted (e.g., a face image tilted 30 degrees to the left), etc., and this disclosure does not limit this. In the gift generation process, a suitable facial image can be selected to generate a virtual gift. Accordingly, the gift generation process includes: in response to the gift generation operation, the terminal inputs the target facial image, the target virtual clothing, and the target dynamic behavior from the multiple facial images into a generative model, fuses the target virtual clothing and the virtual image in the target dynamic behavior through the generative model, and replaces the face of the virtual image based on the face of the target object in the target facial image to obtain the fused first virtual gift. Wherein, the facial pose of the target object in the target facial image matches the facial pose of the virtual image in the target dynamic behavior. In other words, the live streaming platform (back-end server) can determine the face image that best matches the face posture of the virtual image from multiple face images of the target object based on the face posture of the virtual image in the target's dynamic behavior, and output the first virtual gift based on the face image.
[0154] The solution provided in this disclosure, based on the integration of the target object's facial features, further introduces a multi-pose facial image and pose matching mechanism. The system intelligently selects the target image from multiple facial images of different poses provided by the user, and merges and replaces it with the image that best matches the virtual avatar's facial pose in the target's dynamic behavior. This method ensures that the user's facial orientation, expression, and dynamic actions in the generated virtual gift maintain a high degree of spatiotemporal coordination, avoiding visual disharmony or the "uncanny valley" effect caused by pose misalignment. In terms of interaction efficiency, users do not need to manually compare or try different photos to seek the best effect; the system can automatically complete pose analysis and optimal fusion, achieving an intelligent experience of "one-time upload, accurate matching," significantly reducing the user's trial-and-error costs and waiting time. From the perspective of live streaming interaction, pose matching significantly enhances the realism and immersion of the gift. When the character's face in the dynamic gift can naturally complete facial expressions that match the actions, such as looking back, smiling, and gazing, the narrative and expressiveness of the gift achieve a qualitative leap, meaning the quality of the virtual gift is better. When these highly realistic personalized gifts are displayed in a live stream, they easily become the focus of attention, arousing viewers' curiosity about the technology behind "how to achieve such realism" and secondary dissemination of the gift content, thereby effectively increasing the depth of information transmission in the live stream, the duration of viewer stay, and the overall interaction rate.
[0155] For example, Figure 16 This is a flowchart illustrating an embodiment of acquiring a face image. See also... Figure 16 The target object is the streamer in the target live streaming room. The live streaming platform's server can capture the streamer's live stream data in real time, preprocess the video frames in the live stream data to filter out video frames containing clear, unobstructed streamer faces. Then, the server performs facial landmark detection and feature extraction on the streamer's face in the video frame to identify faces in various poses (such as frontal and side views) and facial features in various poses. The facial features of each pose can include 68 landmarks, texture features, contour features, expression features, and skin texture features, etc., which are not limited in this embodiment. Then, the server can store the facial features of various poses (equivalent to facial images) to build a multi-pose facial template library exclusive to the streamer, so that when generating virtual gifts, the appropriate face can be directly obtained from the facial template library to generate virtual gifts. The server can also monitor the streamer's newly emerging facial poses in real time and add the facial features of the poses to the facial template library to enrich the streamer's facial images.
[0156] The above process is automatically collected directly in the live stream using face detection algorithms. The template library can be built during the broadcast, reducing implementation costs. Furthermore, the broadcaster's posture changes in real time during the live stream, and the collected face template library can be dynamically updated (e.g., the broadcaster tilting their head or smiling), making the face replacement in virtual gifts more consistent with the broadcaster's real-time state.
[0157] During the generation of virtual gifts, the live streaming platform's server can obtain a suitable facial image from a pre-built facial template library to generate the virtual gift. See also... Figure 17 , Figure 17 This is a flowchart illustrating a method for generating a virtual gift according to an exemplary embodiment. The server obtains the gift's animation pose requirements, including the user-specified target virtual clothing and the facial pose of the virtual avatar in the target dynamic behavior (i.e., the target pose). The server matches the virtual avatar's facial pose with various facial images in a face template library to determine the facial image closest to the target pose. This process avoids extreme distortion of the face, only fine-tuning and calibration to ensure the coordination between the face and the dynamic behavior—a process completely different from face-swapping through virtual model deformation adaptation. Secondly, a lighting and shadow rendering algorithm is used to simulate realistic lighting and shadow effects based on the dynamic behavior's pose and clothing material, achieving unified lighting and shadow across the face, clothing, and background. Finally, edge blending and animation optimization algorithms eliminate splicing artifacts and motion stuttering, generating a 5-second personalized gift video animation, i.e., the first virtual gift. Then, the first virtual gift is pushed to the corresponding live stream room in real time, displayed as a pop-up or floating window and triggering sound effects, completing the interactive loop.
[0158] During the above process, the live streaming platform provides a visual interactive page, which includes a clothing resource library, a dynamic behavior library, and a preview window. The clothing resource library stores preset digital virtual clothing resources categorized by style and type, including various types such as tops, bottoms, and accessories, and supports adaptation to different sizes and angles. The dynamic behavior library stores preset standardized dynamic behaviors. Each dynamic behavior can include data such as skeletal posture data, temporal variation parameters, and duration adapted to video requirements. Users can independently select virtual clothing and dynamic behaviors through the interactive page, supporting single / multiple clothing combinations, completing personalized configurations, and submitting requests.
[0159] In some embodiments, the virtual clothing used to generate virtual gifts can also be customized by the user. See also Figure 18 , Figure 18This is a flowchart illustrating a method for generating virtual gifts based on custom clothing, according to an exemplary embodiment. Users can upload clothing images using a clothing upload control on an interactive page (such as a gift creation page). The server sequentially performs preprocessing operations on the clothing images, including background subtraction, image optimization (such as noise reduction, contrast enhancement, correction of uneven lighting, and improvement of clothing clarity), and intelligent recognition and feature extraction. This yields clothing data such as clothing type (top / bottom / accessory / suit, etc.), core features of the clothing (style structure / fabric material / pattern / collar / cuffs, etc.), and key points of the clothing (i.e., core points related to human posture such as shoulders / waist / cuffs). The server then converts this clothing data into a standardized format. Finally, based on the extracted features, the server generates parameterized clothing parameters adapted to the virtual posture to construct a digital clothing model, i.e., virtual clothing. Then, the server associates the key points of the clothing with the human skeletal posture of the virtual avatar in the dynamic behavior library to ensure that the clothing deforms naturally when the dynamic behavior is performed; it marks the reflective / wrinkled characteristics of the fabric to provide data for subsequent lighting and shadow rendering; then it connects with the original process, that is, the user selects a custom virtual clothing + the user-specified dynamic behavior, and matches and merges it with the facial image of the target object. Then, based on the clothing material and dynamic behavior, it simulates the real lighting and shadow effects to achieve a seamless integration of clothing-face-behavior, thereby obtaining the first virtual gift and pushing it to the target live broadcast room.
[0160] The above process, as an extension module of the original clothing material library function, works in conjunction with the multi-pose face template library and behavior dynamic library. Its core functionality lies in image recognition and standardized processing, enabling precise integration of user-uploaded clothing with the virtual image and animated actions of the target object. No professional graphic design skills are required from the user; simply uploading a photo of ordinary clothing suffices for processing, and the system automatically handles the entire process of image cutout, recognition, and adaptation. Furthermore, through keypoint binding and pose linkage, customized clothing can naturally deform in sync with dynamic behavior, avoiding clipping and stiffness issues where clothing and dynamic actions are disconnected.
[0161] In some embodiments, the dynamic behavior used to generate virtual gifts can also be customized by the user. See also Figure 19 , Figure 19This is a flowchart illustrating a method for generating virtual gifts based on custom dynamic behaviors, according to an exemplary embodiment. Users can upload dynamic behavior materials (such as videos containing dynamic behaviors) through a behavior upload control on an interactive page (e.g., a gift creation page). The server extracts keyframes from the behavior video, removes noise, and filters for valid frame sequences with unobstructed and continuous movements. It then automatically removes static and blurry frames, retaining video segments within the core behavior range, allowing users to manually extract target behavior segments. Next, the server identifies and extracts dynamic behaviors from the processed video segments. Specifically, the server can identify core skeletal points of human limbs, head, etc., in the video, outputting the coordinates of keypoints in each frame; acquire the inter-frame displacement trajectories of keypoints, generating continuous behavior time-series data, recording the speed, amplitude, and rhythm characteristics of the behavior; automatically identify behavior types (e.g., waving, rotating), and mark key nodes (start, climax, finish) and other behavior data. Finally, the server converts this behavior data into a standardized format. Then, the server processes the extracted behavior sequence by speeding up, editing, or looping it according to the gift animation duration requirements to ensure the behavior is complete and smooth. It matches the skeletal proportions of the user-uploaded behavior with the corresponding human posture scale in the target object's face template library to avoid inconsistencies caused by behaviors that are too large or too small. It also matches the head movement trajectory with the key elements in the target object's face template library to ensure that body movements and facial postures are coordinated. Finally, it integrates with the existing process, matching and merging the user's selected custom dynamic behavior and user-specified virtual clothing with the target object's facial image. Then, based on the behavior timing data, it drives the virtual avatar, combining lighting and shadow rendering to simulate clothing wrinkles and body shadows, eliminating behavior stuttering and clipping issues, thus obtaining the first virtual gift, which is then pushed to the target live stream room.
[0162] The above process, as an extension module of the dynamic behavior library, relies on the human posture perception capabilities of generative models to accurately analyze, extract, and adapt user-uploaded behavioral videos. It then collaborates with a multi-pose face template library and custom clothing materials to generate personalized gift effects. Specifically, leveraging the high-precision skeleton detection and temporal motion modeling capabilities of generative models, it can accurately reproduce the details of complex dance and gesture movements (such as wrist rotation and head tilt), achieving a motion reproduction accuracy far exceeding traditional motion recognition algorithms.
[0163] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.
[0164] Figure 20 This is a block diagram illustrating a virtual gift generation apparatus according to an exemplary embodiment. See also... Figure 20 The device for generating the virtual gift includes: Display unit 2001 is configured to respond to a gift creation instruction by displaying a gift creation page, which displays multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. The determining unit 2002 is configured to perform a selection operation in response to multiple virtual costumes and multiple dynamic behaviors, and to determine the target virtual costume and the target dynamic behavior. The display unit 2001 is also configured to perform a first virtual gift in response to the gift generation operation, based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first virtual gift is used to present the dynamic effect of the target virtual image wearing the target virtual clothing and performing the target dynamic behavior. Display unit 2001 is also configured to perform a first virtual gift in the target live room in response to a gift sending operation in the target live room.
[0165] In some embodiments, the display unit 2001 is configured to perform any of the following: On the gift creation page, multiple virtual outfits for the target virtual avatar to wear are displayed. When the target virtual outfit is selected among the multiple virtual outfits, multiple dynamic behaviors that match the target virtual outfit are displayed. On the gift creation page, multiple dynamic behaviors are displayed for the target virtual avatar to perform. If the target dynamic behavior is selected, multiple virtual outfits that match the target dynamic behavior are displayed.
[0166] In some embodiments, the display unit 2001 is further configured to perform any of the following: When a target virtual outfit is selected among multiple virtual outfits, the gift creation page can either add and display multiple dynamic behaviors that match the target virtual outfit, or replace the already displayed multiple dynamic behaviors with multiple dynamic behaviors that match the target virtual outfit. When the target dynamic behavior is selected among multiple dynamic behaviors, the gift creation page can either add and display multiple virtual outfits that match the target dynamic behavior, or replace the already displayed multiple virtual outfits with multiple virtual outfits that match the target dynamic behavior.
[0167] In some embodiments, virtual gifts of the target type are generated by a generative model; Display unit 2001 is configured to display a prompt word control on the gift creation page. The prompt word control is used to obtain the prompt words used when the generative model generates virtual gifts. The prompt word control displays a first prompt word generated based on the target virtual clothing, target dynamic behavior, and target virtual image. The first prompt word is used to describe the content of the virtual gift to be generated. In response to the gift generation operation, the first virtual gift generated is displayed based on the target virtual clothing, target dynamic behavior, target virtual image, and the first prompt word.
[0168] In some embodiments, virtual gifts of the target type are generated by a generative model; Display unit 2001 is configured to display a prompt word control on the gift creation page. The prompt word control is used to obtain the prompt words used when the generative model generates the virtual gift. In response to input to the prompt word control, a second prompt word customized by the object is displayed. The determination unit 2002 is configured to perform the determination of the target virtual clothing and target dynamic behavior based on the second prompt word; Display unit 2001 is also configured to perform a response to the gift generation operation, displaying the generated first virtual gift based on the target virtual clothing, target dynamic behavior, target virtual image, and second prompt word.
[0169] In some embodiments, the display unit 2001 is further configured to display multiple candidate prompts based on existing prompts in the prompt control; when any prompt is selected among the multiple candidate prompts, the selected candidate prompt is incorporated into the existing prompts in the prompt control to obtain a third prompt; and in response to the gift generation operation, a first virtual gift is displayed based on the target virtual clothing, target dynamic behavior, target virtual image, and the third prompt.
[0170] In some embodiments, the display unit 2001 is further configured to display images of multiple objects on the gift creation page; The determining unit 2002 is also configured to perform a selection operation in response to images of multiple objects, and to determine a target virtual image based on the image of the selected object.
[0171] In some embodiments, the display unit 2001 is further configured to display an image upload control on the gift creation page, the image upload control being used to obtain a virtual image for generating a virtual gift; The determining unit 2002 is also configured to perform a response to an input operation on the image upload control, determining the target virtual image based on the image of the input object.
[0172] In some embodiments, the display unit 2001 is configured to execute a gift co-creation page in response to a gift co-creation instruction. The gift co-creation page is used for multiple objects to jointly create virtual gifts. The gift co-creation page displays multiple virtual outfits and multiple dynamic behaviors. The determining unit 2002 is configured to perform a selection operation of multiple virtual clothing items by a first object to determine a target virtual clothing item; and to determine a target dynamic behavior by a selection operation of multiple dynamic behaviors by a second object.
[0173] In some embodiments, the display unit 2001 is further configured to execute an example resource for displaying the first virtual gift based on the target virtual clothing, target dynamic behavior, and target virtual image. The example resource is used to demonstrate the style of the first virtual gift.
[0174] In some embodiments, the display unit 2001 is further configured to switch the example resource of the virtual gift based on the switched target virtual clothing, target dynamic behavior, and target virtual image when at least one of the target virtual clothing, target dynamic behavior, and target virtual image is switched.
[0175] In some embodiments, the display unit 2001 is further configured to display the generation progress of the first virtual gift in the target live streaming room.
[0176] In some embodiments, the display unit 2001 is configured to perform any of the following: The progress of generating the first virtual gift is displayed at a fixed location in the target live stream room; Based on the generation progress of the first virtual gift, multiple comment messages containing the generation progress are displayed sequentially in the comment section of the target live stream, with the generation progress in the multiple comment messages increasing sequentially.
[0177] In some embodiments, the display unit 2001 is further configured to display multiple virtual gifts generated by other objects in a target live streaming room, each virtual gift being used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors; and to display the virtual gift in the target live streaming room in response to a sending operation of any of the multiple virtual gifts.
[0178] In some embodiments, the display unit 2001 is further configured to display a plurality of generated virtual gifts, each virtual gift being used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behavior; for any virtual gift among the plurality of virtual gifts, in response to a switching operation on at least one of the virtual clothing, dynamic behavior, and virtual avatar among the virtual gifts, a second virtual gift is displayed based on the switched virtual clothing, dynamic behavior, and virtual avatar; in response to a gift sending operation in the target live streaming room, the second virtual gift is displayed in the target live streaming room.
[0179] In some embodiments, the display unit 2001 is configured to perform a first virtual gift in response to a gift generation operation, based on a face image of a target object, a target virtual outfit, and a virtual image in a target dynamic behavior. The target virtual image in the first virtual gift is obtained by fusing the face of the target object in the face image, the target virtual outfit, and the virtual image in the target dynamic behavior.
[0180] In some embodiments, there are multiple facial images of the target object, and the facial poses of the target object are different in different facial images; Display unit 2001 is configured to perform a gift generation operation in response to inputting a target face image, target virtual clothing, and target dynamic behavior from multiple face images into a generative model, fusing the virtual image in the target virtual clothing and target dynamic behavior through the generative model, and replacing the face of the virtual image based on the face of the target object in the target face image to obtain the first virtual gift formed by fusion. Among them, the facial pose of the target object in the target face image is matched with the facial pose of the virtual image in the target dynamic behavior.
[0181] This disclosure provides a virtual gift generation device. By providing a visual gift creation page, it allows users to freely choose and combine virtual clothing and dynamic behaviors from a preset library, and generate personalized virtual gifts based on the selected target virtual avatar. This solution transforms abstract gift ideas into concrete combinations of visual elements, is simple to operate, and significantly lowers the technical threshold for users to create their own virtual gifts. When users send custom virtual gifts in a live stream, they can present unique dynamic effects that embody the user's personal creativity. This not only greatly enhances the personalization and emotional expression of gift-giving, but also increases the fun and user participation of interacting through virtual gifts, satisfying the user's interactive needs. Furthermore, the novelty of virtual gifts enriches the live stream content, which is conducive to promoting similar interactions among other viewers in the live stream, thereby increasing the interaction rate in the live stream.
[0182] It should be noted that the virtual gift generation device provided in the above embodiments is only illustrated by the division of the above functional units when generating virtual gifts in the live broadcast room. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device can be divided into different functional units to complete all or part of the functions described above. In addition, the virtual gift generation device and the virtual gift generation method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0183] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0184] When an electronic device is provided as a terminal, Figure 21 This is a block diagram illustrating a terminal 2100 according to an exemplary embodiment. The terminal... Figure 21 A structural block diagram of a terminal 2100 provided in an exemplary embodiment of this disclosure is shown. The terminal 2100 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 2100 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0185] Typically, terminal 2100 includes a processor 2101 and a memory 2102.
[0186] Processor 2101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0187] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 are used to store at least one computer program, which is executed by the processor 2101 to implement the virtual gift generation method provided in the method embodiments of this application.
[0188] In some embodiments, the terminal 2100 may also optionally include a peripheral device interface 2103 and at least one peripheral device. The processor 2101, memory 2102, and peripheral device interface 2103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 2103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 2104, a display screen 2105, a camera assembly 2106, an audio circuit 2107, and a power supply 2108.
[0189] Peripheral device interface 2103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2101 and memory 2102. In some embodiments, processor 2101, memory 2102 and peripheral device interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 2101, memory 2102 and peripheral device interface 2103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0190] The radio frequency (RF) circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 2104 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0191] Display screen 2105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 2105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 2101 for processing. In this case, display screen 2105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 2105, disposed on the front panel of terminal 2100; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 2100 or in a folded design; in still other embodiments, display screen 2105 may be a flexible display screen, disposed on a curved or folded surface of terminal 2100. Furthermore, display screen 2105 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 2105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0192] The camera assembly 2106 is used to acquire images or videos. In some embodiments, the camera assembly 2106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 2106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0193] The audio circuit 2107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 2101 for processing, or to the radio frequency circuit 2104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 2100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 2101 or the radio frequency circuit 2104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 2107 may also include a headphone jack.
[0194] Power supply 2108 is used to power the various components in terminal 2100. Power supply 2108 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 2108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0195] Those skilled in the art will understand that Figure 21 The structure shown does not constitute a limitation on terminal 2100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0196] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 2102 including instructions, which can be executed by a processor 2101 of a terminal 2100 to complete the virtual gift generation method described above. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0197] A computer program product includes a computer program / instructions that, when executed by a processor, implement the aforementioned method for generating virtual gifts.
[0198] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0199] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for generating virtual gifts, characterized in that, The method includes: In response to a gift creation command, a gift creation page is displayed, which shows multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. In response to the selection operation of the plurality of virtual outfits and the plurality of dynamic behaviors, a target virtual outfit and a target dynamic behavior are determined; In response to the gift generation operation, based on the target virtual clothing, the target dynamic behavior, and the target virtual avatar, a first virtual gift is displayed. The first virtual gift is used to present the dynamic effect of the target virtual avatar wearing the target virtual clothing and performing the target dynamic behavior. In response to a gift-sending operation in the target live stream room, the first virtual gift is displayed in the target live stream room.
2. The method for generating virtual gifts according to claim 1, characterized in that, The display process of the multiple virtual costumes and the multiple dynamic behaviors includes any one of the following: On the gift creation page, multiple virtual outfits for the target virtual avatar to wear are displayed. When the target virtual outfit is selected, multiple dynamic behaviors that match the target virtual outfit are displayed. On the gift creation page, multiple dynamic behaviors are displayed for the target virtual avatar to perform. When the target dynamic behavior is selected, multiple virtual outfits that match the target dynamic behavior are displayed.
3. The method for generating virtual gifts according to claim 1, characterized in that, The method further includes any of the following: When a target virtual outfit is selected among the multiple virtual outfits, the gift creation page may add and display multiple dynamic behaviors that match the target virtual outfit, or replace the already displayed multiple dynamic behaviors with multiple dynamic behaviors that match the target virtual outfit. When the target dynamic behavior is selected among the multiple dynamic behaviors, the gift creation page adds and displays multiple virtual outfits that match the target dynamic behavior, or replaces the already displayed multiple virtual outfits with multiple virtual outfits that match the target dynamic behavior.
4. The method for generating virtual gifts according to claim 1, characterized in that, The first virtual gift was generated by a generative model; The method further includes: On the gift creation page, a prompt word control is displayed. The prompt word control is used to obtain the prompt words used by the generative model when generating virtual gifts. The prompt word control displays a first prompt word generated based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first prompt word is used to describe the content of the virtual gift to be generated. The response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, displays the generated first virtual gift, including: In response to the gift generation operation, the first virtual gift is displayed based on the target virtual clothing, the target dynamic behavior, the target virtual image, and the first prompt word.
5. The method for generating virtual gifts according to claim 1, characterized in that, The first virtual gift was generated by a generative model; The method further includes: On the gift creation page, a prompt word control is displayed. The prompt word control is used to obtain the prompt words used by the generative model when generating virtual gifts. In response to an input operation to the prompt word control, a second prompt word customized by the object is displayed; The step of determining the target virtual outfit and target dynamic behavior in response to the selection operation of the plurality of virtual outfits and the plurality of dynamic behaviors includes: Based on the second prompt word, the target virtual clothing and the target dynamic behavior are determined; The response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, displays the generated first virtual gift, including: In response to the gift generation operation, the generated first virtual gift is displayed based on the target virtual clothing, the target dynamic behavior, the target virtual image, and the second prompt word.
6. The method for generating virtual gifts according to claim 4 or 5, characterized in that, The method further includes: Based on the existing prompts in the prompt control, multiple candidate prompts are displayed; When any one of the multiple candidate prompt words is selected, the selected candidate prompt word is incorporated into the existing prompt words of the prompt word control to obtain a third prompt word; The response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, displays the generated first virtual gift, including: In response to the gift generation operation, the first virtual gift generated is displayed based on the target virtual clothing, the target dynamic behavior, the target virtual image, and the third prompt word.
7. The method for generating virtual gifts according to claim 1, characterized in that, The method further includes: The gift creation page displays images of multiple objects; In response to a selection operation on the images of the plurality of objects, the target virtual avatar is determined based on the image of the selected object.
8. The method for generating virtual gifts according to claim 1, characterized in that, The method further includes: An image upload control is displayed on the gift creation page. The image upload control is used to obtain a virtual image for generating a virtual gift. In response to an input operation to the image upload control, the target virtual image is determined based on the image of the input object.
9. The method for generating virtual gifts according to claim 1, characterized in that, The response to the gift creation instruction, displaying the gift creation page, includes: In response to a gift co-creation command, a gift co-creation page is displayed. The gift co-creation page is used for multiple objects to jointly create virtual gifts. The gift co-creation page displays the multiple virtual outfits and the multiple dynamic behaviors. The step of determining the target virtual outfit and target dynamic behavior in response to the selection operation of the plurality of virtual outfits and the plurality of dynamic behaviors includes: In response to a first object's selection operation on the plurality of virtual outfits, the target virtual outfit is determined; In response to the second object's selection operation on the plurality of dynamic behaviors, the target dynamic behavior is determined.
10. The method for generating virtual gifts according to claim 1, characterized in that, Before the gift generation operation is triggered, the method further includes: Based on the target virtual clothing, target dynamic behavior, and target virtual image, an example resource of the first virtual gift is displayed, the example resource being used to demonstrate the style of the first virtual gift.
11. The method for generating virtual gifts according to claim 10, characterized in that, Before the gift generation operation is triggered, the method further includes: If at least one of the target virtual clothing, the target dynamic behavior, and the target virtual avatar is switched, the example resource for displaying the virtual gift is switched based on the switched target virtual clothing, target dynamic behavior, and target virtual avatar.
12. The method for generating virtual gifts according to claim 1, characterized in that, The method further includes: The generation progress of the first virtual gift is displayed in the target live stream room.
13. The method for generating virtual gifts according to claim 12, characterized in that, The process of displaying the generation progress of the first virtual gift in the target live stream room includes any one of the following: The generation progress of the first virtual gift is displayed at a fixed location in the target live stream room; Based on the generation progress of the first virtual gift, multiple comment messages containing the generation progress are displayed sequentially in the comment section of the target live stream, with the generation progress in the multiple comment messages increasing sequentially.
14. The method for generating virtual gifts according to claim 1, characterized in that, The method further includes: In the target live streaming room, multiple virtual gifts that have been generated are displayed. These virtual gifts are created by other objects, and each virtual gift is used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors. In response to a sending operation of any one of the plurality of virtual gifts, the virtual gift is displayed in the target live stream room.
15. The method for generating virtual gifts according to claim 1, characterized in that, The method further includes: Displays multiple virtual gifts that have been generated, each virtual gift used to present a dynamic effect of a virtual avatar wearing virtual clothing and performing dynamic behaviors; For any one of the plurality of virtual gifts, in response to a switching operation on at least one of the virtual clothing, dynamic behavior and virtual avatar of the virtual gift, a second virtual gift is displayed based on the switched virtual clothing, dynamic behavior and virtual avatar. In response to a gift-sending operation within the target live stream, the second virtual gift is displayed in the target live stream.
16. The method for generating virtual gifts according to claim 1, characterized in that, The response to the gift generation operation, based on the target virtual clothing, target dynamic behavior, and target virtual avatar, displays the generated first virtual gift, including: In response to the gift generation operation, a first virtual gift is displayed based on the target object's facial image, the target virtual clothing, and the virtual image in the target's dynamic behavior. The target virtual image in the first virtual gift is obtained by fusing the target object's face in the facial image, the target virtual clothing, and the virtual image in the target's dynamic behavior.
17. The method for generating virtual gifts according to claim 16, characterized in that, There are multiple facial images of the target object, and the facial pose of the target object is different in different facial images; In response to the gift generation operation, the first virtual gift, which is a fusion of the target object's facial image, the target virtual clothing, and the virtual image in the target's dynamic behavior, is displayed, including: In response to the gift generation operation, the target face image from multiple face images, the target virtual clothing, and the target dynamic behavior are input into a generative model. The generative model is used to fuse the virtual image of the target virtual clothing and the target dynamic behavior, and the face of the virtual image is replaced based on the face of the target object in the target face image to obtain the first virtual gift formed by the fusion. Wherein, the facial pose of the target object in the target facial image is matched with the facial pose of the virtual image in the target dynamic behavior.
18. A device for generating virtual gifts, characterized in that, The device includes: The display unit is configured to respond to a gift creation instruction by displaying a gift creation page, which displays multiple virtual outfits for the target virtual avatar to wear and multiple dynamic behaviors for the target virtual avatar to perform. The determining unit is configured to perform a selection operation in response to the plurality of virtual costumes and the plurality of dynamic behaviors to determine a target virtual costume and a target dynamic behavior; The display unit is further configured to perform a first virtual gift in response to the gift generation operation, based on the target virtual clothing, the target dynamic behavior, and the target virtual image. The first virtual gift is used to present the dynamic effect of the target virtual image wearing the target virtual clothing and performing the target dynamic behavior. The display unit is also configured to perform a gift-sending operation in the target live stream room, displaying the first virtual gift in the target live stream room.
19. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the virtual gift generation method as described in any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method for generating virtual gifts as described in any one of claims 1 to 17.
21. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method for generating virtual gifts according to any one of claims 1 to 17.