Method and device for generating media resources, equipment and storage medium

By presenting resource templates in the interactive interface and generating prompt information based on interactive topics, the problems of low generation efficiency and insufficient resource quality are solved, and efficient and highly relevant media resource generation is achieved.

CN120372027APending Publication Date: 2025-07-25BYTEDANCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510449442.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

When generating media resources, the generated resources are inefficient and the generated resources are not related to interactive topics, resulting in low resource quality.

Method used

The resource template is presented in the interactive interface with the virtual object, the target prompt information is generated based on the selected resource template, and the first prompt information is generated through interactive topics associated with the preset period, thereby providing high-quality media resources.

Benefits of technology

It improves the efficiency and quality of generating media resources, makes the generated resources more relevant to interactive topics, and improves the user's interactive experience and the applicability of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120372027A_ABST
    Figure CN120372027A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a method and device for generating media resources, equipment and a storage medium. The method provided by the invention comprises the following steps: presenting a group of resource templates in an interactive interface with a virtual object; target prompt information is sent to the virtual object on the basis of selection of a first resource template in the set of resource templates, the target prompt information is determined on the basis of first prompt information corresponding to the first resource template, and the first prompt information is generated on the basis of a first interaction topic associated with a preset time period; and providing media resources generated based on the target prompt information. In this way, the efficiency of generating the media resources can be improved, and the quality of the generated media resources can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and particularly to methods, apparatuses, devices, and computer-readable storage media for generating media resources. Background Art

[0002] With the development of computer technology, more and more users create and share media content through Internet platforms. In the process of creating media content, various types of media resources (e.g., special effects, filters, etc.) can assist users in creating richer media content and improving the creation effect of media content. Summary of the Invention

[0003] In a first aspect of the present disclosure, a method for generating a media resource is provided. The method includes: presenting a set of resource templates in an interaction interface with a virtual object; based on a selection of a first resource template from the set of resource templates, sending target prompt information to the virtual object, the target prompt information being determined based on first prompt information corresponding to the first resource template, the first prompt information being generated based on a first interaction topic associated with a preset time period; and providing a media resource generated based on the target prompt information.

[0004] In a second aspect of the present disclosure, an apparatus for generating a media resource is provided. The apparatus includes: a first presentation module configured to present a set of resource templates in an interaction interface with a virtual object; a sending module configured to send target prompt information to the virtual object based on a selection of a first resource template from the set of resource templates, the target prompt information being determined based on first prompt information corresponding to the first resource template, the first prompt information being generated based on a first interaction topic associated with a preset time period; and a first providing module configured to provide a media resource generated based on the target prompt information.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to execute the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium and can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the content described in this content part is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent. In the drawings, the same or similar reference numerals denote the same or similar elements, where:

[0009] Figure 1 FIG. 1 shows a schematic diagram of an exemplary environment in which embodiments of the present disclosure can be implemented;

[0010] Figures 2A to 2G FIG. 2 shows an exemplary interface according to some embodiments of the present disclosure;

[0011] Figure 3 FIG. 3 shows a schematic architecture diagram of an exemplary process for generating media resources according to some embodiments of the present disclosure;

[0012] Figure 4 FIG. 4 shows a timing flowchart of an exemplary process for generating media resources according to some embodiments of the present disclosure;

[0013] Figure 5 FIG. 5 shows a flowchart of an exemplary process for generating media resources according to some embodiments of the present disclosure;

[0014] Figure 6 FIG. 6 shows a schematic structural block diagram of an exemplary apparatus for generating media resources according to some embodiments of the present disclosure; and

[0015] Figure 7 FIG. 7 shows a block diagram of an electronic device capable of implementing multiple embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0017] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. In addition, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different sections / subsections in any manner.

[0018] In the description of the embodiments of the present disclosure, the term "including" and its similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". There may also be other explicit and implicit definitions hereinafter. The terms "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions hereinafter.

[0019] In the embodiments of the present disclosure, it may involve the user's data, the acquisition and / or use of data, etc. These aspects all comply with the corresponding laws, regulations and related provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are carried out on the premise that the user is aware and confirms. Correspondingly, when implementing the embodiments of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained through appropriate means according to the relevant laws and regulations. The specific informing and / or authorization methods may vary according to the actual situation and application scenarios, and the scope of the present disclosure is not limited in this regard.

[0020] For the solutions in this specification and embodiments, if they involve the processing of personal information, they will all be processed on the premise of having a legal basis (such as obtaining the consent of the personal information subject, or being necessary for performing a contract, etc.), and will only be processed within the specified or agreed scope. If the user refuses to process personal information other than the necessary information required for the basic functions, it will not affect the user's use of the basic functions.

[0021] As mentioned above, with the development of computer technology, more and more users create and share media content through Internet platforms. During the creation process of media content, various types of media resources (such as special effects, filters, etc.) can assist users in creating richer media content and improving the creation effect of media content. To further improve the creation effect, some applications or platforms also support users to create such media resources.

[0022] The embodiments of the present disclosure propose a solution for generating media resources. According to this solution, a set of resource templates can be presented in the interaction interface with the virtual object. Further, based on the selection of the first resource template in the set of resource templates, a target prompt message can be sent to the virtual object, and the target prompt message is determined based on the first prompt message corresponding to the first resource template, and the first prompt message is generated based on the first interaction topic associated with the preset time period. Additionally, the media resources generated based on the target prompt message can be provided.

[0023] Based on such a manner, embodiments of the present disclosure can provide selectable resource templates, thereby improving the efficiency of generating media resources. Moreover, embodiments of the present disclosure generate media resources by referring to a first resource template related to a first interaction topic, such that the generated media resources can be more relevant to such a first interaction topic, thereby improving the quality of the generated media resources.

