CN118034562A - Method, device, electronic equipment, storage medium and program product for generating media content - Google Patents
Method, device, electronic equipment, storage medium and program product for generating media content Download PDFInfo
- Publication number
- CN118034562A CN118034562A CN202410269150.6A CN202410269150A CN118034562A CN 118034562 A CN118034562 A CN 118034562A CN 202410269150 A CN202410269150 A CN 202410269150A CN 118034562 A CN118034562 A CN 118034562A
- Authority
- CN
- China
- Prior art keywords
- prompt information
- information
- prompt
- target
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000004044 response Effects 0.000 claims abstract description 27
- 238000012790 confirmation Methods 0.000 claims description 34
- 230000003020 moisturizing effect Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 15
- 238000009877 rendering Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000014509 gene expression Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008094 contradictory effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000001179 sorption measurement Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000009736 wetting Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure provides a method, a device, an electronic device, a storage medium and a program product for generating media content. The method comprises the following steps: displaying at least one prompt message group, wherein the prompt message group comprises at least one candidate prompt message which is used for describing the content characteristics of target media content; determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in at least one prompt information group; displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information. By utilizing the technical scheme, the embodiment of the disclosure can reduce the input difficulty and uncertainty of the prompt information and improve the quality of the generated media content.
Description
Technical Field
The embodiment of the disclosure relates to the field of computer technology, in particular to a method, a device, electronic equipment, a storage medium and a program product for generating media content.
Background
Currently, in the field of artificial intelligence generation Content (AI GENERATED Content, AIGC), an input box may be presented, and Content generation may be performed according to Prompt information (Prompt) filled in by a user in the input box. Taking a text-generated picture scene as an example, a picture can be generated according to the picture description content filled in by a user in an input box.
However, the existing promt filling method has the problems of high difficulty and high uncertainty of promt filling, and the quality of the generated content is low.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, electronic equipment, a storage medium and a program product for generating media content, so as to reduce the filling difficulty and uncertainty of prompt information and improve the quality of the generated content.
In a first aspect, an embodiment of the present disclosure provides a method for generating media content, including:
displaying at least one prompt message group, wherein the prompt message group comprises at least one candidate prompt message which is used for describing the content characteristics of target media content;
determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in at least one prompt information group;
displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
In a second aspect, an embodiment of the present disclosure further provides a generating device of media content, including:
The prompt information display module is used for displaying at least one prompt information group, wherein the prompt information group comprises at least one candidate prompt information which is used for describing the content characteristics of target media content;
the prompt information determining module is used for responding to the information selection operation of at least one candidate prompt information in the at least one prompt information group and determining first prompt information in the candidate prompt information;
The media content display module is used for displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
One or more processors;
a memory for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of generating media content as described in embodiments of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of generating media content according to the embodiments of the present disclosure.
In a fifth aspect, the disclosed embodiments also provide a computer program product, which when executed by a computer, causes the computer to implement a method of generating media content according to the disclosed embodiments.
The method, the device, the electronic equipment, the storage medium and the program product for generating the media content provided by the embodiment of the disclosure display at least one prompt information group, wherein the prompt information group comprises at least one candidate prompt information, and the candidate prompt information is used for describing the content characteristics of target media Nie Rong; determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in the at least one prompt information group; and displaying the target media content generated based on the target prompt information, wherein the target prompt information comprises the first prompt information. According to the embodiment of the disclosure, the technical scheme is utilized, the user is supported to select the candidate prompt information in the prompt information group as the prompt information of the media content to be generated, the user does not need to input the candidate prompt information in a text input mode, the input difficulty and uncertainty of the prompt information can be reduced, and the quality of the generated media content is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flowchart illustrating a method for generating media content according to an embodiment of the present disclosure;
Fig. 2 is a schematic illustration showing a prompt message set provided in an embodiment of the disclosure;
FIG. 3 is a schematic illustration of a target media content provided by an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating another method for generating media content according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an alternative prompt message input process provided in an embodiment of the present disclosure;
FIG. 6 is a block diagram of a media content generation apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but 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 illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Fig. 1 is a flowchart illustrating a method for generating media content according to an embodiment of the present disclosure. The method may be performed by a media content generation device, where the device may be implemented in software and/or hardware, may be configured in an electronic device, and typically may be configured in a mobile phone or tablet computer. The method for generating the media content provided by the embodiment of the disclosure is applicable to AIGC scenes, such as a text-to-picture scene. As shown in fig. 1, the method for generating media content provided in this embodiment may include:
S101, displaying at least one prompt information group, wherein the prompt information group comprises at least one candidate prompt information, and the candidate prompt information is used for describing the content characteristics of target media content.
A hint group may be understood as a grouping of candidate hints, each hint group may include one or more candidate hints. The grouping manner of the candidate prompt messages is not limited, and for example, different prompt message groups may correspond to attribute information of different types of target extinguishment content, and describing characters in a picture is taken as an example, and candidate prompt messages in different prompt message groups may describe attribute information of different types of characters, where the attribute information of different types may include, for example, clothing, hairstyles, accessories, gestures, expressions, and/or the like. The candidate prompt information may be prompt information for a user to select, where the prompt information may be descriptive content of content features, and is used to describe content features of the target media content to be generated. The type of candidate hint information is not limited, and for example, the candidate hint information may be a word, a sentence, and/or a paragraph, etc.
Fig. 2 is a schematic illustration of a presentation of a prompt set 20 provided in an embodiment of the present disclosure, as shown in fig. 2, at least one prompt set 20 may be presented, where each prompt set 20 may have at least one candidate prompt for a user to select, so that the user may select one or more candidate prompts to describe content features of target media content to be generated.
The at least one prompt information set displayed can be set according to the needs, for example, the preset at least one prompt information set can be displayed without considering the original media content used for generating the target media content, so that the operation amount required for displaying the prompt information set is reduced, and the display delay of the prompt information set is reduced; the original media content used for generating the target media content can also be considered, and at least one prompt information group corresponding to the original media content is displayed, so that candidate prompt information in the displayed prompt information group has higher relevance with the original media content, and the practicability of the displayed prompt information group is improved.
In some embodiments, for the case that the original media content exists, at least one preset prompt information group or at least one prompt information group corresponding to the original media content may be displayed, for example, when a user triggers to display a certain prompt dimension, at least one preset prompt information group in the prompt dimension or at least one preset prompt information group corresponding to the original media content in the prompt dimension is displayed; for the case that the original media content does not exist, at least one preset prompt information set can be displayed, for example, when a user triggers to display a certain prompt dimension, at least one preset prompt information set in the prompt dimension is displayed.
For example, in the presence of the original media content, at least one set of hints information corresponding to the original media content may be presented. At this time, optionally, the displaying at least one hint information set includes: and displaying at least one prompt information group corresponding to the original media content.
Wherein, presenting at least one cue information group corresponding to the original media content may be understood as presenting the cue information group in association with the original media content, and when the original media content or the type of the original media content is different, the at least one cue information group may be presented differently.
Optionally, different original media content corresponds to different sets of cue information; or the prompt message group corresponding to different original media contents contains different candidate prompt messages; or different original media contents correspond to different display orders, wherein the display orders comprise the display order of the at least one prompt information group and/or the display order of candidate prompt information in the prompt information group.
For example, at least one hint information group to be displayed, candidate hint information contained in the at least one hint information group, display order of candidate hint information contained in the at least one hint information group in a corresponding hint information group, and the like may be determined according to the original media content; and displaying at least one prompt information group corresponding to the original media content according to the determined content. Therefore, when the original media contents provided by the users are different, different prompt information groups can be displayed, different display orders are adopted to display the prompt information groups, different candidate prompt information is displayed in the prompt information groups, or the candidate prompt information is displayed in the prompt information groups in different display orders, and the like, so that the practicability of the displayed prompt information groups is further improved, and the display modes of the prompt information groups are enriched.
S102, determining first prompt information in candidate prompt information in response to information selection operation of at least one candidate prompt information in the at least one prompt information group.
The information selecting operation may be a triggering operation of selecting one or more candidate prompt information as the first prompt information. The information selecting operation is not limited in implementation manner, and may be, for example, an operation of triggering a control or a candidate prompt message, an operation of executing a selection gesture, or the like. The first hint information may be candidate hint information for determining to be used to generate the target media content, such as candidate hint information selected or dragged by an information selection operation, candidate hint information in a selected state, or the like.
In this embodiment, candidate hint information for generating the target media content may be determined based on a user's information selection operation.
For example, in the case where the information selection operation of the user is received, the first hint information may be determined among the candidate hint information, for example, the candidate hint information corresponding to the information selection operation is determined as the first hint information, or the candidate hint information in the selected state is determined as the first hint information.
In this embodiment, after the first prompt information is determined, the determined first prompt information may be displayed or not in the prompt information input area. For example, the determined first prompt may be presented in the prompt input area, such as by inputting the first prompt into the prompt input area for viewing by the user. At this time, optionally, after determining the first hint information in the candidate hint information, the method further includes: and displaying the first prompt information in the prompt information input area.
The prompt information input area may be an area for inputting prompt information of the media content to be generated. The method of inputting the prompt in the prompt input area is not limited, for example, the prompt can be input into the prompt input area by selecting candidate prompt information, or the prompt can be input into the prompt input area by inputting characters.
S103, displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
The target cue information may be understood as cue information set by a user for generating target media content, such as cue information input in an information input area. For example, the target prompt information may include a first prompt information and/or a second prompt information, which is specific to the actual setting situation of the user. The first hint information may be hint information determined among candidate hint information by performing an information selection operation; the second prompt information may be a prompt information input by means of character input. The character input mode may include, but is not limited to, a voice input mode and/or a text input mode, and the text input mode may include input by a character editing mode or input by a copy-paste mode, which is not limited in this embodiment.
The target media content may be media content generated based on the target cue information, and the media content may be image type media content, such as pictures and/or videos. The target media content may be generated by the current application or a server corresponding to the current application.
Specifically, the target prompt information 31 set by the user may be obtained, for example, the prompt information input in the prompt information input area is obtained as the target prompt information 31, the target media content 30 is generated based on the target prompt information 31, or the target media content 30 is generated based on the target prompt information 31 through the server side, and the generated target media content 30 is displayed, as shown in fig. 3.
In this embodiment, the target media content may be generated based on the target cue information when a preset generation condition is satisfied. The preset generation condition may include, for example, receiving a media content generation operation, determining that the first prompt information is completed, or the number of prompt information set by the user reaches a preset number, which may be specifically set according to needs. Wherein the media content generation operation may be a trigger operation for instructing generation of new media content based on the prompt information set by the user. The media content generation operation may be performed in a non-limiting manner, and by way of example, the media content generation operation may be an operation that triggers a media content generation control and/or performs a media content generation gesture.
The generation manner of the target media content is not limited, for example, when the original media content does not exist, the target media content can be generated based on the target prompt information set by the user without considering the original media content; when the original media content exists, the original media content can be considered, the target media content can be generated based on the original media content and the target prompt information set by the user, for example, the media content picture of the original media content can be processed based on the target prompt information set by the user to obtain the media content picture of the target media content, and thus the target media content can be obtained.
In some embodiments, the media content picture of the target media content is obtained by processing the media content picture of the original media content based on the target prompt information; before the presenting of the at least one hint information set, the method further comprises: and obtaining the original media content to be processed.
For example, a shooting interface may be presented, and media content shot by a user in the shooting interface may be taken as original media content; or presenting a media content interface (e.g., a user's local album, etc.), taking the media content selected by the user in the media content interface as the original media content, etc.
In addition, as shown in fig. 3, when the target media content 30 is displayed, target prompt information 31 used when the target media content 30 is generated may be further displayed. Thus, the user may correspondingly view the target media content 30 and the target cue information 31, and/or, when dissatisfied with the generated target media content 30, may regenerate new target media content 30 by modifying the target cue information 31.
After the target media content 30 is generated, the user may be supported to save and/or publish the target media content 30. For example, a save control 32 (shown in FIG. 3) and/or a publish control (not shown in FIG. 3) corresponding to the target media content 30 may be presented, such that a user may save the target media content 30 by triggering the save control 32 and/or publish the target media content 30 by triggering the publish control.
In some embodiments, the method further comprises: in response to a region selection operation acting on the original media content and/or the target media content, the one of the at least one set of cues associated with a selected region is presented in a first state and the one of the at least one set of cues other than the one associated with the selected region is presented in a second state.
The region selection operation may be understood as a trigger operation for selecting a region on the original media content and/or the target media content. The implementation manner of the region selection operation is not limited, for example, the region selection operation may include an operation of performing frame selection on a media content screen of the original media content and/or the target media content, and/or an operation of selecting a region in a region list of the original media content and/or the target media content, and the like. The selected region may be a region corresponding to a region selection operation, such as a region selected by a user by performing the region selection operation. The first state and the second state may be different states, e.g., the first state and the second state may correspond to different presentation styles or presentation orders, etc.
In the above embodiment, the prompt information set associated with the selected area of the original media content and/or the target media content of the user and the prompt information set of the at least one prompt information set except the associated prompt information set may be displayed in a non-use state, so that the user can quickly locate or filter the prompt information set associated with the selected area of the displayed at least one prompt information set.
Specifically, in the case of receiving a region selection operation acting on the original media content and/or the target media content, a selected region of the user may be determined, for example, a region corresponding to the region selection operation is taken as the selected region; and displaying the prompt information group associated with the selected area in the at least one prompt information group in a first state, and displaying the prompt information groups except the prompt information group associated with the selected area in the at least one prompt information group in a second state.
For example, in the case that the region selection operation is received before the at least one hint information is displayed, when at least one hint information group is displayed, a hint information group associated with the selected region in the at least one hint information group may be displayed in a first state, and a hint information group not associated with the selected region in the at least one hint information group may be displayed in a second state.
For the case that the region selection operation is received after the at least one prompt message is displayed, when the selected region does not exist, the at least one prompt message group can be displayed in a second state; thus, after receiving the region selection operation, the group of hints associated with the selected region of the at least one group of hints may be switched from the second state to the first state.
In some exemplary scenarios, a user may select at least one region on the original media content and/or the target media content, and the current application may display the set of cues and/or candidate cues associated with the at least one region by shifting up and/or highlighting, or may also hide the set of cues and/or candidate cues associated with the at least one region. For example, the original media content and/or the target media content may have a hat presented thereon, and upon detecting a user selection of a hat region, the current application may move up and/or highlight a set of hints associated with the hat; alternatively, upon detecting that the user has selected a hair area, the present application may move the hair style, hat, and/or headwear up and/or highlight the set of cues associated with the hair area, etc., to facilitate the user's selection.
The method for generating media content provided by the embodiment displays at least one prompt information group, wherein the prompt information group comprises at least one candidate prompt information, and the candidate prompt information is used for describing the content characteristics of target media Nie Rong; determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in the at least one prompt information group; and displaying the target media content generated based on the target prompt information, wherein the target prompt information comprises the first prompt information. According to the method and the device for generating the media content, the user is supported to select the candidate prompt information from the prompt information group to serve as the prompt information of the media content to be generated, the user does not need to input the candidate prompt information in a text input mode, the input difficulty and uncertainty of the prompt information can be reduced, and the quality of the generated media content is improved.
In some embodiments, multiple hint dimensions may be preset. The different hint dimensions may correspond to different description dimensions of the content features, e.g., the different hint dimensions may correspond to different description topics of the picture, which may include, for example, a picture body, a picture environment, a picture atmosphere, and/or a picture style, etc. Each hint dimension may include one or more hint groups, each of which may include at least one candidate hint. For example, candidate hints included within a hint information set in different hint dimensions can be used to describe content characteristics of media content in different description dimensions. At this time, when at least one hint information set is displayed, one or through hint information sets in the hint dimension may be displayed.
Wherein,
Optionally, the at least one hint information group belongs to the same hint dimension, and different hint dimensions correspond to different description dimensions of the content feature. That is, at least one hint group in a hint dimension may be presented when at least one hint group is presented.
When at least one prompt information group is displayed, different prompt information groups can be displayed in different subareas of the prompt information display area, different candidate prompt information of different types can be included in different prompt information groups, and the different candidate prompt information of different types can be used for describing different types of attribute information in content characteristics of target media content. At this time, optionally, the displaying at least one hint information set includes: displaying different prompt information groups in different subareas of the prompt information display area; the different prompt information sets comprise candidate prompt information of different types, and the candidate prompt information of different types is used for describing attribute information of different types of the target media content.
In some embodiments, before the presenting the at least one hint group, the method further includes: and responding to the prompt information input operation, displaying the prompt information input area and the dimension information of at least one prompt dimension, wherein the dimension information is used for triggering and displaying at least one prompt information group in the prompt dimension corresponding to the dimension information.
The prompt information input operation may be a triggering operation for indicating to display the prompt information input area to input the prompt information, such as an operation for triggering a prompt information input control or an operation for displaying the prompt information area. The dimension information of a certain prompt dimension may be understood as dimension information of the prompt dimension displayed along with the prompt information input area, the dimension information may include a dimension identifier of the prompt dimension, and may further include group information of at least part of prompt information groups in the prompt dimension, where the group information may include a group identifier, for example. Wherein the dimension identification may include, for example, a dimension name or the like; the group identifier may include, for example, a group name, etc., which is not limited in this embodiment.
In the above embodiment, the user may instruct the current application program to display at least one hint information set in a hint dimension by triggering dimension information of the hint dimension.
Specifically, under the condition that the prompt information input operation is received, the prompt information input area and the dimension information of at least part of prompt dimensions can be displayed, so that a user can input the prompt information in the prompt information input area and/or view the prompt information group in a prompt dimension by triggering the dimension information of the prompt dimension. Thus, when the dimension information of a certain prompt dimension triggered by the user is detected, at least one prompt information group in the prompt dimension can be displayed in the prompt information display area.
In some embodiments, the user may also switch at least one of the alert information groups presented in the alert information presentation area by performing an alert dimension switching operation. At this time, optionally, the method for generating media content may further include: and responding to the prompt dimension switching operation, and displaying at least one prompt information group in the prompt dimension corresponding to the prompt dimension switching operation in a prompt information display area.
The prompt dimension switching operation may be a trigger operation for indicating a prompt dimension in which a prompt information group is currently displayed. The implementation manner of the prompt dimension switching operation is not limited, for example, the prompt dimension switching operation may be an operation of triggering a prompt dimension switching control or an operation of triggering a dimension identifier of a prompt dimension. Optionally, a dimension identifier of at least part of the prompt dimension is also displayed in the prompt information display area, and the dimension identifier is used for triggering and executing the prompt dimension switching operation. The method for executing the prompt dimension switching operation through the trigger dimension identifier is not limited, for example, the prompt dimension switching operation can be executed through clicking the dimension identifier, and the prompt dimension switching operation can also be executed through sliding the dimension identifier to a preset trigger position.
Specifically, under the condition that the prompt dimension switching operation is received, the prompt dimension displayed in the prompt information display area can be switched in response to the prompt dimension switching operation, for example, at least one prompt information set displayed in the prompt information display interface can be switched to a prompt information set in the prompt dimension corresponding to the prompt dimension switching operation.
In some embodiments, the user may also enter the prompt in the prompt entry area by way of text entry. At this time, optionally, the target prompt information further includes a second prompt information, where the second prompt information is input into the prompt information input area by means of character input.
Aiming at the condition that the input prompt information (such as the second prompt information) exists in the prompt information input area, when at least one prompt information group is displayed, the at least one prompt information group can be preset; or can be determined according to the input prompt information.
Optionally, the at least one prompt information group is a first prompt information group, and the first prompt information group is different from a second prompt information group to which the second prompt information belongs; or the at least one prompt information group comprises a first prompt information group and a second prompt information group, and the first prompt information group is displayed before the second prompt information group.
The first hint information group may be understood as a hint information group different from the second hint information group, such as a hint information group other than the second hint information group. The second hint information set may be a hint information set to which the second hint information belongs, such as a hint information set associated with the second hint information. The number of second hint information sets may be one or more. Taking at least one prompt information set including five prompt information sets of clothing, hairstyle, accessory, gesture and expression as an example, if the second prompt information contains description information of clothing and hairstyle, the two prompt information sets of clothing and hairstyle are both the second prompt information set, and at this time, the three prompt information sets of accessory, gesture and expression can be the first prompt information set.
Taking the example that the second prompt information is input in the prompt information input area, when at least one prompt information group is displayed, the second prompt information group to which the second prompt information belongs can be determined, and at least one prompt information group except the second prompt information group is displayed, namely at least one first prompt information group is displayed, and the second prompt information group is not displayed; at least one first prompt information set and at least one second prompt information set can be displayed, for example, at least one first prompt information set is displayed, and at least one second prompt information set is displayed after the at least one first prompt information set, so that a user can conveniently select candidate prompt information in prompt information sets which are not yet input.
In some embodiments, the candidate hint information in the selected state may be used as the first hint information. At this time, optionally, the determining, in response to an information selection operation for at least one candidate hint information in the at least one hint information group, a first hint information among the candidate hint information includes: responding to information selection operation aiming at least one candidate prompt information in the at least one prompt information group, and displaying target candidate prompt information as a selected state, wherein the target candidate prompt information is candidate prompt information corresponding to the information selection operation; and responding to the first confirmation operation, and determining the candidate prompt information in the selected state as first prompt information.
The information selecting operation may be a triggering operation for selecting a certain candidate prompt information. The information selecting operation is not limited in execution manner, and for example, the information selecting operation may be an operation of clicking or long pressing a certain candidate prompt information. The target candidate hint information may be candidate hint information corresponding to the information selection operation, i.e. candidate hint information selected by the information selection operation. The first confirmation operation may be a triggering operation for confirming that the candidate prompt information in the selected state is selected, such as triggering the first confirmation control or performing the first confirmation gesture.
For example, after at least one hint information group is displayed, when an information selection operation of a user for at least one candidate hint information (such as a target candidate hint information) in the at least one hint information group is received, for example, when a user is detected to trigger a candidate hint information contained in a hint information group, the candidate hint information may be displayed as a selected state; and when a first confirmation operation of the user is received, determining the candidate prompt information in the selected state as first prompt information.
In the above embodiment, the manner of displaying the candidate prompt information as the selected state is not limited, for example, the candidate prompt information may be displayed as the selected state by adjusting the display style or display position of the candidate prompt information, or by adding a manner of displaying the candidate prompt information in a certain area.
Optionally, the displaying the target candidate prompt information as the selected state includes: displaying the target candidate prompt information displayed in a first area as a preset display style, wherein the first area is used for displaying the at least one prompt information group; and/or additionally displaying the target candidate prompt information in a second area, wherein the second area is used for displaying the candidate prompt information in the selected state.
For example, in the case of receiving an information selection operation for target candidate hint information, the target candidate hint information may be presented as a preset presentation style corresponding to the selected state; and/or additionally displaying the target candidate prompt information in the second area, so that the target candidate prompt information is displayed as a selected state.
The first area may be an area for displaying the at least one prompt information set, and the second area may be an area for displaying candidate prompt information selected by the user. The first area and the second area are different display areas, such as different sub-areas of the prompt information display area, and the relative position relationship between the first area and the second area is not limited, such as that the second area can be located inside or outside the first area. The candidate prompt information in the selected state and the candidate prompt information in the unselected state can have different display patterns, and the preset display pattern can be the display pattern of the candidate prompt information in the selected state.
For the case that the second prompt information exists, when the user selects the candidate prompt information, the relationship between the candidate prompt information selected by the user and the existing second prompt information can be considered or not considered.
In some embodiments, the presenting the target candidate prompt information as the selected state includes at least one of: if the target candidate prompt information meets a preset selection condition, displaying the target candidate prompt information as a selected state; if the target candidate prompt information does not meet the preset selection condition, displaying selection confirmation information; responding to a second confirmation operation based on the selection confirmation information, displaying the target candidate prompt information as a selected state, and deleting the prompt information which causes the target candidate prompt information not to meet the preset selection condition in a target area, wherein the target area comprises the prompt information input area and/or a second area; wherein, the preset conditions include: and (3) no repeated prompt information exists between the target candidate prompt information and the prompt information in the target area, and/or no contradiction prompt information exists between the target candidate prompt information and the prompt information in the target area.
The second confirmation operation may be a trigger operation for indicating that the selection target candidate prompt information is determined. The second confirmation operation is not limited in execution manner, for example, the second confirmation operation may be an operation of triggering the second confirmation control or executing the second confirmation gesture, etc.
Repeated prompts may be understood as repeated prompts. Contradictory cues may be understood as conflicting cues. It should be noted that the repetition or contradiction herein may be a repetition or contradiction in the meaning. Taking a hairstyle as an example, if the second prompt information already contains a related expression of "short hair", at this time, if the candidate prompt information selected by the user is "short hair", the candidate prompt information may be considered to be repeated with the second prompt information; if the candidate prompt information selected by the user is 'long-sent', the candidate prompt information can be considered to be contradictory with the second prompt information.
In the above embodiment, when the candidate prompt information selected by the user is repeated with the prompt information existing in the target area, the user may be prompted to improve the simplicity of the prompt information in the target area; and/or prompting the user when the candidate prompt information selected by the user contradicts the prompt information existing in the target area, so as to avoid errors when the target media content is generated and improve the picture effect of the generated target media content.
For example, in the case where an information selection operation for the target candidate hint information is received, it may be determined whether the target candidate hint information satisfies a preset selection condition. If yes, displaying the target candidate prompt information as a selected state. If not, displaying selection confirmation information, and prompting the user that the target candidate prompting information and the prompting information in the target area are repeated or contradicted through the selection confirmation information; and in the case of receiving a second confirmation operation based on the selection confirmation information, displaying the target candidate prompt information as a selected state in response to the second confirmation operation, and further deleting the prompt information which is existing in the target area and is repeated or contradicted with the target candidate prompt information.
After prompting the user, the user may delete the prompting information that causes the target candidate prompting information to not satisfy the preset selection condition by executing the deleting operation, and may specifically set as required.
Fig. 4 is a flowchart illustrating another method for generating media content according to an embodiment of the present disclosure. The aspects of this embodiment may be combined with one or more of the alternatives of the embodiments described above. Optionally, before the presenting the target media content generated based on the target prompt information, the method further includes: responding to the moisturizing operation aiming at the prompt information to be moisturized in the target prompt information, and acquiring the moisturizing prompt information corresponding to the prompt information to be moisturized, wherein the moisturizing prompt information is obtained by carrying out moisturizing treatment on the prompt information to be moisturized; and replacing the prompt information to be moistened with the prompt information to moisten.
Accordingly, as shown in fig. 4, the method for generating media content provided in this embodiment may include:
s201, at least one prompt information group is displayed, wherein the prompt information group comprises at least one candidate prompt information, and the candidate prompt information is used for describing the content characteristics of target media content.
S202, determining first prompt information in candidate prompt information in response to information selection operation of at least one candidate prompt information in the at least one prompt information group.
S203, responding to the moisturizing operation of the prompt message to be moisturized in the target prompt message, and acquiring the moisturizing prompt message corresponding to the prompt message to be moisturized, wherein the target prompt message comprises the first prompt message, and the moisturizing prompt message is obtained by conducting moisturizing processing on the prompt message to be moisturized.
The color rendering operation may be an operation for indicating to perform color rendering processing on at least part of the target prompt information. The execution mode of the touch-up operation is not limited, for example, the touch-up operation may be an operation of triggering a touch-up control or executing a touch-up gesture, etc.
The prompt information to be moistened can be prompt information corresponding to the moistening operation, namely prompt information to be moistened in the target prompt information. The prompt message to be moistened can be at least part of the prompt messages in the target prompt messages. Optionally, the prompt message to be moistened is a prompt message in a selected state in the target prompt messages; or the prompt message to be moistened is the prompt message which is not in the selected state in the target prompt messages. If the prompt information selected by the user in the target prompt information is used as the prompt information to be moistened; or the prompt information selected by the user in the target prompt information is used as the content which does not need to be moistened, namely, the prompt information which is not selected by the user in the target prompt information is used as the prompt information to be moistened.
The color rendering prompt information can be understood as prompt information obtained by performing color rendering processing on the prompt information to be rendered, namely, prompt information after performing color rendering processing. The mode of performing the rendering treatment on the prompt information to be rendered is not limited, and if the prompt information to be rendered can be modified; the prompt information to be moistened can be expanded to complement the dimension of the picture description not related in the prompt information input area.
In the embodiment, the user can be supported to carry out color rendering processing on part or all of the set target prompt information, so that the integrity of the target prompt information is further improved, and the quality of the generated target media content is further improved.
Specifically, under the condition that a color-rendering operation is received, the to-be-rendered prompt information corresponding to the color-rendering operation in the target prompt information can be obtained; and carrying out the moisturizing treatment on the prompt information to be moisturized or carrying out the moisturizing treatment on the prompt information to be moisturized through a server to obtain the moisturizing prompt information corresponding to the prompt information to be moisturized.
S204, replacing the prompt information to be moistened with the prompt information to moisten.
Specifically, after the color-rendering prompt information corresponding to the color-rendering prompt information is obtained, the color-rendering prompt information in the target prompt information can be replaced by the obtained color-rendering prompt information.
S205, displaying the target media content generated based on the target prompt information.
For example, after the to-be-moistened prompt information in the target prompt information is replaced by the moistened prompt information, target media content generated by the target prompt information replaced by the moistened prompt information may be obtained, and the target media content may be displayed.
Fig. 5 is a schematic diagram of an optional input process of prompt information provided by an embodiment of the present disclosure, and as shown in fig. 3 and fig. 5, a method for generating media content provided by this embodiment may be described as follows:
the media content generation interface is presented, and the original media content 50 set by the user for generating the target media content may be presented in the media content generation interface, and the prompt information area 51 may be further presented, as shown in the first diagram in fig. 5.
When it is detected that the user triggers the prompt information area 51, it is determined that a prompt information input operation is received, and in response to the prompt information input operation, a prompt information input interface 52 is displayed in which a prompt information input area 53 and dimension information 54 of at least one prompt dimension are displayed, as shown in a second diagram in fig. 5.
When it is detected that the user triggers certain dimension information 54 (e.g., dimension information of the first prompt dimension) displayed in the prompt information input interface, it may be determined that a prompt information display operation is received, and in response to the prompt information display operation, a prompt information display area 21 (e.g., display the prompt information display interface) is displayed, at least one prompt information group 20 in the prompt dimension is displayed in the prompt information display area 21, and a dimension identifier 22 of at least a portion of the prompt dimension may be further displayed in the prompt information display area 21, as shown in a third diagram in fig. 5.
Therefore, when the dimension identification of a certain prompt dimension is triggered by clicking or sliding left and right by a user, the received prompt dimension switching operation can be determined, and at least one prompt information group in the prompt dimension corresponding to the dimension identification is displayed in the prompt information display area in response to the prompt dimension switching operation. When the user is detected to switch the prompt information set displayed in the prompt information display area in a vertically sliding manner, the prompt information set can have an adsorption effect, for example, when a certain prompt information set moves to a certain position within a preset distance range from a certain preset position at the top of the display information display area, if the user releases a finger, the prompt information set can move to the preset position for display.
When it is detected that the user clicks on a displayed candidate prompt, it may be determined that an information selection operation for the candidate prompt is received, and in response to the information selection operation, the candidate prompt is displayed in a selected state, such as displaying the candidate prompt as a preset display style in the first area 55, and additionally displaying the candidate prompt in the second area 56, such as the candidate prompt 10, the candidate prompt 22, and the candidate prompt 31 shown in the fourth diagram of fig. 5.
In addition, when the candidate prompt information selected by the user is displayed in the second area 56, a deselection control 561 corresponding to the candidate prompt information may be further displayed, so that the user may switch the candidate prompt information from the selected state to the unselected state by triggering the deselection control 561 corresponding to the candidate prompt information.
As shown in the fourth drawing of fig. 5, a first selection confirmation control 562 may be presented in the second region 56. Thus, when it is detected that the user triggers the first selection confirmation control 562, it may be determined that a first confirmation operation is received, and in response to the first confirmation operation, candidate prompt information in the selected state (i.e., the first prompt information) is determined, and the candidate prompt information in the selected state in the prompt display interface 21 is input into the prompt information input area 52, as shown in the fifth diagram in fig. 5.
As shown in FIG. 5, a color control 57 may also be presented in prompt input interface 52. When it is detected that the user triggers the rendering control 57, it may be determined that a rendering operation is received, and in response to the rendering operation, rendering prompt information corresponding to the prompt information to be rendered input in the prompt information input area 52 is acquired, and the prompt information to be rendered displayed in the prompt information input area 52 is replaced with the rendering prompt information (as shown in a sixth drawing in fig. 5). The entered Prompt is rendered, for example, by a preset rendering model or rendering module when it is detected that the user clicks on rendering control 57. Wherein, the color-wetting process can adopt stream processing; and prompting the user when the color rendering fails or is abnormal.
With continued reference to fig. 5, a media content generation control 58 may also be presented in the prompt input interface 52. When it is detected that the user triggers the media content generation control 58, it may be determined that a media content generation operation is received, in response to which the target media content 30 generated based on the target cue information currently entered in the cue information input area 52 and the original media content is acquired, and the target media content 30 is presented, as shown in fig. 3.
It will be appreciated that when the prompt input area is presented, the user may also input the second prompt in the prompt input area by way of character input.
According to the method for generating the media content, the candidate promts are displayed in the dimension and/or group mode in a structuring mode, for example, the main body, the scene and/or the color of the promts are displayed in the structuring mode, the input promts are enabled to be moistened, the accuracy of the promts filled by a user can be improved, and the filling threshold of the promts is reduced.
Fig. 6 is a block diagram of a media content generating apparatus according to an embodiment of the present disclosure. The apparatus may be implemented by software and/or hardware, may be configured in an electronic device, typically in a mobile phone or tablet computer, and may be implemented AIGC by executing a method for generating media content, as in the implementation of the embodiment described herein. As shown in fig. 6, the generating device of media content provided in this embodiment may include: a cue presentation module 601, a cue determination module 602, and a media content presentation module 603, wherein,
The prompt information display module 601 is configured to display at least one prompt information set, where the prompt information set includes at least one candidate prompt information, and the candidate prompt information is a picture description content to be selected;
a prompt determination module 602, configured to input a first prompt in the at least one prompt group into a prompt input area in response to an information selection operation for the first prompt;
The media content display module 603 is configured to display, in response to a media content generation operation, target media content generated based on target prompt information, where the target prompt information is prompt information input in the prompt information input area, and the target prompt information includes the first prompt information.
According to the device for generating the media content, at least one prompt information group is displayed through the prompt information display module, wherein the prompt information group comprises at least one candidate prompt information, and the candidate prompt information is used for describing the content characteristics of target media Nie Rong; determining first prompt information in candidate prompt information by a prompt information determining module in response to information selection operation aiming at least one candidate prompt information in the at least one prompt information group; and displaying target media content generated based on target prompt information through a media content display module, wherein the target prompt information comprises first prompt information. According to the method and the device for generating the media content, the user is supported to select the candidate prompt information from the prompt information group to serve as the prompt information of the media content to be generated, the user does not need to input the candidate prompt information in a text input mode, the input difficulty and uncertainty of the prompt information can be reduced, and the quality of the generated media content is improved.
Optionally, the media content picture of the target media content is obtained by processing the media content picture of the original media content based on the target prompt information; the generating device of the media content may further include: the media content acquisition module is used for acquiring the original media content to be processed before the at least one prompt information group is displayed; the prompt information display module 601 may be specifically configured to: and displaying at least one prompt information group corresponding to the original media content.
Optionally, different original media content corresponds to different sets of cue information; or the prompt message group corresponding to different original media contents contains different candidate prompt messages; or different original media contents correspond to different display orders, wherein the display orders comprise the display order of the at least one prompt information group and/or the display order of candidate prompt information in the prompt information group.
Optionally, the at least one hint information group belongs to the same hint dimension, and different hint dimensions correspond to different description dimensions of the content feature.
Optionally, the prompt information display module 601 is specifically configured to: displaying different prompt information groups in different subareas of the prompt information display area; the different prompt information sets comprise candidate prompt information of different types, and the candidate prompt information of different types is used for describing attribute information of different types of the target media content.
Further, the generating device of the media content may further include: the input area display module is used for responding to the prompt information input operation before displaying at least one prompt information group, displaying the prompt information input area and the dimension information of at least one prompt dimension, wherein the dimension information is used for triggering and displaying at least one prompt information group in the prompt dimension corresponding to the dimension information.
Further, the hint information determining module 602 may be further configured to: and after the first prompt message is determined in the candidate prompt messages, displaying the first prompt message in a prompt message input area.
Optionally, the target prompt information further includes a second prompt information, and the second prompt information is input into the prompt information input area by means of character input.
Optionally, the at least one prompt information group is a first prompt information group, and the first prompt information group is different from a second prompt information group to which the second prompt information belongs; or the at least one prompt information group comprises a first prompt information group and a second prompt information group, and the first prompt information group is displayed before the second prompt information group.
Optionally, the prompt information determining module 602 includes: the selection unit is used for responding to the information selection operation of at least one candidate prompt message in the at least one prompt message group, displaying target candidate prompt messages as selected states, wherein the target candidate prompt messages are candidate prompt messages corresponding to the information selection operation; and the determining unit is used for responding to the first confirmation operation and determining the candidate prompt information in the selected state as the first prompt information.
Optionally, the selecting unit is specifically configured to: displaying the target candidate prompt information displayed in a first area as a preset display style, wherein the first area is used for displaying the at least one prompt information group; and/or additionally displaying the target candidate prompt information in a second area, wherein the second area is used for displaying the candidate prompt information in the selected state.
Optionally, the selection unit is specifically configured to perform at least one of: if the target candidate prompt information meets a preset selection condition, displaying the target candidate prompt information as a selected state; if the target candidate prompt information does not meet the preset selection condition, displaying selection confirmation information; responding to a second confirmation operation based on the selection confirmation information, displaying the target candidate prompt information as a selected state, and deleting the prompt information which causes the target candidate prompt information not to meet the preset selection condition in a target area, wherein the target area comprises the prompt information input area and/or a second area; wherein, the preset conditions include: and (3) no repeated prompt information exists between the target candidate prompt information and the prompt information in the target area, and/or no contradiction prompt information exists between the target candidate prompt information and the prompt information in the target area.
Further, the generating device of the media content may further include: the color rendering module is used for responding to the color rendering operation aiming at the prompt information to be color rendered in the target prompt information before the target media content generated based on the target prompt information is displayed, so as to obtain the color rendering prompt information corresponding to the prompt information to be color rendered, wherein the color rendering prompt information is obtained by performing color rendering processing on the prompt information to be color rendered; and the replacing module is used for replacing the prompt information to be moistened with the prompt information to be moistened.
Optionally, the prompt message to be moistened is a prompt message in a selected state in the target prompt messages; or the prompt message to be moistened is the prompt message which is not in the selected state in the target prompt messages.
Further, the generating device of the media content may further include: and the area selection module is used for responding to the area selection operation acted on the original media content and/or the target media content, displaying the prompt information groups associated with the selected area in the at least one prompt information group in a first state, and displaying the prompt information groups except the prompt information groups associated with the selected area in the at least one prompt information group in a second state.
The media content generating device provided by the embodiment of the disclosure can execute the media content generating method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of executing the media content generating method. Technical details not described in detail in this embodiment may be referred to the method for generating media content provided in any embodiment of the present disclosure.
Referring now to fig. 7, a schematic diagram of an electronic device (e.g., terminal device) 700 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, the electronic device 700 may include a processing means (e.g., a central processor, a graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
In general, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 shows an electronic device 700 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 709, or installed from storage 708, or installed from ROM 702. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 701.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying at least one prompt message group, wherein the prompt message group comprises at least one candidate prompt message which is used for describing the content characteristics of target media content; determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in at least one prompt information group; displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, example 1 provides a method of generating media content, comprising:
displaying at least one prompt message group, wherein the prompt message group comprises at least one candidate prompt message which is used for describing the content characteristics of target media content;
determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in at least one prompt information group;
displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
According to one or more embodiments of the present disclosure, example 2 is the method of example 1, wherein the media content frame of the target media content is obtained by processing the media content frame of the original media content based on the target cue information; before the presenting of the at least one hint information set, the method further comprises:
acquiring original media content to be processed;
The displaying at least one hint information set includes:
And displaying at least one prompt information group corresponding to the original media content.
Example 3 according to the method of example 2, different original media content corresponds to different sets of hints information in accordance with one or more embodiments of the present disclosure; or alternatively
Different candidate prompt messages are contained in the prompt message groups corresponding to different original media contents; or alternatively
Different original media contents correspond to different display orders, and the display orders comprise the display order of the at least one prompt information group and/or the display order of candidate prompt information in the prompt information group.
According to one or more embodiments of the present disclosure, example 4 is the method of example 1, wherein the at least one hint information group belongs to a same hint dimension, and different hint dimensions correspond to different description dimensions of the content feature.
According to one or more embodiments of the present disclosure, example 5 is the method of example 4, the presenting at least one hint information set, comprising:
displaying different prompt information groups in different subareas of the prompt information display area; the different prompt information sets comprise candidate prompt information of different types, and the candidate prompt information of different types is used for describing attribute information of different types of the target media content.
According to one or more embodiments of the present disclosure, the method of example 6 according to example 4, before said presenting the at least one hint information set, further comprises:
and responding to the prompt information input operation, displaying the prompt information input area and the dimension information of at least one prompt dimension, wherein the dimension information is used for triggering and displaying at least one prompt information group in the prompt dimension corresponding to the dimension information.
According to one or more embodiments of the present disclosure, example 7 further includes, after determining the first hint information from the candidate hint information according to the method of example 1:
And displaying the first prompt information in the prompt information input area.
According to one or more embodiments of the present disclosure, example 8 is the method of example 1, wherein the target prompt further includes a second prompt, and the second prompt is input into the prompt input area by means of a character input.
According to one or more embodiments of the present disclosure, example 9 is the method of example 8, wherein the at least one hint information group is a first hint information group, and the first hint information group is different from a second hint information group to which the second hint information belongs; or alternatively
The at least one prompt information set comprises a first prompt information set and a second prompt information set, and the first prompt information set is displayed before the second prompt information set.
According to one or more embodiments of the present disclosure, example 10 is the method of example 8, the determining, in response to an information selection operation for at least one of the candidate hints information in the at least one hint information group, a first hint information among the candidate hints information, comprising:
responding to information selection operation aiming at least one candidate prompt information in the at least one prompt information group, and displaying target candidate prompt information as a selected state, wherein the target candidate prompt information is candidate prompt information corresponding to the information selection operation;
and responding to the first confirmation operation, and determining the candidate prompt information in the selected state as first prompt information.
According to one or more embodiments of the present disclosure, example 11 is the method of example 10, the presenting the target candidate hint information as a selected state, comprising:
displaying the target candidate prompt information displayed in a first area as a preset display style, wherein the first area is used for displaying the at least one prompt information group; and/or
And displaying the target candidate prompt information in a second area, wherein the second area is used for displaying the candidate prompt information in the selected state.
According to one or more embodiments of the present disclosure, example 12 is the method of example 10, the presenting the target candidate hint information as a selected state, comprising at least one of:
If the target candidate prompt information meets a preset selection condition, displaying the target candidate prompt information as a selected state;
If the target candidate prompt information does not meet the preset selection condition, displaying selection confirmation information; responding to a second confirmation operation based on the selection confirmation information, displaying the target candidate prompt information as a selected state, and deleting the prompt information which causes the target candidate prompt information not to meet the preset selection condition in a target area, wherein the target area comprises the prompt information input area and/or a second area;
Wherein, the preset conditions include: and (3) no repeated prompt information exists between the target candidate prompt information and the prompt information in the target area, and/or no contradiction prompt information exists between the target candidate prompt information and the prompt information in the target area.
According to one or more embodiments of the present disclosure, example 13, the method of any one of examples 1-12, further comprising, prior to the presenting the target media content generated based on the target cue information:
responding to the moisturizing operation aiming at the prompt information to be moisturized in the target prompt information, and acquiring the moisturizing prompt information corresponding to the prompt information to be moisturized, wherein the moisturizing prompt information is obtained by carrying out moisturizing treatment on the prompt information to be moisturized;
and replacing the prompt information to be moistened with the prompt information to moisten.
According to one or more embodiments of the present disclosure, example 14 is the method of example 13, wherein the prompt to be colored is a prompt in a selected state from the target prompts; or alternatively
The prompt message to be moistened is a prompt message which is not in a selected state in the target prompt messages.
According to one or more embodiments of the present disclosure, example 15 is the method of any one of examples 1-12, further comprising:
in response to a region selection operation acting on the original media content and/or the target media content, displaying the one of the at least one group of cues associated with a selected region in a first state and displaying the one of the at least one group of cues other than the one associated with the selected region in a second state
Example 16 provides an apparatus for generating media content, according to one or more embodiments of the present disclosure, comprising:
The prompt information display module is used for displaying at least one prompt information group, wherein the prompt information group comprises at least one candidate prompt information which is used for describing the content characteristics of target media content;
the prompt information determining module is used for responding to the information selection operation of at least one candidate prompt information in the at least one prompt information group and determining first prompt information in the candidate prompt information;
The media content display module is used for displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
Example 17 provides an electronic device according to one or more embodiments of the present disclosure, comprising:
One or more processors;
a memory for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of generating media content as described in any of examples 1-15.
Example 18 provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of generating media content as described in any of examples 1-15, according to one or more embodiments of the present disclosure.
Example 19 provides a computer program product that, when executed by a computer, causes the computer to implement a method of generating media content as described in any of examples 1-15, in accordance with one or more embodiments of the present disclosure.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
Claims (19)
1. A method of generating media content, comprising:
displaying at least one prompt message group, wherein the prompt message group comprises at least one candidate prompt message which is used for describing the content characteristics of target media content;
determining first prompt information in candidate prompt information in response to information selection operation aiming at least one candidate prompt information in at least one prompt information group;
displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
2. The method of claim 1, wherein the media content frames of the target media content are processed from media content frames of the original media content based on the target cue information; before the presenting of the at least one hint information set, the method further comprises:
acquiring original media content to be processed;
The displaying at least one hint information set includes:
And displaying at least one prompt information group corresponding to the original media content.
3. The method of claim 2, wherein different original media content corresponds to different sets of hints information; or alternatively
Different candidate prompt messages are contained in the prompt message groups corresponding to different original media contents; or alternatively
Different original media contents correspond to different display orders, and the display orders comprise the display order of the at least one prompt information group and/or the display order of candidate prompt information in the prompt information group.
4. The method of claim 1, wherein the at least one hint information set belongs to the same hint dimension, different hint dimensions corresponding to different description dimensions of the content feature.
5. The method of claim 4, wherein the presenting at least one hint group comprises:
displaying different prompt information groups in different subareas of the prompt information display area; the different prompt information sets comprise candidate prompt information of different types, and the candidate prompt information of different types is used for describing attribute information of different types of the target media content.
6. The method of claim 4, further comprising, prior to said presenting the at least one alert information set:
and responding to the prompt information input operation, displaying the prompt information input area and the dimension information of at least one prompt dimension, wherein the dimension information is used for triggering and displaying at least one prompt information group in the prompt dimension corresponding to the dimension information.
7. The method of claim 1, further comprising, after determining a first hint information from the candidate hint information:
And displaying the first prompt information in the prompt information input area.
8. The method of claim 1, wherein the target prompt further includes a second prompt, the second prompt being entered into the prompt input area by way of a character input.
9. The method of claim 8, wherein the at least one hint information set is a first hint information set that is different from a second hint information set to which the second hint information belongs; or alternatively
The at least one prompt information set comprises a first prompt information set and a second prompt information set, and the first prompt information set is displayed before the second prompt information set.
10. The method of claim 8, wherein the determining a first hint information among the candidate hints information in response to an information selection operation for at least one of the candidate hints information in the at least one hint information set comprises:
responding to information selection operation aiming at least one candidate prompt information in the at least one prompt information group, and displaying target candidate prompt information as a selected state, wherein the target candidate prompt information is candidate prompt information corresponding to the information selection operation;
and responding to the first confirmation operation, and determining the candidate prompt information in the selected state as first prompt information.
11. The method of claim 10, wherein the presenting the target candidate hint information as a selected state comprises:
displaying the target candidate prompt information displayed in a first area as a preset display style, wherein the first area is used for displaying the at least one prompt information group; and/or
And displaying the target candidate prompt information in a second area, wherein the second area is used for displaying the candidate prompt information in the selected state.
12. The method of claim 10, wherein the presenting the target candidate hint information as a selected state comprises at least one of:
If the target candidate prompt information meets a preset selection condition, displaying the target candidate prompt information as a selected state;
If the target candidate prompt information does not meet the preset selection condition, displaying selection confirmation information; responding to a second confirmation operation based on the selection confirmation information, displaying the target candidate prompt information as a selected state, and deleting the prompt information which causes the target candidate prompt information not to meet the preset selection condition in a target area, wherein the target area comprises the prompt information input area and/or a second area;
Wherein, the preset conditions include: and (3) no repeated prompt information exists between the target candidate prompt information and the prompt information in the target area, and/or no contradiction prompt information exists between the target candidate prompt information and the prompt information in the target area.
13. The method of any of claims 1-12, further comprising, prior to the presenting the target media content generated based on the target cue information:
responding to the moisturizing operation aiming at the prompt information to be moisturized in the target prompt information, and acquiring the moisturizing prompt information corresponding to the prompt information to be moisturized, wherein the moisturizing prompt information is obtained by carrying out moisturizing treatment on the prompt information to be moisturized;
and replacing the prompt information to be moistened with the prompt information to moisten.
14. The method of claim 13, wherein the prompt message to be rendered is a prompt message in a selected state from the target prompt messages; or alternatively
The prompt message to be moistened is a prompt message which is not in a selected state in the target prompt messages.
15. The method according to any one of claims 1-12, further comprising:
In response to a region selection operation acting on the original media content and/or the target media content, displaying the cue information sets associated with the selected region of the at least one cue information set in a first state, and displaying cue information sets other than the cue information sets associated with the selected region of the at least one cue information set in a second state.
16. A media content generation apparatus, comprising:
The prompt information display module is used for displaying at least one prompt information group, wherein the prompt information group comprises at least one candidate prompt information which is used for describing the content characteristics of target media content;
the prompt information determining module is used for responding to the information selection operation of at least one candidate prompt information in the at least one prompt information group and determining first prompt information in the candidate prompt information;
The media content display module is used for displaying the target media content generated based on the target prompt information; the target prompt information comprises the first prompt information.
17. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating media content of any one of claims 1-15.
18. A computer readable storage medium storing computer instructions for causing a processor to perform the method of generating media content according to any one of claims 1-15.
19. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of generating media content according to any of claims 1-15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410269150.6A CN118034562A (en) | 2024-03-08 | 2024-03-08 | Method, device, electronic equipment, storage medium and program product for generating media content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410269150.6A CN118034562A (en) | 2024-03-08 | 2024-03-08 | Method, device, electronic equipment, storage medium and program product for generating media content |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118034562A true CN118034562A (en) | 2024-05-14 |
Family
ID=90991215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410269150.6A Pending CN118034562A (en) | 2024-03-08 | 2024-03-08 | Method, device, electronic equipment, storage medium and program product for generating media content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118034562A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100253952A1 (en) * | 2009-04-03 | 2010-10-07 | Xerox Corporation | Method and apparatus for confirming attributes of media loaded in a media tray in an image production device |
CN108227950A (en) * | 2016-12-21 | 2018-06-29 | 北京搜狗科技发展有限公司 | A kind of input method and device |
CN110851628A (en) * | 2019-09-29 | 2020-02-28 | 上海萌家网络科技有限公司 | Input method, client side thereof and method for providing candidate pictures/videos |
CN113961794A (en) * | 2021-08-31 | 2022-01-21 | 北京字节跳动网络技术有限公司 | Book recommendation method and device, computer equipment and storage medium |
CN114708050A (en) * | 2021-12-20 | 2022-07-05 | 北京达佳互联信息技术有限公司 | Label selection method, device, equipment, program and storage medium |
-
2024
- 2024-03-08 CN CN202410269150.6A patent/CN118034562A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100253952A1 (en) * | 2009-04-03 | 2010-10-07 | Xerox Corporation | Method and apparatus for confirming attributes of media loaded in a media tray in an image production device |
CN108227950A (en) * | 2016-12-21 | 2018-06-29 | 北京搜狗科技发展有限公司 | A kind of input method and device |
CN110851628A (en) * | 2019-09-29 | 2020-02-28 | 上海萌家网络科技有限公司 | Input method, client side thereof and method for providing candidate pictures/videos |
CN113961794A (en) * | 2021-08-31 | 2022-01-21 | 北京字节跳动网络技术有限公司 | Book recommendation method and device, computer equipment and storage medium |
CN114708050A (en) * | 2021-12-20 | 2022-07-05 | 北京达佳互联信息技术有限公司 | Label selection method, device, equipment, program and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114003326B (en) | Message processing method, device, equipment and storage medium | |
CN111510760A (en) | Video information display method and device, storage medium and electronic equipment | |
CN110070593B (en) | Method, device, equipment and medium for displaying picture preview information | |
US11856152B2 (en) | Video special effect configuration file generation method and apparatus, and video rendering method and apparatus | |
CN111970571B (en) | Video production method, device, equipment and storage medium | |
CN112667118A (en) | Method, apparatus and computer readable medium for displaying historical chat messages | |
CN115379136B (en) | Special effect prop processing method and device, electronic equipment and storage medium | |
CN112380365A (en) | Multimedia subtitle interaction method, device, equipment and medium | |
CN112000267A (en) | Information display method, device, equipment and storage medium | |
CN113010698A (en) | Multimedia interaction method, information interaction method, device, equipment and medium | |
CN113238688B (en) | Form display method, device, equipment and medium | |
CN109683726B (en) | Character input method, character input device, electronic equipment and storage medium | |
CN116304132A (en) | Interaction method, device, equipment and storage medium based on media content | |
CN115269920A (en) | Interaction method, interaction device, electronic equipment and storage medium | |
CN118034562A (en) | Method, device, electronic equipment, storage medium and program product for generating media content | |
CN113836415A (en) | Information recommendation method, device, medium and equipment | |
CN114968463B (en) | Entity display method, device, equipment and medium | |
CN115499672B (en) | Image display method, device, equipment and storage medium | |
CN114339356B (en) | Video recording method, device, equipment and storage medium | |
CN116886989A (en) | Method and device for generating media content, electronic equipment and storage medium | |
CN116704078A (en) | Media content display method, device, equipment and storage medium | |
CN117435808A (en) | Material display method, device, equipment and storage medium | |
CN117707674A (en) | Information display method, device, medium and electronic equipment | |
CN117519563A (en) | Interface interaction method and device, electronic equipment and storage medium | |
CN116301528A (en) | Interaction method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |