Content generation method and device, equipment and storage medium
By presenting components with different display styles in the interactive interface, the flexibility issues of mode switching and information acquisition in media content generation applications are solved, generation efficiency and user experience are improved, and asynchronous generation and efficient management of reference media content are supported.
Patent Information
- Application Number
- CN202510729246.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-12
AI Technical Summary
Existing media content generation applications lack flexibility and efficiency in their interactive interfaces, making it difficult for users to easily switch between different content generation modes and obtain information.
By presenting the first component and the second component with different display styles in the interactive interface, responding to browsing state switching, receiving generation information and providing media generation requests, supporting mode switching and information presentation between components, and improving user input and generation efficiency.
It enables flexible switching between different content generation modes, improves the efficiency of media content generation and user experience, and supports asynchronous generation and efficient management of reference media content.
Smart Images

Figure CN120640097A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for content generation. Background Art
[0002] With the advancement of computer technology, more and more content sharing and editing applications have integrated media content generation capabilities, allowing users to create media content. This technology allows users to generate multi-dimensional creative works based on a single image or video source, significantly lowering the barrier to entry for media content creation. Summary of the Invention
[0003] In a first aspect of the present disclosure, a method for content generation is provided. The method comprises: presenting a first component configured to obtain generation information in an interactive interface; in response to a browsing state of the interactive interface satisfying a preset condition, switching the interactive interface to presenting a second component configured to obtain generation information, wherein a first display style of the first component is different from a second display style of the second component; receiving a media generation request via the second component; and providing media content generated based on the media generation request.
[0004] In a second aspect of the present disclosure, a device for content generation is provided. The device includes: a first presentation module configured to present a first component configured to obtain generation information in an interactive interface; a second presentation module configured to switch the interactive interface to presenting a second component configured to obtain generation information in response to a browsing state of the interactive interface satisfying a preset condition, wherein a first display style of the first component is different from a second display style of the second component; a receiving module configured to receive a media generation request via the second component; and a first providing module configured to provide media content generated based on the media generation request.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein computer-executable instructions are stored on the computer-readable storage medium, and the computer-executable instructions 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 summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram illustrating an example environment in which embodiments according to the present disclosure may be implemented;
[0010] Figures 2A to 2L shows an example interface according to some embodiments of the present disclosure;
[0011] Figure 3 A flowchart illustrating an example process for content generation according to some embodiments of the present disclosure;
[0012] Figure 4 A schematic structural block diagram showing an example apparatus for content generation according to some embodiments of the present disclosure; and
[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0014] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0015] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.
[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects shall comply with the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms them. Accordingly, when implementing the various embodiments of the present disclosure, the types, scope of use, and usage scenarios of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method may vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0018] If this specification and the solutions in the examples involve the processing of personal information, such processing will be done only with a legitimate basis (such as with the consent of the subject of personal information or as necessary for the performance of a contract) and only within the prescribed or agreed scope. A user's refusal to process personal information other than that required for basic functions will not affect the user's use of basic functions.
[0019] As mentioned above, with the advancement of computer technology, more and more content sharing and editing applications have integrated media content generation capabilities, allowing users to create media content. This technology allows users to generate multi-dimensional creative works based on a single image or video source, significantly lowering the barrier to entry for media content creation.
[0020] The embodiments of the present disclosure propose a content generation solution. The solution includes: presenting a first component configured to obtain generation information in an interactive interface; in response to a browsing state of the interactive interface satisfying a preset condition, switching the interactive interface to presenting a second component configured to obtain generation information, wherein a first display style of the first component is different from a second display style of the second component; receiving a media generation request via the second component; and providing media content generated based on the media generation request.
[0021] In this manner, embodiments of the present disclosure can obtain generation information through either the first component or the second component, thereby enabling more flexible acquisition of generation information. Furthermore, embodiments of the present disclosure can receive media generation requests through the second component to generate media content, thereby enabling more flexible generation of media content and improving the efficiency of media content generation.
[0022] Various example implementations of this solution are described in detail below with reference to the accompanying drawings.
[0023] Sample Environment
[0024] Figure 1 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0025] In this example environment 100, an electronic device 110 may run an application 120 that supports content generation. Application 120 may be any suitable type of application for content generation, examples of which may include, but are not limited to, media content editing applications, content sharing applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0026] exist Figure 1 In the environment 100 , if the application 120 is active, the electronic device 110 may present an interface 150 for supporting content generation through the application 120 .
[0027] In some embodiments, the electronic device 110 communicates with the server 130 to enable the provision of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device 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 interface for the user (such as a "wearable" circuit, etc.).
[0028] The server 130 may be a standalone physical server, a server cluster or distributed system consisting 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 distribution networks, and big data and artificial intelligence platforms. For example, the server 130 may include a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 may provide background services for the application 120 that supports content generation in the electronic device 110.
[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired or wireless manner. The communication connection may 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 respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.
[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0032] Example Interaction
[0033] Figures 2A to 2L 200A to 200L according to some embodiments of the present disclosure. Figure 1 The electronic device 110 is provided as shown.
[0034] In some embodiments, as Figure 2A As shown, electronic device 110 may present an interactive interface provided by application 120, and present a first tab page in the interactive interface. The interactive interface here may be, for example, interface 200A, and the first tab page may be, for example, page 205. Such a first tab page (e.g., page 205) may be, for example, an application homepage provided by application 120. Application 120 may be, for example, any appropriate application for generating media content, such as a video editing application, a media generation application, etc.
[0035] In some embodiments, the electronic device 110 presents a first component configured to obtain generated information in the interactive interface. Figure 2A As shown, electronic device 110 may present a first component in first tab 205 of an interactive interface (e.g., interface 200A). The first component may be, for example, component 210, which may be an input component for obtaining content input by user 140. Electronic device 110 may receive first generation information via the first component (e.g., component 210). The first generation information may be, for example, content input by user 140, such as text, image, or video. The text may be, for example, a prompt for generating media content, and the image and video may be, for example, reference images and videos for generating media content. The reference images and videos provide corresponding reference dimensions for the generative model, such as subject dimensions and style dimensions. The first generation information may also include, for example, model parameters for generating media content. The model parameters may be determined by the content generation mode corresponding to the first component or the second component. For example, if the first component corresponds to an image generation mode, the model parameters in the first generation information may include image scale, image clarity, and the like.
[0036] In some embodiments, electronic device 110 can adjust the content generation mode of a first component for user 140. Specifically, the first component includes a mode selection area and a first input area. Electronic device 110 can present multiple content generation modes in the mode selection area of the first component. Furthermore, electronic device 110 can adjust the type and / or layout of a set of input controls in the first input area in response to selection of a target content generation mode from the multiple content generation modes.
[0037] As an example, Figure 2A and 2B As shown, the first component (e.g., component 210) includes a mode selection area (e.g., area 211) and a first input area (e.g., area 212). The electronic device 110 can provide multiple tags in the mode selection area (e.g., area 211), where the multiple tags are associated with different content generation modes. For example, tag 213 is associated with the picture generation mode, and tag 214 is associated with the video generation mode. Taking the first component (e.g., component 210) currently corresponding to the picture generation mode as an example, when tag 214 is selected by user 140, the electronic device 110 can adjust the picture generation mode of the first component (e.g., component 210) to the target content generation mode (e.g., video generation mode). Further, when the first component (e.g., component 210) currently corresponds to the video generation mode, the electronic device 110 can adjust a set of controls in the first input area 212 to controls corresponding to the video generation mode. For example, the control for configuring the picture ratio can be switched to a control for adjusting the video generation duration.
[0038] In some scenarios, after the content generation mode of the first component is switched, the electronic device 110 may synchronously switch the content generation mode of the second component to adjust the types and layouts of the multiple input controls in the second component.
[0039] In some embodiments, the electronic device 110 switches the interactive interface to presenting a second component configured to obtain generated information in response to the browsing state of the interactive interface meeting a preset condition. The first display style of the first component is different from the second display style of the second component.
[0040] As an example, Figure 2B As shown, when the browsing state of the interactive interface meets the preset conditions, the electronic device 110 can present the second component in the interactive interface. The preset condition here can be, for example, that the first component is no longer presented in the interactive interface. When the second component (e.g., component 220) is presented in the interactive interface (e.g., interface 200B), the electronic device 110 can obtain generation information via the second component (e.g., component 220). Such generation information can be, for example, the first generation information obtained via the first component. Further, the electronic device 110 can present the first generation information received by the first component in the second component (e.g., component 220). The first component and the second component can be, for example, associated, but different input components. It is also possible that the same input component is presented in interface 200B in different styles.
[0041] In some embodiments, electronic device 110 may provide user 140 with a second component associated with the first component when the first component is not presented. Specifically, electronic device 110 may adjust the content display area of the interactive interface in response to receiving the first sliding operation. Furthermore, electronic device 110 may present the second component in response to the first component being moved outside the adjusted content display area.
[0042] As an example, Figure 2B As shown, the electronic device 110 may receive a first sliding operation from the user 140 via an interactive interface (e.g., interface 200A). The first sliding operation here may be, for example, a vertical sliding operation. After receiving the first sliding operation, the electronic device 110 may adjust the content display area 215 of the interactive interface based on the first direction indicated by the first sliding operation. Further, as Figure 2C As shown, when a first component (eg, component 210) is moved outside the adjusted content display area 215, the electronic device 110 may provide a second component associated with the first component to the user 140 in the interface 200B. The second component may be, for example, component 220.
[0043] In some embodiments, the electronic device 110 can adjust the display style of the second component to enable the user 140 to more conveniently input content through the second component. Specifically, the electronic device 110 can adjust the display style of the second component based on the received second sliding operation. The display position of the second component is independent of the second sliding operation.
[0044] As an example, Figure 2C and 2D As shown, the electronic device 110 can display the second component (e.g., component 220) at a default size. When the electronic device 110 receives a second sliding operation for the second component (e.g., component 220), the size of the second component (e.g., component 220) can be adjusted to expand the second component (e.g., component 220). After the second component (e.g., component 220) is expanded, the electronic device 110 can present corresponding input controls in the second component (e.g., component 220), such as controls for adjusting the size of the generated image. The second sliding operation here can, for example, be sliding an indicator (e.g., a cursor) to the position where the second component (e.g., component 220) is located. In this way, the embodiment of the present disclosure can present the second component in a relatively simple style when the second component is not in focus, which can effectively avoid the impact of the second component on the user's browsing page. When the second component is in focus, the second component can be expanded to enable the user to input content more conveniently through the second component.
[0045] In some embodiments, in order to enable the user 140 to switch the content generation mode more conveniently, the electronic device 110 may provide a switching control in the second component. Specifically, the second component includes a second input area, and the second input area includes a switching control for switching the content generation mode.
[0046] As an example, Figure 2D As shown, electronic device 110 may provide a switch control 226 in a second input area (e.g., area 225) of a second component (e.g., component 220). Switch control 226 is configured to switch the content generation mode of the second component. When switch control 226 is triggered, electronic device 110 may present a mode selection panel in interface 200D. Electronic device 110 may receive a selection operation of a target content mode from user 140 via the mode selection panel to switch the second component to the target content generation mode.
[0047] In some scenarios, when the switch control 226 is triggered, the electronic device 110 can switch the content generation mode of the second component in a preset order. For example, the picture generation mode is the first priority and the video generation mode is the second priority. At this time, the second component corresponds to the picture generation mode. Then when the switch control 226 is triggered, the electronic device 110 can switch the second component from the picture generation mode to the video generation mode. After switching the content generation mode of the second component, the electronic device 110 can make corresponding adjustments to the types and layout styles of multiple input controls in the second component. In other scenarios, when the content generation mode of the second component is switched, the electronic device 110 can adjust the content generation mode of the first component accordingly.
[0048] In some embodiments, the first generated information includes multiple reference media contents. The electronic device 110 can present the first indication information associated with the multiple reference media contents in the first style in the first component or the second component. For example, if the first indication information is presented in the second component, Figure 2D As shown, the electronic device 110 may provide a content upload control 227 in the second component (e.g., component 220). The electronic device 110 may obtain the content uploaded by the user 140 via the content upload control 227 to construct the first generation information based at least on the content uploaded by the user 140. Such content may be, for example, reference media content for generating media content. When the electronic device 110 receives the reference media content uploaded by the user 140, as shown in FIG. Figure 2E As shown, electronic device 110 may present first indication information 228 associated with the reference media content in the area where content upload control 227 is located. First indication information 228 may, for example, be a preview image of any one of the multiple reference media contents. If the reference media content is a reference video, first indication information 228 presented in the area where content upload control 227 is located may be a cover image of the reference video. After first indication information 228 is presented, electronic device 110 may shrink content upload component 227.
[0049] In some scenarios, when the electronic device 110 receives multiple reference media contents via the content upload control 227, the electronic device 110 may present the first indication information 228 in the second component (e.g., component 220) in a first style. The first style here may be, for example, an overlay style or any other appropriate style.
[0050] Furthermore, the electronic device 110 may present second indication information associated with the plurality of reference media contents in a second style in response to a first operation associated with the first indication information. The second style indicates that the plurality of preview images corresponding to the plurality of reference media contents are displayed in a tiled manner. For example, the second indication information is presented in the second component (e.g., component 220). Figure 2E and 2F As shown. When the electronic device 110 receives the first operation associated with the first indication information, the electronic device 110 may present the second indication information 229 in a second style. The second indication information 229 here may, for example, be the same indication information as the first indication information 228, and the second indication information 229 may also be determined after the user 140 edits the first indication information 229. The first operation here may, for example, be an operation in which the user 140 moves an indicator (such as a cursor) to the first indication information. For example, when the user 140 moves the indicator (such as a cursor) to the first indication information 228, the electronic device 110 may display the second indication information 229 in a second style to tile the preview images corresponding to the reference media content in the second indication information 229.
[0051] In some scenarios, when the user 140 moves the cursor to the first indication information 228 , the electronic device 110 may also expand the content upload control 227 .
[0052] In this way, the embodiments of the present disclosure can display the first indication information and the second indication information in different styles, which can make it easier for users to view the preview image corresponding to the reference media content, thereby improving the efficiency of users in viewing the preview image.
[0053] In some embodiments, the electronic device 110 further supports adding generation information used by other users to generate media content to the first component or the second component to improve the efficiency of media content generation. Specifically, the electronic device 110 can present a group of media content in the interactive interface. Furthermore, the electronic device 110 can respond to triggering of target media content in the group of media content and present third generation information associated with the target media content in the first component or the second component.
[0054] As an example, Figure 2GAs shown, electronic device 110 can present a group of media content in the interactive interface. Such a group of media content can be, for example, media content published by user 140 or other users, including picture content, video content or audio content, etc. A group of media content here can be, for example, media content generated by an appropriate generative model based on corresponding generation information. When target media content (for example, media content 230) in a group of media content is triggered, electronic device 110 can present the third generation information associated with the target media content (for example, media content 230) in the first component or the second component. The third generation information here can, for example, include prompt items, reference media content and model parameters for generating the target media content. For example, electronic device 110 can present media content 230 in interface 200G, and media content 230 can, for example, be generated based on the third generation information of other users who are different from user 140. When the control 231 associated with the media content 230 is triggered by the user 140 , the electronic device 110 may fill the third generation information for generating the media content 230 into the first component 210 or the second component 220 to present the third generation information in the first component 210 or the second component 220 .
[0055] In this way, the embodiments of the present disclosure support the function of "making the same style", so that the generation information associated with the media content selected by the user can be filled into the first component 210 or the second component 220, thereby effectively improving the generation efficiency of the media content.
[0056] In some embodiments, the electronic device 110 receives a media generation request via a second component. For example, Figure 2E As shown, the electronic device 110 can receive a media generation request triggered by the user 140 via the second component 220. The media generation request is used to trigger the model to generate media content based on the second generation information. The second generation information here can be, for example, the same generation information as the first generation information, or it can be the generation information determined after the user 140 modifies the first generation information. The model used to generate media content here can be any appropriate generative model. The selection of the specific model type can be determined by those skilled in the art according to their needs, and this disclosure does not limit this.
[0057] In some embodiments, the electronic device 110 may present the first generated information in the second component in response to obtaining the first generated information via the first component. Further, the electronic device 110 may receive a media generation request indicating the second generated information via the second component. The second generated information is determined based on the first generated information.
[0058] As an example, Figure 2A and 2DAs shown, when the electronic device 110 receives the first generation information and the second component (e.g., component 220) is presented, the electronic device 110 can present the first generation information in the second component (e.g., component 220). Further, the electronic device 110 can receive a media generation request indicating the second generation information via the second component (e.g., component 220). Such a media generation request, for example, includes modification information for modifying the first generation information. The electronic device 110 can determine the second generation information based on the modification information on the basis of the first generation information to trigger the generation of media content based on the second generation information. In some scenarios, the media generation request can, for example, be used simply to trigger the model to generate media content. When the media generation request is used simply to trigger the model to generate media content, the first generation information and the second generation information here are the same generation information. For example, after receiving the media generation request, the electronic device 110 can trigger the model to generate media content based on the first generation information.
[0059] In some embodiments, the electronic device 110 supports asynchronous generation of media content. Specifically, in response to receiving a media generation request, the electronic device 110 can present an indicator element associated with the media generation request in an interactive interface without adjusting the content display area of the interactive interface. The indicator element indicates the processing status of the media generation request. The indicator element associated with the media generation request includes: presenting a first indicator element associated with a preset tag in the interactive interface. The preset tag is configured to trigger the display of historical generation information.
[0060] As an example, Figure 2EAs shown, electronic device 110 may present a set of tags associated with a set of tabbed pages in an interactive interface (e.g., interface 200E). Such tags may include, for example, tag 235 and tag 236. Tag 235 may be associated with first tabbed page 205, and tag 236 may be associated with a second page. The second page is configured to display historical generation information. When electronic device 110 receives a media generation request, electronic device 110 may not adjust content display area 215 of the interactive interface and may present an indicator element associated with the media generation request in interface 200E to asynchronously generate media content. Such an indicator element may be, for example, a first indicator element. Such a first indicator element may be, for example, indicator element 237. Indicator element 237 is used to indicate the processing status of the media generation request. Such processing status may indicate, for example, whether the media content has been generated and the amount of media content being generated. For example, when electronic device 110 receives a media generation request, electronic device 110 may maintain the content currently presented in content display area 215 and present indicator element 237 in interface 200E. In other words, the electronic device 110 may not position the content display area 215 at the media content being generated and may present the indication element 237 in the interface 200E.
[0061] In this way, the embodiments of the present disclosure can support asynchronous generation of media content, and during the generation process of the media content, it does not affect the user's browsing of other content, thereby effectively improving the user's browsing experience.
[0062] In some embodiments, the electronic device 110 may update the interactive interface in response to triggering the indication element to present the first content item associated with the media generation request. Figure 2E As shown, when the first indicator element (e.g., indicator element 237) is clicked by user 140, electronic device 110 may switch the tab currently presented on the interactive interface to present the first content item on the interactive interface. For example, electronic device 110 may switch first tab 205 to a second tab to present the first content item associated with the media generation request on the second tab.
[0063] In some embodiments, when the tab is switched, the electronic device 110 may also present a second component. Specifically, the electronic device 110 may switch the interactive interface to present the second tab in response to receiving a switch operation in the interactive interface. Further, the electronic device 110 may present the second component in the second tab.
[0064] As an example, Figure 2E and 2HAs shown, the electronic device 110 can present a set of tags in the interface 200E. The set of tags here can include, for example, a tag 235 and a tag 236. The tag 235 is associated with the first tab page 205, and the tag 236 is associated with the second tab page 240. The second tab page is configured to display historical generation information. When the tag 236 is triggered, the electronic device 110 can switch the first tab page 205 currently displayed on the interactive interface (e.g., interface 200E) to the second tab page 240 to present the second component 220 and the historical generation information in the interactive interface (e.g., interface 200H).
[0065] In some embodiments, electronic device 110 may present a second content item associated with the first historical media generation request in an interactive interface. Multiple reference media content items associated with the historical media generation request may be presented in the second content item. Furthermore, in response to a second operation associated with a first reference media content item among the multiple reference media content items, a group of reference media content items among the multiple reference media content items may be presented in a preset style. The group of reference media content items may include at least the second reference media content item and the second reference media content item associated with the first reference media content item. The group of reference media content items herein corresponds to the same reference dimension.
[0066] As an example, Figure 2H and 2I As shown, electronic device 110 may present a second content item associated with the first historical media generation request in second tab 240. Such a second content item may be, for example, content item 245. The second content item (e.g., content item 245) includes a plurality of reference media contents (e.g., reference media content set 250) associated with the first historical media generation request.
[0067] When the electronic device 110 receives a second operation on the first reference media content (e.g., reference media content 251) in a plurality of reference media contents (e.g., reference media content set 250), a group of reference media contents in the plurality of reference media contents may be presented in a preset style. The second operation here may, for example, be moving the cursor over the first reference media content. The group of reference media contents here may, for example, include one or more reference media contents with the same reference dimension as the first reference media content. The reference dimension here may, for example, be determined by the first historical media generation request, that is, the reference dimension of the first reference media content (e.g., reference media content 251) is set by the user 140. The reference dimension here may, for example, include: picture subject, subject image, picture style, object outline, depth of field, and subject posture. The second reference media content associated with the first reference media content may, for example, be media content with the same reference dimension as the first reference media content.
[0068] For example, Figure 2I As shown, when the reference dimension corresponding to the first reference media content (e.g., reference media content 251) is different from other reference media content in the plurality of reference media content (e.g., reference media content set 250), the electronic device 110 may determine that the set of reference media content only includes the first reference media content (e.g., reference media content 251). The electronic device 110 then displays the first reference media content (e.g., reference media content 251) in a preset style. The preset style may be, for example, an eye-catching style, which may include, for example, an enlarged style, a bold edge style, etc.
[0069] For example, Figure 2J As shown, when reference media content set 250 includes a second reference media content (e.g., reference media content 252) having the same reference dimension (e.g., main frame dimension) as reference media content 251, electronic device 110 may determine that a set of reference media content includes reference media content 251 and reference media content 252, which both correspond to the main frame dimension. Electronic device 110 may then display the set of reference media content in a preset style, i.e., display reference media content 251 and reference media content 252 in a prominent style.
[0070] In some embodiments, the electronic device 110 may present a reference dimension corresponding to a set of reference media content in the second content item in response to the second operation. Figure 2J As shown, when the electronic device 110 receives the second operation, the electronic device 110 may present an interface element 255 in the second content item (eg, content item 245). The interface element 255 is used to display a reference dimension corresponding to a set of reference media content.
[0071] In some embodiments, to enable user 140 to add reference media content more conveniently, electronic device 110 may update the first component or the second component in response to a third operation associated with a group of reference media content to condition a group of reference media content.
[0072] For example, a group of reference media content includes only the first reference media content (eg, reference media content 251). Figure 2IAs shown, the first reference media content (e.g., reference media content 251) corresponds to the main dimension of the screen. The electronic device 110 can receive a click operation on the first reference media content (e.g., reference media content 251) by the user 140. Furthermore, the electronic device 110 can add the reference media content corresponding to the main dimension of the screen in the reference media content set 250 to the first component 210 or the second component 220. Since the reference media content corresponding to the unread main dimension of the screen only includes the first reference media content (e.g., reference media content 251), the electronic device 110 will only add the first reference media content (e.g., reference media content 251) to the first component 210 or the second component 220.
[0073] For example, a group of reference media content includes a first reference media content (eg, reference media content 251) and a second reference media content (eg, reference media content 252). Figure 2J As shown, the first reference media content (e.g., reference media content 251) and the second reference media content (e.g., reference media content 252) both correspond to the main dimension of the screen. The electronic device 110 can receive a click operation from the user 140 on the first reference media content (e.g., reference media content 251). Furthermore, the electronic device 110 can add the reference media content corresponding to the main dimension of the screen in the reference media content set 250 to the first component 210 or the second component 220. That is, the electronic device 110 can add both the first reference media content (e.g., reference media content 251) and the second reference media content (e.g., reference media content 252) to the first component 210 or the second component 220.
[0074] In this way, the embodiments of the present disclosure can add reference media content with the same reference dimension to the first component or the second component at one time, thereby improving the efficiency of adding reference media content.
[0075] In some embodiments, the electronic device 110 provides media content generated based on the media generation request. Figure 2K As shown, the electronic device 110 may present the first content item 260 in the second tab 240 of the interface 200K. Furthermore, the electronic device 110 may present the media content generated based on the media generation request in the first content item 260.
[0076] In some embodiments, the electronic device 110 may present an indicator element associated with the media generation request in the interactive interface, where the indicator element may include, for example, a second indicator element associated with the second component. In response to triggering the indicator element, the electronic device 110 may update the interactive interface to present the first content item associated with the media generation request.
[0077] As an example, Figure 2J and 2K As shown, electronic device 110 may present a second indicator element (e.g., indicator element 265) in interface 200J. The second indicator element (e.g., indicator element 265) is used to indicate the generation status of the media content. When the second indicator element (e.g., indicator element 265) is triggered, electronic device 110 may position second tab 240 at the location of first content item 260 to present first content item 260 in interface 200K.
[0078] In this way, embodiments of the present disclosure can quickly locate the first content item 260 , thereby improving the efficiency of the user 140 in browsing content.
[0079] In some embodiments, electronic device 110 may present a third content item associated with the second historical media generation request in the interactive interface. Electronic device 110 may present a creation portal associated with the third content item. Furthermore, electronic device 110 may present a dialogue panel associated with the agent in the interactive interface in response to triggering the creation portal. Finally, electronic device 110 may provide reference generation information generated based on the second historical media generation request in the dialogue panel.
[0080] As an example, Figure 2L As shown, the electronic device 110 can present a third content item associated with the second historical media generation request in the interface 200L. The third content item can be, for example, content item 270. Content item 270 is associated with an authoring portal 275. When the authoring portal 275 is triggered by the user 140 (for example, clicked or double-clicked, etc.), the electronic device 110 can present a dialogue panel 280 associated with the agent in the interface 200L. The dialogue panel 280 includes a set of reference generation information associated with a set of historical media generation requests. The electronic device 110 can provide reference generation information 281 corresponding to the second historical media generation request in the dialogue panel 280. The reference generation information 281 here can, for example, include reference media content, prompt items, model parameters, etc. associated with the second historical media generation request. The agent here can be provided by a generative model deployed locally on the electronic device 110 or in the cloud.
[0081] In some scenarios, such as Figure 2K and 2L As shown, the third content item here is associated with the most recently generated media content. When the media content associated with the first content item (e.g., content item 260) is being generated, the third content item here can be content item 270. When the media content associated with the first content item (e.g., content item 260) is generated, the third content item here can be content item 260.
[0082] In this way, the embodiments of the present disclosure can provide users with reference generation information generated based on the second historical media generation request, thereby allowing users to view the reference generation information more conveniently, thereby effectively improving the efficiency of users in obtaining the reference generation information.
[0083] In some embodiments, the electronic device 110 may provide a generation entry associated with the reference generation information in the dialog panel. Further, the electronic device 110 may initiate a second media generation request associated with the reference generation information in response to triggering the generation entry.
[0084] As an example, Figure 2L As shown, electronic device 110 may present input component 282 in dialogue panel 280. Electronic device 110 may receive a prompt item input by user 140 via input component 282. When generation entry 283 in input component 282 is triggered by user 140 (e.g., clicked or double-clicked), electronic device 110 may initiate a second media generation request based on the prompt item obtained via input component 282, with reference to generation information 281. After the second media generation request is initiated, electronic device 110 may trigger the model to generate additional media content associated with the second media generation request.
[0085] In some scenarios, the generation entry provided by the electronic device 110 in the dialogue panel 280 may also be entry 285. When entry 285 is triggered, the electronic device 110 can obtain reference generation information and initiate a second media generation request based on the reference generation information. When the second media generation request is initiated, the electronic device 110 can regenerate the media content associated with the second historical media generation request. In this way, the embodiments of the present disclosure support the user 140 to further modify and generate media content in a dialogue manner, thereby providing the user 140 with higher quality media content.
[0086] In this manner, embodiments of the present disclosure can obtain generation information through either the first component or the second component, thereby enabling more flexible acquisition of generation information. Furthermore, embodiments of the present disclosure can receive media generation requests through the second component to generate media content, thereby enabling more flexible generation of media content and improving the efficiency of media content generation.
[0087] Example Process
[0088] Figure 3 FIG. 3 is a flow chart illustrating an example process 300 for content generation according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 300 is described below.
[0089] like Figure 3 As shown, in box 310, the electronic device 110 presents a first component configured to obtain generated information in the interactive interface.
[0090] In box 320, in response to the browsing state of the interactive interface meeting the preset condition, the electronic device 110 switches the interactive interface to presenting a second component configured to obtain generated information, wherein the first display style of the first component is different from the second display style of the second component.
[0091] In block 330 , the electronic device 110 receives a media generation request via the second component.
[0092] In block 340 , the electronic device 110 provides the media content generated based on the media generation request.
[0093] In some embodiments, in response to the browsing state of the interactive interface satisfying a preset condition, switching the interactive interface to present a second component configured to obtain generated information includes: in response to receiving a first sliding operation, adjusting the content display area of the interactive interface; and in response to the first component being moved outside the adjusted content display area, presenting the second component.
[0094] In this way, the embodiment of the present disclosure can provide the user with a second component when the first component is not presented, so that the user can input content through the second component, thereby more efficiently obtaining the content input by the user.
[0095] In some embodiments, after presenting the second component, process 300 further includes: adjusting a display style of the second component based on the received second sliding operation, wherein a display position of the second component is independent of the second sliding operation.
[0096] In this way, the embodiments of the present disclosure can present the second component in a relatively simplified style when the second component is not in focus, which can effectively avoid the second component from affecting the user's browsing of the page. When the second component is in focus, the second component can be expanded to enable the user to input content more conveniently through the second component.
[0097] In some embodiments, the first component is presented in a first tab page of the interactive interface, and in response to the browsing state of the interactive interface satisfying a preset condition, the interactive interface is switched to presenting a second component configured to obtain generated information, including: in response to receiving a switching operation in the interactive interface, the interactive interface is switched to present a second tab page; and in the second tab page, presenting the second component.
[0098] In this way, the embodiment of the present disclosure can present the second component in different tab pages, thereby improving the display efficiency of the second component.
[0099] In some embodiments, the first component includes a mode selection area and a first input area, and process 300 also includes: presenting multiple content generation modes in the mode selection area of the first component; and adjusting the type and / or layout of a set of input controls in the first input area in response to selection of a target content generation mode among the multiple content generation modes.
[0100] In this way, the embodiments of the present disclosure can flexibly switch the content generation mode of the first component, thereby improving the switching efficiency of the content generation mode.
[0101] In some embodiments, the second component includes a second input area, and the second input area includes a switch control for switching the content generation mode.
[0102] In this way, the embodiments of the present disclosure can flexibly switch the content generation mode of the second component, thereby improving the switching efficiency of the content generation mode.
[0103] In some embodiments, receiving a media generation request via a second component includes: presenting the first generation information in the second component in response to obtaining the first generation information via the first component; and receiving a media generation request indicating second generation information via the second component, wherein the second generation information is determined based on the first generation information.
[0104] In this way, the embodiments of the present disclosure can improve the efficiency of receiving media generation requests, thereby improving the efficiency of generating media content.
[0105] In some embodiments, process 300 further includes: presenting a group of media content in the interactive interface; and in response to triggering target media content in the group of media content, presenting third generated information associated with the target media content in the first component or the second component.
[0106] In this way, the embodiments of the present disclosure can improve the efficiency of adding generated information.
[0107] In some embodiments, the first generated information includes multiple reference media contents, and process 300 further includes: presenting first indication information associated with the multiple reference media contents in a first style in the first component or the second component; and presenting second indication information associated with the multiple reference media contents in a second style in response to a first operation associated with the first indication information.
[0108] In this way, the embodiments of the present disclosure can provide users with different indication information of different styles, so that users can view corresponding reference media content through the indication information, thereby effectively improving the efficiency of users in obtaining reference media content.
[0109] In some embodiments, the second style indicates that multiple preview images corresponding to the multiple reference media contents are displayed in a tiled manner.
[0110] In this way, the embodiments of the present disclosure can effectively improve the efficiency of users in obtaining reference media content.
[0111] In some embodiments, process 300 further includes: in response to receiving the media generation request, presenting an indication element associated with the media generation request in the interactive interface without adjusting a content display area of the interactive interface.
[0112] In this way, the embodiments of the present disclosure can support asynchronous generation of media content, thereby improving the efficiency of generating media content without affecting the user's browsing interface content.
[0113] In some embodiments, presenting an indicator element associated with a media generation request in an interactive interface includes: presenting a first indicator element associated with a preset tag in the interactive interface, the preset tag being configured to trigger the display of historical generation information; or presenting a second indicator element associated with a second component in the interactive interface.
[0114] In this way, the embodiments of the present disclosure can support asynchronous generation of media content, thereby improving the efficiency of generating media content without affecting the user's browsing interface content.
[0115] In some embodiments, process 300 further includes: in response to triggering the indication element, updating the interactive interface to present the first content item associated with the media generation request.
[0116] In this way, the embodiments of the present disclosure can quickly locate the first content item, thereby improving the efficiency of information acquisition.
[0117] In some embodiments, the indication element indicates the processing status of the media generation request.
[0118] In this way, the embodiments of the present disclosure can always present the processing status of the generated request to the user, thereby improving the efficiency of obtaining information.
[0119] In some embodiments, process 300 also includes: presenting a second content item associated with the first historical media generation request in an interactive interface; presenting multiple reference media content associated with the first historical media generation request in the second content item; and presenting a group of reference media content among the multiple reference media content in a preset style in response to a second operation associated with the first reference media content among the multiple reference media content, the group of reference media content including at least the first reference media content and the second reference media content associated with the first reference media content.
[0120] In this way, embodiments of the present disclosure can improve the viewing efficiency of reference media content.
[0121] In some embodiments, process 300 further includes updating the first component or the second component to add the set of reference media content in response to a third operation associated with the set of reference media content.
[0122] In this way, embodiments of the present disclosure can more efficiently add a set of reference media content.
[0123] In some embodiments, a set of reference media content corresponds to the same reference dimension.
[0124] In this way, the embodiments of the present disclosure can more efficiently fill in reference media content of the same reference dimension for the user, and can improve the efficiency of adding reference media content while ensuring the quality of adding the reference media content.
[0125] In some embodiments, process 300 further includes, in response to the second operation, presenting, in the second content item, a reference dimension corresponding to a set of reference media content.
[0126] In this way, the embodiments of the present disclosure can present reference dimensions corresponding to a set of reference media content to the user, thereby effectively improving the presentation efficiency of the reference dimensions.
[0127] In some embodiments, process 300 also includes: presenting a third content item associated with the second historical media generation request in the interactive interface; presenting a creation entry associated with the third content item; presenting a dialogue panel associated with the intelligent agent in the interactive interface in response to triggering the creation entry; and providing reference generation information generated based on the second historical media generation request in the dialogue panel.
[0128] In this way, the embodiments of the present disclosure can provide users with reference generation information generated based on the second historical media generation request, thereby allowing users to view the reference generation information more conveniently, thereby effectively improving the efficiency of users in obtaining the reference generation information.
[0129] In some embodiments, the media generation request is a first media generation request, and process 300 further includes: providing a generation entry associated with the reference generation information in the dialog panel; and initiating a second media generation request associated with the reference generation information in response to triggering the generation entry.
[0130] In this way, the embodiments of the present disclosure support the user 140 to further modify and generate media content in a dialog manner, thereby providing the user 140 with higher quality media content.
[0131] Example devices and equipment
[0132] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 : A schematic structural block diagram of an example apparatus 400 for content generation according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0133] like Figure 4 As shown, the device 400 includes: a first presentation module 410, configured to present a first component configured to obtain generation information in an interactive interface; a second presentation module 420, configured to switch the interactive interface to presenting a second component configured to obtain generation information in response to the browsing state of the interactive interface satisfying a preset condition, wherein the first display style of the first component is different from the second display style of the second component; a receiving module 430, configured to receive a media generation request via the second component; and a first providing module 440, configured to provide media content generated based on the media generation request.
[0134] In some embodiments, the second presentation module 420 is further configured to: adjust the content display area of the interactive interface in response to receiving the first sliding operation; and present the second component in response to the first component being moved outside the adjusted content display area.
[0135] In some embodiments, the device 400 further includes a first adjustment module configured to adjust the display style of the second component based on the received second sliding operation after presenting the second component, wherein the display position of the second component is independent of the second sliding operation.
[0136] In some embodiments, the first component is presented in a first tab page of the interactive interface, and the second presentation module 420 is further configured to: in response to receiving a switching operation in the interactive interface, switch the interactive interface to present a second tab page; and present the second component in the second tab page.
[0137] In some embodiments, the first component includes a mode selection area and a first input area, and the device 400 also includes a second adjustment module, which is configured to present multiple content generation modes in the mode selection area of the first component; and adjust the type and / or layout of a set of input controls in the first input area in response to selection of a target content generation mode among the multiple content generation modes.
[0138] In some embodiments, the second component includes a second input area, and the second input area includes a switch control for switching the content generation mode.
[0139] In some embodiments, the receiving module 430 is further configured to: present the first generation information in the second component in response to obtaining the first generation information via the first component; and receive a media generation request indicating the second generation information via the second component, where the second generation information is determined based on the first generation information.
[0140] In some embodiments, the device 400 also includes a third presentation module configured to present a group of media content in an interactive interface; and in response to triggering target media content in a group of media content, present third generated information associated with the target media content in the first component or the second component.
[0141] In some embodiments, the first generated information includes multiple reference media contents, and the device 400 also includes a fourth presentation module, which is configured to present first indication information associated with the multiple reference media contents in a first style in the first component or the second component; and present second indication information associated with the multiple reference media contents in a second style in response to a first operation associated with the first indication information.
[0142] In some embodiments, the second style indicates that multiple preview images corresponding to the multiple reference media contents are displayed in a tiled manner.
[0143] In some embodiments, the apparatus 400 further includes an asynchronous generation and presentation module configured to present an indication element associated with the media generation request in the interactive interface in response to receiving the media generation request without adjusting the content display area of the interactive interface.
[0144] In some embodiments, the asynchronous generation presentation module is further configured to: present a first indication element associated with a preset tag in the interactive interface, and the preset tag is configured to trigger the display of historical generation information; or present a second indication element associated with a second component in the interactive interface.
[0145] In some embodiments, the apparatus 400 further includes an updating module configured to update the interactive interface in response to triggering the indication element, so as to present the first content item associated with the media generation request.
[0146] In some embodiments, the indication element indicates the processing status of the media generation request.
[0147] In some embodiments, the device 400 also includes a history presentation module, which is configured to present a second content item associated with the first historical media generation request in an interactive interface; present multiple reference media content associated with the first historical media generation request in the second content item; and present a group of reference media content among the multiple reference media content in a preset style in response to a second operation associated with the first reference media content among the multiple reference media content, the group of reference media content including at least the first reference media content and the second reference media content associated with the first reference media content.
[0148] In some embodiments, the apparatus 400 further includes an adding module configured to update the first component or the second component to add a set of reference media content in response to a third operation associated with the set of reference media content.
[0149] In some embodiments, a set of reference media content corresponds to the same reference dimension.
[0150] In some embodiments, the apparatus 400 further includes a dimension presentation module configured to present, in response to the second operation, reference dimensions corresponding to a set of reference media content in the second content item.
[0151] In some embodiments, the device 400 also includes a second providing module, which is configured to present a third content item associated with the second historical media generation request in the interactive interface; present a creation entry associated with the third content item; present a dialogue panel associated with the intelligent agent in the interactive interface in response to triggering the creation entry; and provide reference generation information generated based on the second historical media generation request in the dialogue panel.
[0152] In some embodiments, the media generation request is a first media generation request, and the device 400 also includes an initiating provision module, which is configured to provide a generation entry associated with the reference generation information in the dialogue panel; and in response to triggering the generation entry, initiate a second media generation request associated with the reference generation information.
[0153] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0154] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The illustrated electronic device 500 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The illustrated electronic device 500 may be used to implement the electronic device 110 as discussed above.
[0155] like Figure 5 As shown, electronic device 500 is in the form of a general electronic device. Components of electronic device 500 may include, but are not limited to, one or more processing units or processors 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processor 510 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multi-processor system, multiple processors execute computer-executable instructions in parallel to increase the parallel processing capabilities of electronic device 500.
[0156] The electronic device 500 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 500.
[0157] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in FIG, a magnetic disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., 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. Memory 520 may include a computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0158] The communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0159] Input device 550 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 560 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 500 may also communicate with one or more external devices (not shown) via communication unit 540 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with electronic device 500, or with any device that allows electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0160] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0161] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0162] These computer-readable program instructions can be provided to a processor 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 processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0163] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0164] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0165] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A content generation method, comprising: Presenting, in an interactive interface, a first component configured to obtain generated information; In response to a browsing state of the interactive interface satisfying a preset condition, switching the interactive interface to present a second component configured to obtain generated information, wherein a first display style of the first component is different from a second display style of the second component; receiving, via the second component, a media generation request; as well as Media content generated based on the media generation request is provided.
2. The method according to claim 1, wherein in response to the browsing state of the interactive interface satisfying a preset condition, switching the interactive interface to presenting the second component configured to obtain the generated information comprises: In response to receiving the first sliding operation, adjusting the content display area of the interactive interface; as well as In response to the first component being moved outside the adjusted content presentation area, the second component is presented.
3. The method according to claim 2, wherein after presenting the second component, the method further comprises: Based on the received second sliding operation, a display style of the second component is adjusted, wherein a display position of the second component is independent of the second sliding operation.
4. The method according to claim 1, wherein the first component is presented in a first tab page of the interactive interface, and in response to a browsing state of the interactive interface satisfying a preset condition, switching the interactive interface to present a second component configured to obtain generation information further comprises: In response to receiving a switching operation in the interactive interface, switching the interactive interface to present a second tab page; as well as In the second tab page, the second component is presented.
5. The method of claim 1 , wherein the first component comprises a mode selection area and a first input area, the method further comprising: In the mode selection area of the first component, a plurality of content generation modes are presented; as well as In response to selection of a target content generation mode from among the plurality of content generation modes, the types and / or layout of a set of input controls in the first input area are adjusted. The method of claim 5 , wherein the second component comprises a second input area comprising a switch control for switching a content generation mode.
7. The method of claim 1 , wherein receiving, via the second component, a media generation request comprises: In response to obtaining first generated information via the first component, presenting the first generated information in the second component; as well as The media generation request indicating second generation information is received via the second component, where the second generation information is determined based on the first generation information.
8. The method according to claim 7, further comprising: Presenting a set of media content in the interactive interface; as well as In response to triggering of target media content in the group of media content, second generated information associated with the target media content is presented in the first component or the second component.
9. The method according to claim 7, wherein the first generation information includes a plurality of reference media contents, the method further comprising: In the first component or the second component, first indication information associated with the plurality of reference media contents is presented in a first style; as well as In response to a first operation associated with the first indication information, second indication information associated with the plurality of reference media contents is presented in a second style. 10 . The method according to claim 9 , wherein the second style indicates that a plurality of preview images corresponding to the plurality of reference media contents are displayed in a tiled manner.
11. The method according to claim 1 , further comprising: In response to receiving the media generation request, an indication element associated with the media generation request is presented in the interactive interface without adjusting a content display area of the interactive interface.
12. The method according to claim 11, wherein presenting an indication element associated with the media generation request in the interactive interface comprises: In the interactive interface, presenting a first indicator element associated with a preset tag, wherein the preset tag is configured to trigger display of historical generation information; or In the interactive interface, a second indicator element associated with the second component is presented.
13. The method according to claim 11, further comprising: In response to triggering the indication element, the interactive interface is updated to present a first content item associated with the media generation request. The method of claim 11 , wherein the indication element indicates a processing status of the media generation request.
15. The method according to claim 1, further comprising: In the interactive interface, presenting a second content item associated with the first historical media generation request; presenting, in the second content item, a plurality of reference media contents associated with the historical media generation request; In response to a second operation associated with second reference media content among the multiple reference media content, a group of reference media content among the multiple reference media content is presented in a preset style, the group of reference media content including at least the second reference media content and third reference media content associated with the second reference media content.
16. The method according to claim 15, further comprising: In response to a fourth operation associated with the set of reference media content, updating the first component or the second component to add the set of reference media content. The method of claim 15 , wherein the set of reference media content corresponds to a same reference dimension.
18. The method according to claim 17, further comprising: In response to the second operation, the reference dimension corresponding to the set of reference media content is presented in the second content item.
19. The method of claim 1, further comprising: In the interactive interface, presenting a third content item associated with the second historical media generation request; presenting an authoring entry associated with the third content item; In response to triggering of the creation portal, presenting a dialogue panel associated with the agent in the interactive interface; as well as In the dialogue panel, reference generation information generated based on the second history media generation request is provided.
20. The method according to claim 19, wherein the media generation request is a first media generation request, the method further comprising: In the dialogue panel, providing a generation entry associated with the reference generation information; as well as In response to triggering the generation entry, a second media generation request associated with the reference generation information is initiated.
21. An apparatus for content generation, comprising: A first presentation module is configured to present a first component configured to obtain generated information in an interactive interface; a second presentation module configured to, in response to the browsing state of the interactive interface satisfying a preset condition, switch the interactive interface to presenting a second component configured to obtain generated information, wherein a first display style of the first component is different from a second display style of the second component; a receiving module configured to receive a media generation request via the second component; as well as The first providing module is configured to provide media content generated based on the media generation request.
22. An electronic device comprising: at least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 20 when executed by the at least one processor.
23. A computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions can be executed by a processor to implement the method according to any one of claims 1 to 20.
Citation Information
Cited By
Interaction system and method for generating Web end by AI content, and electronic equipment
CN121433485A