[0024] Accordingly, embodiments of the present disclosure can improve the efficiency of generating media resources and improve the quality of the generated media resources.

[0025] Various example implementations of the solution are further described in detail below with reference to the accompanying drawings.

[0026] Example environment

[0027] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. As Figure 1 shown, the example environment 100 may include an electronic device 110.

[0028] In this example environment 100, the electronic device 110 may run an application 120 that supports generating media resources. The application 120 may be any suitable type of application for generating media resources, examples of which may include, but are not limited to: media applications, resource editing applications, or other suitable applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.

[0029] In Figure 1 the environment 100, if the application 120 is active, the electronic device 110 may present an interface 150 for supporting generating media resources through the application 120.

[0030] In some embodiments, the electronic device 110 communicates with the server 130 to implement the supply of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, palmtop computers, portable game terminals, VR / AR devices, Personal Communication System (PCS) devices, personal navigation devices, Personal Digital Assistant (PDA), audio / video players, digital cameras / video cameras, positioning devices, television receivers, radio broadcast receivers, e-book devices, game devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of user interface (such as a "wearable" circuit, etc.).

[0031] The server 130 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. The server 130 can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and so on. The server 130 can provide back-end services for the application 120 that supports content presentation in the electronic device 110.

[0032] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this regard. In the embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.

[0033] It should be understood that the structures and functions of the various elements in the environment 100 are described only for exemplary purposes, without implying any limitation on the scope of the present disclosure.

[0034] Some exemplary embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0035] Example interaction

[0036] Some example interaction processes according to embodiments of the present disclosure will be described below with reference to Figures 2A to 2G . Figures 2A to 2G Example interfaces 200A to 200G according to some embodiments of the present disclosure are shown. The interfaces 200A to 200G can be provided, for example, by Figure 1 the electronic device 110 shown.

[0037] In some embodiments, such interfaces 200A to 200G can include an interface for generating media resources. Thus, the user 140 can trigger the generation of media resources by interacting with the preset interface. As an example, the user 140 can trigger the generation of media resources by interacting with a virtual object. Accordingly, such interfaces 200A to 200G can also include an interaction interface between the user 140 and the virtual object.

[0038] As an example, such a virtual object can include any suitable processing entity that supports generating and / or editing media resources through means such as prompt information. In some scenarios, the virtual object can also be referred to as a virtual entity. Examples thereof can include, but are not limited to, an agent, a machine program, or other processing entities that support triggering the editing of media resources through a dialogue. Such a virtual object can be implemented, for example, using an appropriate machine learning model to correspondingly generate and / or edit media resources based on the received prompt information. The present disclosure is not intended to limit the specific construction manner of the virtual object.

[0039] As an example, the media resources can be used to create media content, examples of which include, but are not limited to, special effects, filters, etc. For ease of understanding, embodiments of the present disclosure take special effects as an example of the media resources to exemplarily illustrate the present disclosure. As an example, such media content includes, but is not limited to, images, videos, audios, and the like.

[0040] In some embodiments, according to Figure 2A the interface 200A shown, the electronic device 110 can present a component 211 in the interface 200A to support presenting prompt information for generating media resources. As an example, such prompt information can be triggered and input by the user 140. As an example, the user 140 can trigger inputting such prompt information into the component 211 in any suitable manner. The present disclosure is not intended to limit the specific form of the information input by the user 140.

[0041] In some embodiments, the generation efficiency of media resources generated based on the prompt information input by user 140 is relatively low. Thus, embodiments of the present disclosure can present a set of resource templates in interface 200A. Further, user 140 can select a specified resource template (labeled as the first resource template for easy distinction) from such a set of resource templates to trigger more quickly sending target prompt information to the virtual object. Further, electronic device 110 can provide corresponding media resources to be generated based on such target prompt information.

[0042] As an example, according to Figure 2A the shown interface 200A, electronic device 110 can present a set of resource templates, which can include, for example, template 212-1, template 212-2, template 212-3, and so on. Further, user 140 can trigger the selection of the first resource template from such a set of resource templates to trigger sending target prompt information to the virtual object.

[0043] To improve the quality of the generated media resources, if user 140 selects the first resource template, electronic device 110 can also support user 140 to preview, through such a component 211 (also called an input component), the prompt information corresponding to the first resource template for generating media resources. For example, user 140 can trigger, by selecting the first resource template, the presentation of the first prompt information corresponding to the first resource template in component 211.

[0044] Further, electronic device 110 can receive a sending operation associated with component 211 to send target prompt information to the virtual object. For example, such a sending operation can include a triggering operation by user 140 on control 214, and user 140 can trigger control 214 to trigger sending such target prompt information to the virtual object.

[0045] In some embodiments, such first prompt information can be used as the target prompt information. Alternatively, user 140 can also trigger the editing of such first prompt information through such a component 211 to improve the quality of the subsequently generated media resources. As an example, user 140 can manually edit such first prompt information by adjusting the content of the first prompt information presented in component 211.

[0046] Further, by editing such first prompt information, electronic device 110 can determine second prompt information to use such second prompt information as the target prompt information. Thus, user 140 can trigger control 214 to send such second prompt information to the virtual object.

[0047] In some embodiments, such first prompt information may be generated based on a first interaction topic associated with a preset time period. For example, such first prompt information may be generated by server 130 (or electronic device 110), and server 130 (or electronic device 110) may generate the first prompt information based on the first interaction topic associated with the preset time period. As an example, the generation process of such first prompt information may refer to the example media resource generation process described below, and the embodiments of the present disclosure will not be elaborated herein.

