Special effect editing method and device, special effect interaction method and device, equipment and storage medium
By receiving texture creation requests and generation parameters, texture materials are created to generate target special effects, solving the problem of low efficiency in special effects editing in existing technologies and achieving a more efficient special effects creation and a richer special effects editing experience.
Patent Information
- Application Number
- CN202410620756.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2025-11-18
AI Technical Summary
Existing technologies struggle to achieve precise control over video and image effects, resulting in low efficiency in effects editing.
By receiving a texture creation request, the texture generation component is presented, generation parameters are obtained, texture materials are created, and target effects are generated based on the texture materials.
It improved the efficiency of special effects editing and enhanced the richness and fun of special effects creation.
Smart Images

Figure CN120976329A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, apparatus, device and computer readable storage medium for special effect editing and special effect interaction. BACKGROUND
[0002] With the development of computer technology, the Internet has become an important platform for creating and sharing media content. In the process of creating media content, video special effects and picture special effects are often used by users in the creation process. Such special effects can enrich the media content created by the user and improve the interesting degree of the content. SUMMARY
[0003] In a first aspect of the present disclosure, a method for special effect editing is provided. The method comprises: creating a first image transmission component in a special effect editing interface, the first image transmission component being associated with a first index, the first image transmission component being configured to present a first element at a first position, the first element being generated based on a first image uploaded by a user in a process of using a special effect; in response to receiving a preset request for the first image transmission component, creating a second image transmission component, the second image transmission component being associated with the first index, the second image transmission component being configured to present a second element at a second position, the second element being generated based on the first image uploaded by the user in the process of using the special effect; and generating a special effect file based on the first image transmission component and the second image transmission component.
[0004] In a second aspect of the present disclosure, a method for special effect interaction is provided. The method comprises: presenting an interaction interface of a target special effect, the target special effect comprising at least a first image transmission component and a second image transmission component; generating a first element corresponding to the first image transmission component and a second element corresponding to the second image transmission component based on a first image uploaded by a user; presenting the first element at a first position of the interaction interface and presenting the second element at a second position, the first position corresponding to the first image transmission component, and the second position corresponding to the second image transmission component.
[0005] In a third aspect of the present disclosure, an apparatus for special effect editing is provided. The apparatus comprises: a first creating module configured to create a first image transmission component in a special effect editing interface, the first image transmission component being associated with a first index, the first image transmission component being configured to present a first element at a first position, the first element being generated based on a first image uploaded by a user in a process of using a special effect; a second creating module configured to, in response to receiving a preset request for the first image transmission component, create a second image transmission component, the second image transmission component being associated with the first index, the second image transmission component being configured to present a second element at a second position, the second element being generated based on the first image uploaded by the user in the process of using the special effect; and a special effect generating module configured to generate a special effect file based on the first image transmission component and the second image transmission component.
[0006] In a fourth aspect of the disclosure, an apparatus for special effect interaction is provided. The apparatus includes: an interface presenting module configured to present an interactive interface of a target special effect, the target special effect comprising at least a first image component and a second image component; an element generating module configured to generate a first element corresponding to the first image component and a second element corresponding to the second image component based on a first image uploaded by a user; and an element presenting module configured to present the first element at a first position of the interactive interface and present the second element at a second position of the interactive interface, the first position corresponding to the first image component and the second position corresponding to the second image component.
[0007] In a fifth aspect of the disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect or the second aspect.
[0008] In a sixth aspect of the disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect or the second aspect.
[0009] It should be understood that the contents described in this section are not intended to limit the key features or important features of the embodiments of the disclosure, nor are they used to limit the scope of the disclosure. Other features of the disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
[0011] FIG. 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure can be implemented is shown;
[0012] FIGS. 2A-2C An example editing interface according to some embodiments of the disclosure is shown;
[0013] FIGS. 3A-3C An example interaction interface according to some embodiments of the disclosure is shown;
[0014] FIG. 4 A flowchart of an example process of special effect editing according to some embodiments of the disclosure is shown;
[0015] FIG. 5 A flowchart of an example process of special effect interaction according to some embodiments of the disclosure is shown;
[0016] FIG. 6 a schematic structural block diagram of an example apparatus for special effect editing is shown in accordance with some embodiments of the present disclosure;
[0017] FIG. 7 a schematic structural block diagram of an example apparatus for special effect interaction is shown in accordance with some embodiments of the present disclosure; and
[0018] FIG. 8 a block diagram of an electronic device capable of implementing a number of embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0019] Embodiments of the present disclosure will be described in more detail with reference to the drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It will be appreciated that the drawings described herein are for illustrative purposes and are not intended to limit the scope of the present disclosure.
[0020] It should be noted that the headings provided herein are not limitations of the various embodiments described herein. The various embodiments described throughout this document can be included under any heading. Additionally, embodiments described in any heading can be combined with any other embodiment described in the same heading and / or a different heading in any manner.
[0021] In the description of embodiments of the present disclosure, the term "includes" and its derivatives are to be interpreted as including but not limited to. The term "based on" is to be interpreted as "based, at least in part, on". The term "one embodiment" or "an embodiment" are to be interpreted as "at least one embodiment". The term "some embodiments" are to be interpreted as "at least some embodiments". Other explicit and implicit definitions can also be included below. The terms "first", "second", etc. can refer to different or same objects. Other explicit and implicit definitions can also be included below.
[0022] The data of the user, the acquisition and / or use of the data, etc. can be involved in the embodiments of the present disclosure. These aspects all comply with the corresponding laws and regulations and relevant provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are performed on the premise that the user is aware of and confirms. Accordingly, when implementing the embodiments of the present disclosure, the type of data or information that can be involved, the use range, the use scenario, etc. should be notified to the user and the authorization of the user should be obtained through appropriate means according to the relevant laws and regulations. The specific notification and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this aspect.
[0023] In the present specification and embodiments, if personal information processing is involved, it will be processed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the prescribed or agreed range. The user refuses to process personal information other than the necessary information required for the basic function, which does not affect the user's use of the basic function.
[0024] As mentioned above, in the creation process of media content, video effects and picture effects are often used by users in the creation process as a creation means. Such effects can enrich the media content created by the user and improve the interesting degree of the content.
[0025] Some traditional solutions may, for example, support the introduction of generative artificial intelligence technology to, for example, provide transformation effects between different images. However, the control ability of developers on such change effects is relatively limited, and it is difficult to realize the development of more fine effects.
[0026] Embodiments of the present disclosure propose a scheme for effect editing. According to the scheme, a texture generation component can be presented based on a received texture creation request; at least one generation parameter is obtained via the texture generation component, the at least one generation parameter including prompt information; a texture material is created based on the at least one generation parameter; and a target effect is generated based on the texture material.
[0027] In this way, embodiments of the present disclosure can add texture materials related to generating content based on a prompt word in the process of creating effects, thereby improving the efficiency of effect editing.
[0028] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0029] Example Environment
[0030] FIG. 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. As shown in FIG. 1, the environment 100 includes a client device 110, a server 120, and a network 130. FIG. 1As shown, the example environment 100 can include an electronic device 110.
[0031] In this example environment 100, the electronic device 110 can be running an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include, but are not limited to, a special effect editing application and a special effect interaction application. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0032] In FIG. 1 In the example environment 100, the electronic device 110 can present an interface 150 for supporting interface interaction via the application 120 if the application 120 is in an active state.
[0033] In some embodiments, the electronic device 110 communicates with a server 130 to enable provisioning of services to the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) device, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as “wearable” circuitry, etc.).
[0034] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 can provide background services for the application 120 in the electronic device 110 that supports virtual scenes.
[0035] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0036] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0037] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0038] Effect Creation
[0039] The following will combine FIGS. 2A-2C This describes the special effects editing process according to some embodiments of the present disclosure. FIGS. 2A-2C Example editing interfaces 200A-200C according to some embodiments of the present disclosure are shown. Editing interfaces 200A-200C may, for example, be provided by... FIG. 1 The electronic device 110 shown is provided. As an example, interfaces 200A-200C can be editing interfaces used for editing special effects.
[0040] In some embodiments, the electronic device 110 can receive a component creation request initiated by a user in the editing interface 200A. Accordingly, the electronic device 110 can create a corresponding image transfer component 205, also known as an image transfer texture, in the editing interface 200A.
[0041] In some embodiments, such an image transmission component can be configured to receive images uploaded by users during special effects interactions and display elements generated based on those images at corresponding locations in the interface.
[0042] by FIG. 2A As an example, during the editing of special effects, the electronic device 110 may receive image 235 to simulate an image uploaded by the user. Accordingly, in the preview window 210, the electronic device 110 may display the element 230 generated based on image 235 at the corresponding position of the image transmission component 205.
[0043] In some embodiments, the electronic device 110 may present a configuration window 215 in an interface 200A. The configuration window 215 may be used to configure at least one attribute of the image transmission component 205.
[0044] As an example, electronic device 110 can display the index 220 of the image transmission component 205 in the configuration window 215. Such index 220 may be automatically assigned by electronic device 110, for example.
[0045] Additionally, the electronic device 110 can also determine a first mode for generating element 230 via controls in configuration window 215. In some embodiments, such a first mode may indicate an image segmentation mode for segmenting element 230 from image 235. Alternatively, such a first mode may also include other suitable image processing modes, for example.
[0046] Furthermore, such as FIG. 2A As shown, the electronic device 110 can provide a set of candidate segmentation modes via a configuration window 215, and can receive a user's selection of a first mode 225 from the set of candidate segmentation modes. For example, the first mode 225 could indicate that image segmentation should not be performed on image 235. Accordingly, the element 230 displayed in the interface could correspond, for example, to the original image 235.
[0047] Further reference FIG. 2B The electronic device 110 can also receive preset operations (e.g., copy operations) from the user for the image transfer component 205, and can create the image transfer component 240 accordingly based on the image transfer component 205.
[0048] The image transfer component 240 constructed in this way can, for example, have the same index 220 as the image transfer component 205. For example, both the image transfer component 205 and the image transfer component 240 can be associated with index "0".
[0049] In the summary of special effects interaction, the image transfer component 240 can be configured to generate elements based on the same uploaded image corresponding to the image transfer component 205, and display them at the corresponding positions. FIG. 2B As an example, in preview mode, electronic device 110 can generate element 250 based on the same image 235 and display it at the corresponding position in preview window 210.
[0050] In some embodiments, the electronic device 110 can also view or modify at least one property of the image transmission component 240 through the configuration window 215. As an example, the electronic device 110 can display the index 220 of the image transmission component 240.
[0051] Additionally, the electronic device 110 can also support the user to configure a second mode for generating the element 250 based on the image 235 via the configuration window 215. In some embodiments, such a second mode can indicate an image segmentation mode for segmenting the element 250 from the image 235. Alternatively, such a second mode may, for example, also include other appropriate image processing modes.
[0052] Further, as FIG. 2B indicated, the electronic device 110 can provide a set of candidate segmentation modes via the configuration window 215, and can receive the user’s selection of a second mode 245 from the set of candidate segmentation modes. As an example, the second mode 245 may, for example, indicate segmenting a specified object, such as a torso object, from the image 235. Accordingly, the element 250 displayed in the interface may, for example, correspond to the torso object segmented from the image 235.
[0053] Thus, the electronic device 110 can support associating multiple image transfer components to the same uploaded image, such that the user can generate multiple elements in a special effect by uploading a single image. Furthermore, the electronic device 110 can also support the user to independently configure the generation mode, such as the image segmentation mode, for each element, thereby enabling the user to create a more rich special effect for the scene.
[0054] With continued reference to FIG. 2C , the electronic device 110 may, for example, also receive the user’s request to create a new image transfer component, and can accordingly create the image transfer component 265. As FIG. 2C indicated, the created image transfer component 265 may, for example, be associated with a different index 270, such as “1”. As an example, the index 270 can be determined based on the maximum index in the existing conventional components, such that the image transfer components have consecutive indices.
[0055] Furthermore, such an image transfer component 265 can be configured to receive another image uploaded by the user, and can generate a corresponding element based on the other image, and display the element at a corresponding position in the interface.
[0056] With the preview mode as shown in FIG. 2C , the electronic device 110 may, for example, obtain an image 280 to simulate the image uploaded by the user. As can be seen, the image 280 may, for example, be different from the image 235 mentioned above. Further, the electronic device 110 can generate an element 285 based on the image 280, and display the element 285 at a corresponding position in the preview window 210.
[0057] Further, as FIG. 2CAs shown, the electronic device 110 can further support the user to view or edit at least one property of the transfer component 265 in the configuration window 215. Specifically, the electronic device 110 can support the user to configure, via the configuration window 215, a third mode for generating the element 285 based on the image 280. In some embodiments, such third mode can indicate an image segmentation mode for segmenting the element 285 out of the image 280. Alternatively, such third mode may, for example, further include other appropriate image processing modes.
[0058] Further, as shown, the electronic device 110 can provide a set of candidate segmentation modes via the configuration window 215, and can receive a user selection of a third mode 275 from the set of candidate segmentation modes. As an example, the third mode 275 may, for example, indicate segmenting a specified object, e.g., a subject object, out of the image 280 (i.e., segmenting a subject in the image). Accordingly, the element 285 displayed in the interface may, for example, correspond to the subject object segmented out of the image 280. FIG. 2C
[0059] In this way, the electronic device 110 can support the user to create multiple transfer components in the special effect, which can be configured independently of each other, or can be configured in association, thereby supporting the user to create a more rich special effect interactive scenario.
[0060] It should be appreciated that the above-mentioned types, positions, properties, numbers, orders, etc. of the specific transfer components are intended as examples, and embodiments of the present disclosure can create corresponding transfer components according to actual needs based on the above-mentioned manners.
[0061] In some embodiments, the electronic device 110 can further receive various editing operations of the user on the transfer component, e.g., adding a motion effect, transforming, etc. The present disclosure is not intended to limit the subsequent editing process of the transfer component.
[0062] Further, the electronic device 110 can generate a corresponding special effect file based on the received publishing request. Such special effect file may, for example, be saved locally, or can be uploaded to the server 130.
[0063] Effect Interaction
[0064] The special effect interactive process according to some embodiments of the present disclosure will be described below in conjunction with FIGS. 3A-3C FIGS. 3A-3C Example interactive interfaces 300A-300C according to some embodiments of the present disclosure are shown. The interfaces 300A-300C may, for example, be provided by the electronic device 110 shown. FIG. 1
[0065] As an example,FIG. 3A For example, the preview interface 300A can correspond to a target special effect. The target special effect may, for example, be created based on the special effect editing process described above. As an example, such a target special effect may, for example, be associated with a plurality of image transfer components, e.g., image transfer component 310, image transfer component 320, and image transfer component 330. As an example, in the preview state, such image transfer components 310, 320, and 330 may, for example, display initial elements.
[0066] Further, the electronic device 110 can receive an upload request of the user, and can display an upload interface 300B as shown. FIG. 3B As an example, the electronic device 110 can receive a selection of the user for the image 340 and the image 350 among a plurality of images.
[0067] Further, the electronic device 110 can generate elements corresponding to the image transfer components 310 to 330. Specifically, as shown in FIG. 3C the image transfer component 310 and the image transfer component 320 may, for example, be associated with the same uploaded image, e.g., the image 340.
[0068] Further, the electronic device 110 can generate the element 360 and the element 370 based on the image 340, respectively. In some embodiments, the element 360 can be generated based on a first mode corresponding to the image transfer component 310 indicated by the target special effect; the element 370 can be generated based on a second mode corresponding to the image transfer component 320 indicated by the target special effect.
[0069] As introduced above, the first mode or the second mode can indicate an image segmentation mode of segmenting the element 360 or the element 370 from the image 340. As shown in FIG. 3C the first mode and the second mode can correspond to different image segmentation modes.
[0070] Additionally, the electronic device 110 can generate the element 380 corresponding to the image transfer component 330 based on the image 350. For example, the electronic device 110 can generate the element 380 based on a third mode indicated by the target special effect.
[0071] Further, as shown in FIG. 3C the electronic device 110 can display the generated elements 360, 370, and 380 at the corresponding positions of the image transfer components 310 to 330.
[0072] In some embodiments, as shown in FIG. 3B the image 340 and the image 350 may, for example, be uploaded based on a single upload operation of the user. For example, the user can select a plurality of images in the interface 300B, and upload by clicking the upload button.
[0073] In this case, the electronic device 110 can determine the corresponding transmission image component of the image 340 or the image 350 based on the order of the image 340 or the image 350 in the single upload operation.
[0074] Specifically, the electronic device 110 can determine the correspondence between the image uploaded by the user and the transmission image component based on the order of the image 340 or the image 350 and the matching between the indices of the transmission image components.
[0075] For example, the image 340 is the first image in the upload operation, and the indices of the transmission image component 310 and the transmission image component 320 are, for example, "0". Accordingly, the electronic device 110 can associate the image 340 to both the transmission image component 310 and the transmission image component 320 accordingly. As another example, the image 350 is the second image in the upload operation, and the index of the transmission image component 330 is, for example, "1". Accordingly, the electronic device 110 can associate the image 350 to the transmission image component 330 accordingly.
[0076] Thus, the electronic device 110 can support the user to upload a single image or multiple images to associate the images to multiple transmission image components through index management. In addition, the multiple transmission image components can also independently configure the corresponding element generation mode, thereby enriching the interactive scene of the special effect.
[0077] Example Process
[0078] FIG. 4 A flowchart of an example process 400 of special effect editing according to some embodiments of the present disclosure is shown. The process 400 can be implemented at the electronic device 110. The process 400 is described below with reference to FIG. 1 .
[0079] As shown, at block 410, the electronic device 110 creates a first transmission image component in a special effect editing interface, the first transmission image component is associated with a first index, and the first transmission image component is configured to present a first element at a first position, the first element being generated based on a first image uploaded in the process of using the special effect by the user.
[0080] At block 420, the electronic device 110 creates a second transmission image component in response to receiving a preset request for the first transmission image component, the second transmission image component is associated with the first index, and the second transmission image component is configured to present a second element at a second position, the second element being generated based on the first image uploaded in the process of using the special effect by the user.
[0081] At block 430, the electronic device 110 generates a special effect file based on the first transmission image component and the second transmission image component.
[0082] In some embodiments, the process 400 further includes: in response to receiving the request for creating the new image transfer component, creating a third image transfer component, the second image transfer component is associated with a second index, the third image transfer component is configured to present a third element at a third position, the third element is generated based on a second image uploaded by the user in the process of using the special effect.
[0083] In some embodiments, the process 400 further includes: obtaining first configuration information associated with the first image transfer component, the first configuration information indicates a first mode of generating the first element based on the first image; obtaining second configuration information associated with the second image transfer component, the second configuration information indicates a second mode of generating the second element based on the first image; wherein the first mode and the second mode are independently configured.
[0084] In some embodiments, the first mode or the second mode indicates an image segmentation mode of segmenting the first element or the second element from the first image.
[0085] In some embodiments, the first mode and the second mode correspond to different image segmentation modes.
[0086] In some embodiments, the first mode or the second mode indicates: no image segmentation processing is performed on the first image; or a specified entity is segmented from the first image.
[0087] In some embodiments, obtaining the first configuration information associated with the first image transfer component includes: presenting a configuration window associated with the first image transfer component in a special effect editing interface; presenting a set of candidate modes using a mode configuration control in the configuration window; and receiving a selection of the first mode from the set of candidate modes.
[0088] FIG. 5 A flowchart of an example process 500 of special effect editing is shown in accordance with some embodiments of the present disclosure. The process 500 can be implemented at the electronic device 110. The process 500 is described below with reference to FIG. 1 .
[0089] As shown, at block 510, the electronic device 110 presents an interactive interface of a target special effect, the target special effect including at least a first image transfer component and a second image transfer component.
[0090] At block 520, the electronic device 110 generates a first element corresponding to the first image transfer component and a second element corresponding to the second image transfer component based on a first image uploaded by the user.
[0091] At block 530, the electronic device 110 presents the first element at a first position of the interactive interface and presents the second element at a second position of the interactive interface, the first position corresponding to the first image transfer component, and the second position corresponding to the second image transfer component.
[0092] In some embodiments, the target special effect further includes a third image transmission component, and the process 500 further includes: generating a third element corresponding to the third image transmission component based on the second image uploaded by the user; and presenting the third element at a third position of the interactive interface, the third position corresponding to the third image transmission component.
[0093] In some embodiments, the process 500 further includes: obtaining multiple images uploaded by the user based on a single upload operation, the multiple images including the first image; and associating the first image to the first image transmission component and the second image transmission component based on an order of the first image in the single upload operation and a common index corresponding to the first image transmission component and the second image transmission component.
[0094] In some embodiments, generating the first element corresponding to the first image transmission component and the second element corresponding to the second image transmission component includes: determining a first mode corresponding to the first image transmission component and a second mode corresponding to the second image transmission component; and generating the first element and the second element based on the first image according to the first mode and the second mode, respectively.
[0095] In some embodiments, the first mode or the second mode indicates an image segmentation mode of segmenting the first element or the second element from the first image.
[0096] In some embodiments, the first mode and the second mode correspond to different image segmentation modes.
[0097] In some embodiments, the first mode or the second mode indicates that no image segmentation processing is performed on the first image, or that a specified entity is segmented from the first image.
[0098] Example Devices and Equipment
[0099] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above method or process. FIG. 6 A schematic structural block diagram of an example apparatus 600 for special effect editing is shown according to certain embodiments of the present disclosure. FIG. 7 A schematic structural block diagram of an example apparatus 700 for special effect interaction is shown according to certain embodiments of the present disclosure. The apparatus 600 and the apparatus 700 can be implemented as or included in the electronic device 110. Each module / component in the apparatus 600 and the apparatus 700 can be implemented by hardware, software, firmware, or any combination thereof.
[0100] As FIG. 6As shown, the apparatus 600 includes a first creating module 610 configured to create, at a special effect editing interface, a first image transmission component, the first image transmission component being associated with a first index, the first image transmission component being configured to present a first element at a first position, the first element being generated based on a first image uploaded in a process of using the special effect by a user; a second creating module 620 configured to, in response to receiving a preset request for the first image transmission component, create a second image transmission component, the second image transmission component being associated with the first index, the second image transmission component being configured to present a second element at a second position, the second element being generated based on the first image uploaded in the process of using the special effect by the user; and a special effect generating module 630 configured to generate a special effect file based on the first image transmission component and the second image transmission component.
[0101] In some embodiments, the first creating module 610 is further configured to: obtain first configuration information associated with the first image transmission component, the first configuration information indicating a first mode of generating the first element based on the first image; obtain second configuration information associated with the second image transmission component, the second configuration information indicating a second mode of generating the second element based on the first image; and wherein the first mode and the second mode are independently configured.
[0102] In some embodiments, the first creating module 610 is further configured to: obtain first configuration information associated with the first image transmission component, the first configuration information indicating a first mode of generating the first element based on the first image; obtain second configuration information associated with the second image transmission component, the second configuration information indicating a second mode of generating the second element based on the first image; and wherein the first mode and the second mode are independently configured.
[0103] In some embodiments, the first mode or the second mode indicates an image segmentation mode of segmenting the first element or the second element from the first image.
[0104] In some embodiments, the first mode and the second mode correspond to different image segmentation modes.
[0105] In some embodiments, the first mode or the second mode indicates that no image segmentation processing is performed on the first image, or that a specified entity is segmented from the first image.
[0106] In some embodiments, obtaining the first configuration information associated with the first image transmission component includes: presenting, at the special effect editing interface, a configuration window associated with the first image transmission component; presenting a set of candidate modes using a mode configuration control in the configuration window; and receiving a selection of the first mode from the set of candidate modes.
[0107] As FIG. 7As shown, the apparatus 700 includes an interface presenting module 710 configured to present an interactive interface of a target special effect, the target special effect comprising at least a first image transfer component and a second image transfer component; an element generating module 720 configured to generate a first element corresponding to the first image transfer component and a second element corresponding to the second image transfer component based on a first image uploaded by a user; and an element presenting module 730 configured to present the first element at a first position of the interactive interface and present the second element at a second position of the interactive interface, the first position corresponding to the first image transfer component and the second position corresponding to the second image transfer component.
[0108] In some embodiments, the target special effect further comprises a third image transfer component, and the method further comprises: generating a third element corresponding to the third image transfer component based on a second image uploaded by the user; and presenting the third element at a third position of the interactive interface, the third position corresponding to the third image transfer component.
[0109] In some embodiments, the element generating module 720 is further configured to: obtain a plurality of images uploaded by the user based on a single upload operation, the plurality of images comprising the first image; and associate the first image to the first image transfer component and the second image transfer component based on an order of the first image in the single upload operation and a common index corresponding to the first image transfer component and the second image transfer component.
[0110] In some embodiments, the generating the first element corresponding to the first image transfer component and the second element corresponding to the second image transfer component comprises: determining a first mode corresponding to the first image transfer component and a second mode corresponding to the second image transfer component; and generating the first element and the second element based on the first image according to the first mode and the second mode, respectively.
[0111] In some embodiments, the first mode or the second mode indicates an image segmentation mode of segmenting the first element or the second element from the first image.
[0112] In some embodiments, the first mode and the second mode correspond to different image segmentation modes.
[0113] In some embodiments, the first mode or the second mode indicates that no image segmentation processing is performed on the first image, or that a specified entity is segmented from the first image.
[0114] FIG. 8 A block diagram of an electronic device 800 in which one or more embodiments of the disclosure can be implemented is shown. It should be understood that FIG. 8 The electronic device 800 shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments described herein. FIG. 8 The electronic device 800 shown can be used to implement FIG. 1 the electronic device 110.
[0115] like FIG. 8 As shown, electronic device 800 is in the form of a general-purpose electronic device. Components of electronic device 800 may include, but are not limited to, one or more processors or processing units 810, memory 820, storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. Processing unit 810 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 820. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 800.
[0116] Electronic device 800 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 800, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 820 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 830 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 800.
[0117] Electronic device 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... FIG. 8 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 820 may include computer program product 825 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0118] The communication unit 840 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 800 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 800 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0119] Input device 850 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. Output device 860 can be one or more output devices, such as a display, a speaker, a printer, etc. Electronic device 800 can also communicate with one or more external devices (not shown), such as a storage device, a display device, etc., through communication unit 840, as desired, in order to communicate with a user in order to interact with electronic device 800, or to communicate with any device (e.g., a network card, a modem, etc.) that enables electronic device 800 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0120] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0121] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0122] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0123] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0124] The computer program product of the present disclosure can be a computer program product, which is a machine-readable medium (media) having instances of the software embodied thereon, such as computer software, firmware, wireless application protocol (WAP), middleware or microcode. For example, a computer program product can be a floppy disk, a CD-ROM, a DVD, a Blu-ray Disc™, a flash drive, a memory stick, a magnetic tape, or a hard disk drive. The machine-readable medium can be a single medium, or multiple media, of the same or different type. The computer program product can be one or more computer program components embodied in medium and / or transmission signals. The computer program product can have one or more computer program components embodied in medium and / or transmission signals.
[0125] The implementations of the disclosure have been described above with the intent to be illustrative rather than limiting. Although the implementations of the disclosure have been described with regard to one or more implementations, it will be recognized that a variety of modifications and changes can be made to these implementations without departing from the broader spirit and scope of the implementations as set forth in the preceding disclosure. For example, certain aspects of the implementations can be performed using hardware, software, and / or firmware, or any combination thereof. The above-described implementations should therefore be regarded as merely illustrative, and not as narrowing the scope of the disclosure, which is defined by the appended claims and their equivalents.
Claims
1. A method for special effects editing, comprising: In the special effects editing interface, a first image transmission component is created. The first image transmission component is associated with a first index. The first image transmission component is configured to present a first element at a first position. The first element is generated based on the first image uploaded by the user during the use of special effects. In response to receiving a preset request for the first image transmission component, a second image transmission component is created. The second image transmission component is associated with the first index and is configured to present a second element at a second position. The second element is generated based on the first image uploaded by the user during the use of the special effect. as well as Based on the first image transmission component and the second image transmission component, a special effects file is generated.
2. The method according to claim 1, further comprising: In response to receiving a request to create a new image transfer component, a third image transfer component is created. The second image transfer component is associated with a second index. The third image transfer component is configured to present a third element at a third position. The third element is generated based on a second image uploaded by the user during the use of the special effect.
3. The method according to claim 1, further comprising: Obtain first configuration information associated with the first image transmission component, the first configuration information indicating a first pattern for generating the first element based on the first image; Obtain second configuration information associated with the second image transmission component, the second configuration information indicating a second pattern for generating the second element based on the first image; The first mode and the second mode are configured independently.
4. The method of claim 3, wherein the first mode or the second mode indicates an image segmentation mode for segmenting the first element or the second element from the first image.
5. The method according to claim 4, wherein the first mode and the second mode correspond to different image segmentation modes.
6. The method of claim 4, wherein the first mode or the second mode indicates: Image segmentation processing is not performed on the first image; or Segment the specified entity from the first image.
7. The method according to claim 3, wherein obtaining the first configuration information associated with the first image transmission component includes: A configuration window associated with the first image transmission component is displayed in the special effects editing interface; A set of candidate modes is presented using the mode configuration control in the configuration window; as well as Receive the selection of the first mode from the set of candidate modes.
8. A special effects interaction method, comprising: An interactive interface that presents target special effects, wherein the target special effects include at least a first image transmission component and a second image transmission component; Based on the first image uploaded by the user, a first element corresponding to the first image transmission component and a second element corresponding to the second image transmission component are generated. The first element is presented at a first position and the second element is presented at a second position on the interactive interface, the first position corresponding to the first image transmission component and the second position corresponding to the second image transmission component.
9. The method of claim 8, wherein the target effect further includes a third image transmission component, and the method further includes: Based on the second image uploaded by the user, a third element corresponding to the third image transmission component is generated; as well as The third element is presented at a third position on the interactive interface, and the third position corresponds to the third image transmission component.
10. The method of claim 8, further comprising: Obtain multiple images uploaded by the user in a single upload operation, the multiple images including the first image; as well as Based on the order of the first image in the single upload operation and the common index corresponding to the first image transmission component and the second image transmission component, the first image is associated with the first image transmission component and the second image transmission component.
11. The method of claim 8, wherein generating the first element corresponding to the first image transmission component and the second element corresponding to the second image transmission component comprises: Determine the first mode corresponding to the first image transmission component and the second mode corresponding to the second image transmission component; as well as Based on the first image, the first element and the second element are generated according to the first mode and the second mode, respectively.
12. The method of claim 11, wherein the first mode or the second mode indicates an image segmentation mode for segmenting the first element or the second element from the first image.
13. The method of claim 11, wherein the first mode and the second mode correspond to different image segmentation modes.
14. The method of claim 12, wherein the first mode or the second mode indicates: Image segmentation processing is not performed on the first image; or Segment the specified entity from the first image.
15. An apparatus for special effects editing, comprising: The first creation module is configured to create a first image transmission component in the special effects editing interface. The first image transmission component is associated with a first index. The first image transmission component is configured to present a first element at a first position. The first element is generated based on the first image uploaded by the user during the use of special effects. The second creation module is configured to create a second image transmission component in response to receiving a preset request for the first image transmission component. The second image transmission component is associated with the first index and is configured to present a second element at a second position. The second element is generated based on the first image uploaded by the user during the use of the special effect. as well as The special effects generation module is configured to generate special effects files based on the first image transmission component and the second image transmission component.
16. A device for interactive special effects, comprising: The interface presentation module is configured to present an interactive interface for a target effect, wherein the target effect includes at least a first image transmission component and a second image transmission component. The element generation module is configured to generate a first element corresponding to the first image transmission component and a second element corresponding to the second image transmission component based on the first image uploaded by the user. An element presentation module is configured to present the first element at a first position and the second element at a second position on the interactive interface, the first position corresponding to the first image transmission component and the second position corresponding to the second image transmission component.
17. An electronic device comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 7 or 8 to 14 when executed by the at least one processing unit.
18. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 7 or 8 to 14.