[0048] In some embodiments, the historical interaction information corresponding to such first interaction topic may meet a preset condition. As an example, such historical interaction information may indicate the interaction situation of the first interaction topic within the preset time period, which may include, for example, public historical interaction information such as the number of comments and views on the first interaction topic (or works associated with the first interaction topic). As an example, such preset condition may indicate a relatively high interaction. For example, such first interaction topic may also be referred to as a hot topic, and such preset condition may be set according to actual needs, and the present disclosure does not aim to limit the specific content and specific value of such preset condition. Thus, the embodiments of the present disclosure may improve the quality of the generated first prompt information by interacting more with the first interaction topic.

[0049] In some embodiments, interface 200A may present multiple resource templates corresponding to multiple interaction topics to further improve the diversity of selectable resource templates. To improve the efficiency of generating media resources, interface 200A may present a set of candidate interaction topics to support the user in more quickly screening some resource templates corresponding to the specified candidate interaction topics.

[0050] As an example, according to Figure 2A the shown interface 200A, electronic device 110 may present a set of candidate interaction topics in area 213 of interface 200A, and user 140 may select the first interaction topic from such a set of candidate interaction topics. Thus, electronic device 110 may present a set of resource templates corresponding to the first interaction topic in area 217 for user 140 to select.

[0051] In some embodiments, if user 140 does not select an interaction topic, electronic device 110 may also present multiple resource templates in area 211 of interface 200A, and such multiple resource templates may correspond to the same or different candidate interaction topics in this set of candidate interaction topics.

[0052] As an example, at least part of such a set of candidate interaction topics can be determined by the method of determining the first interaction topic described above. As an example, such a set of candidate interaction topics can also be determined by other means. For example, such a set of candidate interaction topics also includes one or more preset candidate interaction topics, etc.

[0053] As an example, according to Figure 2B As shown in the interface 200B, the user 140 can select the topic 221 (e.g., the "Animal Adventure" topic) from a set of candidate interaction topics, and the electronic device 110 can present a set of resource templates (e.g., templates 231-1, templates 231-2, templates 231-3, etc.) corresponding to the topic 221 in the area 222 in the interface 200B. As an example, the electronic device 110 can also support the user 140 to view more resource templates corresponding to the topic 221 based on the sliding operation of the user 140. Thus, the user 140 can select the first resource template from the set of resource templates presented in the area 222.

[0054] As an example, according to Figure 2C As shown in the interface 200C, such a first resource template can include the template 231-3. Further, the user 140 can trigger the control 232 associated with the template 231-3 to trigger filling the first prompt information corresponding to the template 231-3 into the component 211.

[0055] In some embodiments, the electronic device 110 can present reference media content corresponding to the first resource template in such an interaction interface. For example, according to Figure 2C As shown in the interface 200C, the electronic device 110 can present the reference media content 234 corresponding to the template 231-3. As an example, such reference media content 234 can be pre-generated. For example, the server 130 (or the electronic device 110) can generate a reference media resource based on the first resource template, and then generate reference media content using the reference media resource. In this way, the user 140 can more conveniently understand the media effect of the resource template.

[0056] As an example, the specific generation of such reference media content can be implemented using any suitable media application, and the present disclosure is not intended to limit the specific implementation manner of generating reference media content. For example, the specific implementation manner of generating reference media content can also refer to the specific implementation manner of generating a media resource based on the first resource template and generating corresponding media content based on the media resource, etc.

[0057] In some embodiments, still according to Figure 2AFor the interface 200A shown, the component 211 can also support quick adjustment of the input prompt text. As an example, such a component 211 can include one or more option controls, and the user 140 can interact with such one or more option controls to trigger automatic editing of the corresponding attributes of such a first prompt message. For example, according to Figure 2A For the interface 200A shown, the user 140 can trigger the option control 215 to adjust the category of the resource generation tool (also known as, skill or ability, etc.) indicated by such a first prompt message. As another example, the user can trigger the option control 216 to trigger adjustment of the theme of such a first prompt message. As an example, other editing controls can also be included in the component 211 and can be triggered accordingly to edit other attributes of the prompt message. The present disclosure is not intended to limit the types and functions of such editing controls.

[0058] As an example, according to Figure 2D For the interface 200D shown, when the user 140 triggers such an option control 215, the electronic device 110 can present a corresponding window 241 to the user 140 to present a plurality of drop-down options (for example, category 1, category 2, category 3, etc.). Thus, the user 140 can quickly select a specified category to quickly adjust the category of the resource generation tool corresponding to the prompt text.

[0059] Furthermore, after providing the target prompt message to the virtual object, the electronic device 110 can provide a media resource generated based on the target prompt message. As an example, such a media resource can be provided through the session between the user 140 and the virtual object.

[0060] As an example, according to Figure 2E For the interface 200E shown, the electronic device 110 can present a session window 250 with the virtual object, and in the session window 250, present a response message 251 generated by the virtual object based on the target prompt message. Such a response message 251 can include the generated media resource and the description information of the media resource. As an example, such description information can include the theme, target, environment, difficulty level, and style, etc. of such a media resource.

[0061] For example, according to Figure 2EThe interface 200E shown. Such target prompt information can indicate the text content "I want to generate a flat building block game with the theme of 'Animal Adventure'. The goal is to click and move a little dog from the lower left corner to the upper right corner of the screen. The background is ××××××. There are × cuboid floating platforms on the middle ground, arranged in a linear pattern and moving up and down. The difficulty level of the game is easy. The overall style is ××××××". Furthermore, the description information of the media resource generated based on such first prompt information can include "Theme: Adventure of the Little Dog", "Goal: Move the little dog from the lower left corner to the upper right corner of the screen", "Difficulty: Easy", and so on. Thus, the embodiments of the present disclosure can provide higher-quality media resources more efficiently.

[0062] In some embodiments, the electronic device 110 can also present preview content of the media resource in the conversation window to improve the acquisition efficiency of the user 140 to obtain information about the media resource from the conversation window. As an example, according to Figure 2E the interface 200E shown, such preview content can include the media content presented in the preview panel 252, and such media content can include the visual content corresponding to such media resource. For example, such visual content can include the little dog, interactive platforms, etc. in the picture. It should be understood that the specific content items (such as prompt information, description information, preview content, visual elements, etc.) mentioned in the embodiments of the present disclosure are only exemplary, and the present disclosure is not intended to limit this.

[0063] In some embodiments, such first prompt information can include visual description information of at least one object associated with the first interaction topic, so that the media resource generated based on such first prompt information presents visual elements corresponding to at least one object. For example, such first interaction topic can be "Animal Adventure", and such first prompt information can include visual description information associated with at least one object (such as a little dog) associated with "Animal Adventure". Thus, such media resource can present visual elements corresponding to such at least one object (such as element 255, which indicates the little dog).

[0064] In some embodiments, the user 140 can create a new conversation by triggering the entry 257, and then resend prompt information to the virtual object. For example, when the user 140 triggers the entry 257, it can trigger the electronic device 110 to present Figure 2A the interface 200A shown. Further, the electronic device 110 can temporarily store the media resource generated in the current conversation, and the subsequent user 140 can continue to edit such media resource. For example, the user 140 can trigger the entry 258 to view the temporarily stored media resource. Thus, the embodiments of the present disclosure can further improve the interaction efficiency between the user and the virtual object.

[0065] In some embodiments, the user 140 may further input prompt information through an input component to instruct the virtual object to further adjust the generated media resource. For example, the user 140 may input prompt information indicating the adjustment content through interaction with the input component 253, and send such prompt information by triggering the control 254. Further, the virtual object may adjust the generated media resource based on such prompt information.

[0066] For example, according to Figure 2F the interface 200F shown, the electronic device 110 may send a session message 261 to indicate the prompt information of "change the difficulty level to difficult". Further, the electronic device 110 may present a response message 262 in the session window, and such a response message 262 may be generated by the virtual object based on adjusting the difficulty of the generated media resource.

[0067] In some embodiments, the electronic device 110 may support the user 140 to quickly switch resource templates through such a session window to improve the efficiency of generating media resources. For example, the user 140 may trigger the switching entry 263 to trigger the presentation of at least one candidate resource template. For example, according to Figure 2G the interface 200G shown, if the user 140 can trigger the switching entry 263, the electronic device 110 may present a window 264 and present such at least one candidate resource template in such a window 264. Further, the user 140 may select the resource template to be switched (for example, the second resource template) from the presented at least one candidate resource template to trigger providing the third prompt information corresponding to the resource template to be switched to the virtual object.

[0068] Based on such a manner, the embodiments of the present disclosure can provide selectable resource templates, thereby improving the efficiency of generating media resources. And, the embodiments of the present disclosure generate media resources by referring to the first resource template related to the first interaction topic, so that the generated media resources can be more relevant to such a first interaction topic, thereby improving the quality of the generated media resources.

[0069] Thus, the embodiments of the present disclosure can improve the efficiency of generating media resources and improve the quality of the generated media resources.

[0070] Example media resource generation process

[0071] The following will refer to Figure 3 to describe an example process of generating a resource template according to an embodiment of the present disclosure. Figure 3FIG. 0 shows a schematic architecture diagram of a process 300 for generating media resources according to some embodiments of the present disclosure. The process 300 can be implemented as or included in a server 130. The following is a reference to Figure 1 describe the process 300.

[0072] Taking the generation of a first resource template based on a first interaction topic as an example, as Figure 3 shown, the server 130 can obtain a first interaction topic 311, and based on such a first interaction topic 311, obtain a matching resource generation tool from a database 312. Further, the server 130 can use such a first interaction topic 311 and the matching resource generation tool to generate a first prompt message 211, and generate a corresponding media resource 314 (also referred to as a special effect) based on such a first prompt message 211.

[0073] In some embodiments, the server 130 can distribute media content generated based on such a special effect and mark (315) such media content. As an example, such marking can be implemented through tags. For example, the viewing interface of such media content can include an interface 321, and tags associated with the first interaction topic can be presented in such an interface 321. As an example, such tags can indicate the content of the first interaction topic or the information of such a special effect. The present disclosure is not intended to limit the specific content items of such tags.

[0074] In some embodiments, the server 130 can also display (316) such a special effect template in such media content. For example, the server 130 can present a control 322 associated with the media resource 314 in such an interface 321. Thus, the user 140 can trigger such a control 322 to view the details page 331 of the media resource 314. Further, the details page 331 can present a creation entry 332 corresponding to the media resource 314 to support the user 140 to quickly apply the media resource 314 to create media content.

[0075] The following will take the generation of a first prompt message based on a first interaction topic as an example, and in combination with the attached Figure 4 to further describe the specific process of generating the prompt message. Figure 4 FIG. 20 shows a timing flowchart of an example process 400 for generating media resources according to some embodiments of the present disclosure. The process 400 can be implemented as or included in a server 130. The following is a reference to Figure 1 describe the process 400.

[0076] In some embodiments, there may be multiple interaction topics with relatively high interactions within a preset time period, and the server 130 may generate corresponding prompt information for each interaction topic in the interaction topic set. As an example, such an interaction topic set may be determined by the user unit 411. As an example, the server 130 may obtain historical interaction information within a preset time period through such a user unit 411, and then determine such an interaction topic set.

[0077] In the following embodiments of the present disclosure, an example is given in which the server 130 determines a first interaction topic from the interaction topic set and generates first prompt information corresponding to the first interaction topic based on such a first interaction topic to describe the process of generating prompt information.

[0078] In some embodiments, the server 130 uses the scheduling unit 412 to overall schedule such a prompt information generation process. As an example, the server 130 may provide (421) the first interaction topic to the scheduling unit 412 through the user unit 411. Further, the server 130 may provide such a first interaction topic to the topic description unit 413 through the scheduling unit 412 to generate context information of the first interaction topic. For example, the server 130 may request (431) to expand the context information of the first interaction topic to obtain the expanded context information of the first interaction topic returned (432) by the topic description unit 413. Thus, the server 130 may generate first prompt information corresponding to the first resource template based on such context information. As an example, such context information may be generated at least based on a set of search results associated with the first interaction topic.

[0079] As an example, such a topic description unit 413 may support calling an appropriate generative model, which may, for example, search for specified information associated with the input topic from a specified data source to obtain a corresponding set of search results. As an example, such a data source may include any appropriate publicly available or authorized data source for access and use, and the acquisition and use of the data therein comply with the corresponding laws, regulations and related provisions. As an example, such a generative model may be deployed in the server 130 for direct calling. As an example, such a generative model may also be deployed in other devices and support calling through an interface.

[0080] Thus, the server 130 may use such a generative model to obtain a set of search results associated with the first interaction topic. As an example, such a set of search results includes, but is not limited to, description information associated with the first interaction topic, visual description information of at least one object associated with the first interaction topic, historical interaction information for the first interaction topic, evaluation information of the search model regarding the first interaction topic, and so on.

[0081] In some embodiments, the server 130 may obtain a set of candidate resource generation tools from the database 414. As an example, the candidate resource generation tool, also known as a resource generation link, may provide guidance information for the process of generating a resource template based on prompt information. As an example, the server 130 traverses (441) a list of such a set of candidate resource generation tools (also known as skills) (also known as a skill list) from the database 414 and obtains a list of a set of candidate resource generation tools returned (442) by the database. Thus, embodiments of the present disclosure may improve the accuracy of the first prompt information generated subsequently based on such a set of candidate resource generation tools.

[0082] Further, the server 130 may provide (451) the first interaction topic, context information, and first description information of a set of candidate resource generation tools to the tool matching unit 415 to obtain a target resource generation tool (also known as a recommended skill) returned (452) by the tool matching unit 451. As an example, such a tool matching unit 415 may also support calling any appropriate generative model, which may, for example, determine the matching degree between multiple resource generation tools and the input topic and recommend one or more more suitable resource generation tools for the input topic based on such a matching degree. Thus, the tool matching unit 451 may use such a generative model to determine a target resource generation tool that matches the first interaction topic.

[0083] Further, the tool matching unit 451 may also return (452) the matching degree between the first interaction topic and the candidate resource generation tool and an explanatory text regarding the matching degree to further improve the quality of the first prompt information generated subsequently.

[0084] In some embodiments, the tool matching unit 415 may return multiple matching resource generation tools. Further, the server 130 may generate respective prompt information corresponding to such respective resource generation tools. Embodiments of the present disclosure are exemplarily described by taking the tool matching unit 415 returning one resource generation tool (that is, the target resource generation tool) as an example. Thus, the server 130 may use the template generation unit 416 to generate first prompt information corresponding to the target resource generation tool.

[0085] Specifically, the server 130 may provide the second description information of the target resource generation tool, the first interaction topic, and context information to the template generation unit 416 to generate first prompt information. For example, the server 130 may request (461) to generate first prompt information (also known as detailed prompt) and obtain first prompt information returned (462) by the template generation unit 416 that matches the target resource generation tool.

[0086] As an example, such a template generation unit 416 can also support invoking any appropriate generative model, which can, for example, expand such a topic based on the input topic and context information, and the description information of the resource generation tool, to generate corresponding prompt information. Thus, the tool matching unit 451 can utilize such a generative model to generate such first prompt information.

[0087] Such a generative model can be utilized to determine a target resource generation tool that matches the first interaction topic.

[0088] As an example, at least some of the template generation unit 416, the tool matching unit 415, and the topic description unit 413 can reuse an appropriate generative model to reduce the resource consumption of invoking the model. As an example, at least some of the template generation unit 416, the tool matching unit 415, and the topic description unit 413 can also invoke different generative models to improve the accuracy of the model generation result based on a more suitable generative model.

[0089] As an example, such second description information at least indicates the usage manner of at least one resource generation tool, and its examples include but are not limited to the type of generated resources, the gameplay of the generated resources, the visual elements included in the generated resources, and so on. Thus, the server 130 can return (422) the result to the user unit 411 for subsequent media resource generation. As an example, the returned result can include such first prompt information, and can also include information such as context information and first description information. As an example, such first prompt information can be configured to invoke the target resource generation tool to generate corresponding media resources.

[0090] Based on such a manner, the embodiments of the present disclosure can improve the quality of the generated first prompt information, so that the first resource template generated based on the first prompt information is more accurate and has higher quality.

[0091] Example process

[0092] Figure 5 The flowchart of an example process 500 for generating media resources according to some embodiments of the present disclosure is shown. The process 500 can be implemented at the electronic device 110. Refer to the following Figure 1 to describe the process 500.

[0093] As Figure 5 shown, at block 510, the electronic device 110 presents a set of resource templates in the interaction interface with the virtual object.

[0094] At block 520, the electronic device 110 sends target prompt information to the virtual object based on the selection of the first resource template from a set of resource templates. The target prompt information is determined based on the first prompt information corresponding to the first resource template, and the first prompt information is generated based on the first interaction topic associated with the preset time period.

[0095] At block 530, the electronic device 110 provides media resources generated based on the target prompt information.

[0096] In some embodiments, the historical interaction information corresponding to the first interaction topic meets the preset conditions.

[0097] In this way, the embodiments of the present disclosure can provide a higher-quality first interaction topic, thereby improving the quality of the first prompt information.

[0098] In some embodiments, sending target prompt information to the virtual object based on the selection of the first resource template from a set of resource templates includes: presenting the first prompt information corresponding to the first resource template in the input component of the interaction interface based on the selection of the first resource template from a set of resource templates; and in response to receiving a send operation associated with the input component, sending the target prompt information to the virtual object, where the target prompt information is the first prompt information or the second prompt information determined by editing the first prompt information.

[0099] In this way, the embodiments of the present disclosure support users to preview and / or edit such first prompt information, thereby further improving the quality of such first prompt information.

[0100] In some embodiments, presenting a set of resource templates in the interaction interface with the virtual object includes: presenting a set of candidate interaction topics in the interaction interface with the virtual object; and in response to the selection of the first interaction topic from the set of candidate interaction topics, presenting a set of resource templates corresponding to the first interaction topic.

[0101] In this way, the embodiments of the present disclosure can support the generation of media resources under multiple candidate interaction topics, thereby improving the diversity of the generated media resources, and by supporting users to select the first interaction topic, the resource templates can be filtered, thereby improving the efficiency of users to select resource templates.

[0102] In some embodiments, providing media resources generated based on the target prompt information includes: presenting a session window with the virtual object; and in the session window, presenting a response message generated by the virtual object based on the target prompt information, where the response message includes the generated media resources and the description information of the media resources.

[0103] In this way, embodiments of the present disclosure can provide description information of such media resources in the conversation window, enabling users to more conveniently understand the generated media resources.

[0104] In some embodiments, process 500 further includes: presenting preview content of the media resource in the conversation window.

[0105] In this way, embodiments of the present disclosure can improve the preview efficiency of users for media resources.

[0106] In some embodiments, process 500 further includes: in response to a switching entry in the conversation window being triggered, presenting at least one candidate resource template; and in response to a second resource template in the at least one candidate resource template being selected, providing third prompt information corresponding to the second resource template to the virtual object.

[0107] In this way, embodiments of the present disclosure can support quick switching of resource templates in the conversation window to quickly generate new media resources, thereby further improving the efficiency of generating media resources.

[0108] In some embodiments, process 500 further includes: presenting reference media content corresponding to the first resource template in the interaction interface with the virtual object, where the reference media content is generated based on the following process: generating a reference media resource based on the first resource template; and using the reference media resource to generate the reference media content.

[0109] In this way, embodiments of the present disclosure can support users in previewing such reference media content, enabling users to more conveniently understand the media resources that can be generated by the resource template, and can improve the efficiency of users obtaining information from the interaction interface.

[0110] In some embodiments, the first prompt information includes visual description information of at least one object associated with the first interaction topic, such that the media resource generated based on the first prompt information presents visual elements corresponding to the at least one object.

[0111] In this way, embodiments of the present disclosure can make the generated media resources richer by increasing the diversity of the first prompt information, thereby improving the quality of the generated media resources. Moreover, embodiments of the present disclosure can further improve the relevance of the media resources to such a first interaction topic by including visual description information of at least one object associated with the first interaction topic in the first prompt information, thereby further improving the quality of the generated media resources.

[0112] In some embodiments, the first resource template is generated based on the following process: determining a first interaction topic from a set of interaction topics, where the set of interaction topics is determined based on historical interaction information within a preset time period; providing the first interaction topic to a topic description unit to generate context information for the first interaction topic; and generating first prompt information corresponding to the first resource template based on the context information.

[0113] In this way, embodiments of the present disclosure can more accurately describe such a first interaction topic, thereby improving the quality of the generated first prompt information.

[0114] In some embodiments, the context information is at least generated based on a set of search results associated with the first interaction topic.

[0115] In this way, embodiments of the present disclosure can improve the accuracy of the description of such a first interaction topic.

[0116] In some embodiments, generating first prompt information corresponding to the first resource template based on the context information includes: obtaining a set of candidate resource generation tools; providing the first interaction topic, the context information, and first description information of the set of candidate resource generation tools to a tool matching unit to determine a target resource generation tool that matches the first interaction topic from the set of candidate resource generation tools; and generating first prompt information corresponding to the target resource generation tool.

[0117] In this way, embodiments of the present disclosure can match a target resource generation tool that matches the first interaction topic from such a set of candidate resource generation tools, and use such a target resource generation tool to improve the accuracy of the first prompt information, so that such first prompt information can be used to generate a more accurate and higher-quality resource template.

[0118] In some embodiments, the tool matching unit is configured to provide: the degree of matching between the first interaction topic and the candidate resource generation tools; and explanatory text regarding the degree of matching.

[0119] In this way, embodiments of the present disclosure can further enrich the information referred to in generating the first prompt information, thereby further improving the quality of the subsequently generated first prompt information.

[0120] In some embodiments, generating first prompt information corresponding to the target resource generation tool includes: providing second description information of the target resource generation tool, the first interaction topic, and the context information to a template generation unit to generate the first prompt information, where the second description information at least indicates the usage mode of at least one resource generation tool, and the first prompt information is configured to call the target resource generation tool to generate media resources.

[0121] In this way, embodiments of the present disclosure can generate more accurate first prompt information, so that the subsequent media resources generated based on the first prompt information are more accurate.

[0122] In some embodiments, the media resource includes a special effect resource, and the method further includes: using the special effect resource to generate media content, and a viewing interface of the media content presenting a label associated with the first interaction topic.

[0123] In this way, embodiments of the present disclosure can enable users to more conveniently understand the interaction topics associated with the media content during the process of viewing the media content. Moreover, based on such a label, users can also more conveniently browse other media content associated with the interaction topic, thereby further improving the interaction efficiency between the user and the interface.

[0124] Example devices and equipment

[0125] Embodiments of the present disclosure also provide corresponding devices for implementing the above method or process. Figure 6 FIG. shows a schematic structural block diagram of an example device 600 for generating media resources according to certain embodiments of the present disclosure. The device 600 can be implemented as or included in the electronic device 110 and / or the server 130. Each module / component in the device 600 can be implemented by hardware, software, firmware, or any combination thereof.

[0126] As Figure 6 shown, the device 600 includes a first presentation module 610 configured to present a set of resource templates in an interaction interface with a virtual object; a sending module 620 configured to send target prompt information to the virtual object based on the selection of a first resource template from the set of resource templates, the target prompt information being determined based on a first prompt information corresponding to the first resource template, and the first prompt information being generated based on a first interaction topic associated with a preset time period; and a first providing module 630 configured to provide media resources generated based on the target prompt information.

[0127] In some embodiments, the historical interaction information corresponding to the first interaction topic satisfies a preset condition.

[0128] In some embodiments, the sending module 620 is further configured to: present the first prompt information corresponding to the first resource template in an input component of the interaction interface based on the selection of the first resource template from the set of resource templates; and send the target prompt information to the virtual object in response to receiving a sending operation associated with the input component, the target prompt information being the first prompt information or a second prompt information determined by editing the first prompt information.

[0129] In some embodiments, the first presentation module 610 is further configured to: present a set of candidate interaction topics in an interaction interface with a virtual object; and in response to selection of a first interaction topic from the set of candidate interaction topics, present a set of resource templates corresponding to the first interaction topic.

[0130] In some embodiments, the first provision module 630 is further configured to: present a session window with the virtual object; and in the session window, present a response message generated by the virtual object based on target prompt information, the response message including the generated media resource and description information of the media resource.

[0131] In some embodiments, the apparatus 600 further includes a second presentation module configured to: present preview content of the media resource in the session window.

[0132] In some embodiments, the apparatus 600 further includes a second provision module configured to: in response to triggering of a switching entry in the session window, present at least one candidate resource template; and in response to selection of a second resource template from the at least one candidate resource template, provide third prompt information corresponding to the second resource template to the virtual object.

[0133] In some embodiments, the apparatus 600 further includes a third presentation module configured to: present reference media content corresponding to the first resource template in an interaction interface with the virtual object, and the apparatus 600 further includes a first generation module configured to: generate a reference media resource based on the first resource template; and generate reference media content using the reference media resource.

[0134] In some embodiments, the first prompt information includes visual description information of at least one object associated with the first interaction topic, such that the media resource generated based on the first prompt information presents visual elements corresponding to the at least one object.

[0135] In some embodiments, the apparatus 600 further includes a second generation module configured to: determine the first interaction topic from an interaction topic set determined based on historical interaction information within a preset period; provide the first interaction topic to a topic description unit to generate context information of the first interaction topic; and generate first prompt information corresponding to the first resource template based on the context information.

[0136] In some embodiments, the context information is generated based at least on a set of search results associated with the first interaction topic.

[0137] In some embodiments, the second generation module is further configured to: obtain a set of candidate resource generation tools; provide the first interaction topic, context information, and first description information of the set of candidate resource generation tools to the tool matching unit to determine a target resource generation tool that matches the first interaction topic from the set of candidate resource generation tools; and generate first prompt information corresponding to the target resource generation tool.

[0138] In some embodiments, the tool matching unit is configured to provide: the matching degree between the first interaction topic and the candidate resource generation tools; and explanatory text regarding the matching degree.

[0139] In some embodiments, the second generation module is further configured to: provide second description information of the target resource generation tool, the first interaction topic, and context information to the template generation unit to generate first prompt information, where the second description information at least indicates the usage mode of at least one resource generation tool, and the first prompt information is configured to invoke the target resource generation tool to generate media resources.

[0140] In some embodiments, the media resources include special effect resources, and the apparatus 600 further includes a fourth presentation module, which is configured to: utilize the special effect resources to generate media content, and the viewing interface of the media content presents labels associated with the first interaction topic.

[0141] The modules included in the apparatus 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to the machine-executable instructions, some or all of the modules in the apparatus 600 can be at least partially implemented by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), and so on.

[0142] Figure 7 The block diagram of an electronic device 700 in which one or more embodiments of the present disclosure can be implemented is shown. It should be understood that Figure 7 The electronic device 700 shown is merely exemplary and should not constitute any limitation to the functions and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to implement Figure 1 the electronic device 110 or Figure 6 the apparatus 600.

[0143] As Figure 7As shown, the electronic device 700 is in the form of a general-purpose electronic device. The components of the electronic device 700 may include, but are not limited to, one or more processors or processing units 710, a memory 720, a storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 may be an actual or virtual processor and be capable of performing various processes according to programs stored in the memory 720. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing ability of the electronic device 700.

[0144] The electronic device 700 generally includes multiple computer storage media. Such media may be any available media accessible to the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 may be a volatile memory (such as registers, caches, random access memory (RAM)), a non-volatile memory (such as read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 may be a removable or non-removable medium and may include a machine-readable medium, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 700.

[0145] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Figure 7 a disk drive for reading from or writing to a removable, non-volatile magnetic disk (such as a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0146] The communication unit 740 enables communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 700 may be implemented by a single computing cluster or multiple computer machines that are capable of communicating through a communication connection. Thus, the electronic device 700 may operate in a networked environment using a logical connection with one or more other servers, network personal computers (PCs), or another network node.

[0147] The input device 750 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 760 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 700 can also communicate with one or more external devices (not shown) as needed through the communication unit 740. The external devices such as a storage device, a display device, etc., communicate with one or more devices that enable a user to interact with the electronic device 700, or communicate with any device that enables the electronic device 700 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).

[0148] According to an exemplary implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, there is also provided a computer program product, the computer program product being tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, and the computer-executable instructions being executed by a processor to implement the method described above.

[0149] Aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0150] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is produced that implements the functions / acts specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause a computer, a programmable data processing device, and / or other devices to work in a specific manner. Thus, the computer-readable medium storing the instructions includes a manufactured article that includes instructions for implementing various aspects of the functions / acts specified in one or more blocks of the flowchart and / or block diagram.

[0151] The computer-readable program instructions can be loaded onto a computer, other programmable data processing device, or other device, such that a series of operation steps are performed on the computer, other programmable data processing device, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing device, or other device to implement the functions / acts specified in one or more blocks of the flowchart and / or block diagram.

[0152] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur in an order different from that noted in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or by a combination of dedicated hardware and computer instructions.

[0153] The various implementations of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art in the field of this technology without departing from the scope and spirit of the described implementations. The choice of terms used herein is intended to best explain the principles of the implementations, the practical application, or the improvement of the technology in the market, or to enable other ordinary skill in the art in the field of this technology to understand the various implementation manners disclosed herein.

Claims

1. A method for generating media resources, comprising: Presenting a set of resource templates in an interaction interface with a virtual object; Based on the selection of a first resource template from the set of resource templates, sending target prompt information to the virtual object, the target prompt information being determined based on first prompt information corresponding to the first resource template, and the first prompt information being generated based on a first interaction topic associated with a preset time period; And Providing media resources generated based on the target prompt information.

2. The method according to claim 1, wherein the historical interaction information corresponding to the first interaction topic satisfies a preset condition.

3. The method according to claim 1, wherein based on the selection of the first resource template from the set of resource templates, sending the target prompt information to the virtual object includes: Based on the selection of the first resource template from the set of resource templates, presenting the first prompt information corresponding to the first resource template in an input component of the interaction interface; And In response to receiving a sending operation associated with the input component, sending the target prompt information to the virtual object, the target prompt information being the first prompt information or second prompt information determined by editing the first prompt information.

4. The method according to claim 1, wherein presenting the set of resource templates in the interaction interface with the virtual object includes: Presenting a set of candidate interaction topics in the interaction interface with the virtual object; And In response to the selection of the first interaction topic from the set of candidate interaction topics, presenting the set of resource templates corresponding to the first interaction topic.

5. The method according to claim 1, wherein providing the media resources generated based on the target prompt information includes: Presenting a conversation window with the virtual object; And In the conversation window, presenting a response message generated by the virtual object based on the target prompt information, the response message including the generated media resources and description information of the media resources.

6. The method according to claim 5, further comprising: Presenting preview content of the media resources in the conversation window.

7. The method according to claim 5, further comprising: In response to a switching entry in the conversation window being triggered, presenting at least one candidate resource template; And In response to the selection of a second resource template from the at least one candidate resource template, providing third prompt information corresponding to the second resource template to the virtual object.

8. The method according to claim 1, further comprising: Presenting reference media content corresponding to the first resource template in the interaction interface with the virtual object, the reference media content being generated based on the following process: Generating reference media resources based on the first resource template; And Using the reference media resources to generate the reference media content.

9. The method according to claim 1, wherein the first prompt information includes visual description information of at least one object associated with the first interaction topic, such that the media resource generated based on the first prompt information presents visual elements corresponding to the at least one object.

10. The method according to claim 1, wherein the first resource template is generated based on the following process: Determine the first interaction topic from a set of interaction topics, the set of interaction topics being determined based on historical interaction information within a preset time period; Provide the first interaction topic to a topic description unit to generate context information of the first interaction topic; Generate the first prompt information corresponding to the first resource template based on the context information.

11. The method according to claim 10, wherein the context information is at least generated based on a set of search results associated with the first interaction topic.

12. The method according to claim 11, wherein generating the first prompt information corresponding to the first resource template based on the context information includes: Obtain a set of candidate resource generation tools; Provide the first interaction topic, the context information, and first description information of the set of candidate resource generation tools to a tool matching unit to determine a target resource generation tool that matches the first interaction topic from the set of candidate resource generation tools; and Generate the first prompt information corresponding to the target resource generation tool.

13. The method according to claim 12, wherein the tool matching unit is configured to provide: The matching degree between the first interaction topic and the candidate resource generation tools; and Explanation text regarding the matching degree.

14. The method according to claim 12, wherein generating the first prompt information corresponding to the target resource generation tool includes: Provide second description information of the target resource generation tool, the first interaction topic, and the context information to a template generation unit to generate the first prompt information, the second description information at least indicating the usage mode of the at least one resource generation tool, and the first prompt information being configured to call the target resource generation tool to generate the media resource.

15. The method according to claim 1, wherein the media resource includes special effect resources, and the method further includes: Generate media content by using the special effect resources, wherein a viewing interface of the media content presents labels associated with the first interaction topic.

16. A device for generating a media resource, comprising: A first presentation module, configured to present a set of resource templates in an interaction interface with a virtual object; A sending module, configured to send target prompt information to the virtual object based on a selection of a first resource template from the set of resource templates, the target prompt information being determined based on first prompt information corresponding to the first resource template, the first prompt information being generated based on a first interaction topic associated with a preset time period; and A first providing module, configured to provide a media resource generated based on the target prompt information.

17. An electronic device, comprising: At least one processing unit; And At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 15.

18. A computer-readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 15.