A special effect generation method, apparatus, device and medium

By acquiring and parsing special effects description information and using intelligent system call tools to generate special effects packages, the problem of high barriers to special effects generation has been solved, and efficient and automated generation of motion control special effects has been achieved.

CN123177718APending Publication Date: 2026-11-27BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611544348.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, special effects generation has a high barrier to entry and low efficiency. It requires special effects personnel to manually configure visual algorithms, materials, post-processing, and runtime scripts, which is both knowledge-intensive and inefficient.

Method used

By acquiring the initial information describing action control effects, parsing it into trigger action information and visual performance information, and using intelligent system call tools to generate effect packages, fully automated effect generation is achieved, lowering the threshold and improving efficiency.

Benefits of technology

It achieves fully automated generation of motion control effects, lowers the threshold for effect generation, improves generation efficiency, and enhances the flexibility and accuracy to adapt to different effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177718A_ABST
    Figure CN123177718A_ABST
Patent Text Reader

Abstract

The present application relates to a special effect generation method, device, equipment and medium, wherein the method comprises: obtaining first information, wherein the first information is used to describe the effect of a first special effect, and the first special effect is a motion control type special effect; obtaining second information, wherein the second information is obtained by analyzing the first information, and the second information at least includes trigger action information and visual performance information; based on the second information, calling a tool to obtain a first special effect package, wherein the first special effect package is a special effect package of the first special effect. By using the above technical solution, the second information at least including the trigger action information and the visual performance information is obtained by analyzing the first information describing the motion control type special effect, and the tool is called based on the structured description information to generate the special effect package of the first special effect, so that the special effect package of the motion control type special effect can be automatically generated through the input of the special effect description, the problem of high threshold for special effect generation is avoided, and the special effect generation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This article relates to the field of computer technology, and in particular to a method, apparatus, device and medium for generating special effects. Background Technology

[0002] Real-time scene-based special effects are being used more and more, but these effects suffer from high generation barriers and low generation efficiency. Summary of the Invention

[0003] To address the aforementioned technical issues, this paper provides a method, apparatus, device, and medium for generating special effects.

[0004] This article provides a method for generating special effects, the method including: Obtain first information, wherein the first information is used to describe the effect of the first special effect, and the first special effect is a motion control type special effect; The second information is obtained by parsing the first information, and the second information includes at least: trigger action information and visual performance information; Based on the second information, the tool is invoked to obtain the first special effects package, which is the special effects package of the first special effects.

[0005] This article also provides a special effects generation device, the device comprising: The acquisition module is used to acquire first information, wherein the first information is used to describe the effect of the first special effect, and the first special effect is a motion control type special effect; The parsing module is used to obtain second information, which is obtained by parsing the first information. The second information includes at least: trigger action information and visual performance information. The calling module is used to call the tool based on the second information to obtain the first special effects package, wherein the first special effects package is the special effects package of the first special effect.

[0006] This document also provides an electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the executable instructions to implement the special effects generation method provided herein.

[0007] This document also provides a computer-readable storage medium storing a computer program for performing the special effects generation method provided herein.

[0008] The technical solution provided in this paper has the following advantages compared with existing technologies: The special effects generation scheme provided in this paper obtains first information, which describes the effect of a first special effect, and the first special effect is a motion control type special effect; it obtains second information, which is obtained by parsing the first information, and the second information includes at least: trigger action information and visual performance information; based on the second information, it calls a tool to obtain a first special effects package, which is a package of special effects for the first special effect. By adopting the above technical solution, by parsing the first information describing the motion control type special effect to obtain second information including at least trigger action information and visual performance information, and by calling a tool based on this structured description information, the special effects package for the first special effect is generated. This achieves fully automated generation of special effects packages for motion control type special effects simply by inputting a special effects description, avoiding the problem of high barriers to special effects generation and improving the efficiency of special effects generation. Attached Figure Description

[0009] The above and other features, advantages, and aspects of the embodiments herein will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0010] Figure 1 This is a schematic diagram of an interactive scenario provided in this article; Figure 2 This is a flowchart illustrating a special effects generation method provided in this article; Figure 3 This is a schematic diagram of a conversation page provided for this article; Figure 4 A flowchart illustrating another special effects generation method presented in this article; Figure 5 This is a schematic diagram illustrating a special effects processing procedure provided for this article; Figure 6 This article provides a structural schematic diagram of a special effects generation device; Figure 7 This is a schematic diagram of the structure of an electronic device provided in this article. Detailed Implementation

[0011] The present document will now be described in more detail with reference to the accompanying drawings. While some embodiments of the present document are shown in the drawings, it should be understood that the present document can be implemented in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided to provide a more thorough and complete understanding of the document. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of this document.

[0012] It should be understood that the steps described in the method embodiments herein may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this document is not limited in this respect.

[0013] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based 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". Definitions of other terms will be given in the description below.

[0014] It should be noted that the concepts of "first" and "second" mentioned in this article are only used to distinguish different devices, modules or units, and are not used to limit the order of the functions performed by these devices, modules or units or their interdependencies.

[0015] It should be noted that the terms "one" and "more" used in this document are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0016] The names of messages or information exchanged between multiple devices in the embodiments herein are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0017] In related technologies, special effects artists typically manually configure the visual algorithms, materials, post-processing, runtime scripts, and resources required for special effects. This requires them to be familiar with knowledge in multiple dimensions such as algorithms, materials, and scripts, which is a high barrier to entry and relatively inefficient.

[0018] To address the aforementioned issues, this paper presents a method for generating special effects, which will be described below with specific examples.

[0019] For example, Figure 1 This article provides a schematic diagram of an interactive scenario, such as... Figure 1As shown, the special effects generation method is applied to a special effects generation device, which is set in device 101 in the figure. Device 101 can be a client device, a server device, or a comprehensive device including a client module and a server module. It is used to realize the fully automatic generation of special effects files through a deployed intelligent system. Device 101 obtains first information describing the effect of motion control type special effects, and obtains second information including at least trigger action information and visual performance information by parsing the first information through the intelligent system. Based on the second information, it calls tools to generate a special effects package for the first special effect. Users can perform interactive operations on device 101. The arrows on device 101 indicate the interactive operations triggered by the user.

[0020] Figure 2 This is a flowchart illustrating a special effects generation method provided in this paper. This method can be executed by a special effects generation device, which can be implemented using software and / or hardware, and is generally integrated into an electronic device. Figure 2 As shown, the method includes: Step 201: Obtain first information, where the first information is used to describe the effect of the first special effect, which is a motion control type effect.

[0021] The first information can be information describing the special effect to be generated, and can include at least one of natural language text, images, and videos. The first special effect can be the special effect that the user currently wants to generate. The first special effect can include motion control effects, which are special effect types that drive changes in the rendering result based on the motion information of a specific object, realizing the correlation between the special effect and the motion of the specific object. The specific object can include a single hand, two hands, limbs, and other movable objects, etc. The motion information can include gesture motion information, limb motion information, etc. For example, the first special effect can include water flow effects, makeup effects, etc., and is not limited to any specific type.

[0022] The special effects generation device can display a conversation page. After detecting the user's input operation on the conversation page, it can obtain the first information of the user's input. The conversation page can be a page for conversing with the user. The conversation page can include functional controls such as input controls. The user's input information is received through the input controls. The input operation can be the operation of the input controls on the conversation page. The input controls can include image input controls for inputting images, text input controls for inputting natural language text, etc.

[0023] Exemplary Figure 3 This article provides a diagram of a conversation page, such as... Figure 3As shown in the figure, an exemplary session page 300 is illustrated. The session page 300 may include an input control 301, which the user triggers to input initial information. The input control may include a text input box and an image input control for natural language text input and image input.

[0024] Step 202: Obtain the second information. The second information is obtained by parsing the first information. The second information includes at least: trigger action information and visual performance information.

[0025] The second information can be a structured description obtained by parsing and formatting the first information. It can be expressed in a preset format to convert user-input descriptions into a unified format for subsequent processing. Trigger action information can be a description of the user's action to trigger the special effect display. Trigger action information includes at least trigger gesture information, which can be a description of an action that triggers the special effect using one or both hands, such as making a heart shape with hands. Visual performance information can describe the specific visual effects the special effect wants to present. For example, visual performance information can include local particles, object following, screen space distortion, lighting effects, color changes, material-based custom post-processing, dynamic lifecycle, etc., depending on the specific situation. Optionally, the second information may also include at least one of the following: action object information, area of ​​effect information, and effect type. The action object information may be an object that interacts with the first effect or triggers a change in the effect's state. For example, the action object information may include one hand or two hands. The area of ​​effect information may be the area in the interface where the effect takes effect. For example, the area of ​​effect may be a preset rectangular area or the entire interface. The effect type may be a classification of the effect according to the visual, auditory, or other effects presented. For example, the effect type may include performance-type, makeup-type, etc.

[0026] After acquiring the first information, the special effects generation device can input the first information into the intelligent system. The intelligent system can then analyze the first information to obtain multiple pieces of information, including at least trigger action information and visual performance information. These multiple pieces of information are then represented in a preset format to obtain the second information. By uniformly and structurally describing the special effects-related descriptive information input by the user, subsequent processing can be facilitated, thus improving efficiency.

[0027] Intelligent systems can be used to generate special effects packages, and can pre-deploy knowledge bases and tools for special effects package generation. In one scenario, an intelligent system is an information processing system. An intelligent system uses at least one or more models to process one or more inputs. An intelligent system may include one or more models as components, or it may use models external to the system for processing. Those skilled in the art will recognize that there are various implementations of intelligent systems in the industry, including but not limited to intelligent agents, AI assistants, AI workers, copilot systems, and chatbots. Inputs include data in one or more modalities. Modal data includes, but is not limited to, text, audio, images, video, application-specific data, or scientific computing data. Models include, but are not limited to, one or more combinations of the following: large-scale parametric models, deep learning models, neural network models, machine learning models, statistical models, rule-based models, or other models capable of processing inputs. Specific implementations of the models can employ various existing or improved models. Intelligent systems may involve one or more of the following operations: receiving single or multiple rounds of input; recognizing and / or understanding the input; generating answers, decisions, or processing results using one or more models; invoking one or more external tools, interfaces, knowledge bases, or other systems to obtain information or perform operations; processing tasks autonomously or through human-machine collaboration, or delegating tasks to human or other systems. Autonomous decision-making refers to execution without human intervention. Human-machine collaboration refers to partial human involvement or confirmation. The above explanation of "intelligent system" is illustrative, and all descriptions are examples, not all of which are necessary, nor do they constitute an exhaustive list.

[0028] Step 203: Based on the second information, call the tool to obtain the first special effects package. The first special effects package is the special effects package of the first special effects.

[0029] The tool can be the tool corresponding to the second information among multiple tools, used to generate the special effects package. The generation tool can include multiple first tools. The first tool can be a pre-set component with specific capabilities that needs to be called during the special effects package generation process. Various types of first tools can be pre-set, with different first tools corresponding to different capabilities. For example, multiple first tools can include material tools, detection tools, script tools, and scene tools, etc., and there is no specific limitation.

[0030] After obtaining the second information, the special effects generation device can query the tool catalog based on the second information. The tool catalog includes multiple first tools as tools. The device can call the tool to execute the corresponding capabilities and generate the first special effects package.

[0031] In one scenario, based on the second information, calling a tool to obtain a first effects package may include: determining multiple first tools based on the second information; calling the multiple first tools to obtain a first effects file; and obtaining a first effects package based on the first effects file.

[0032] A special effects file can be a data set including resources, data, scripts, etc., required to generate a complete special effects package. It can include information about multiple tools in the generation tool, as well as editable attributes and states. A special effects file can be an editable, verifiable, and previewable structured engineering data set. It can be modified by inputting a modification description in the intelligent system or by modifying it in the corresponding editing program; the specific modifications are not limited. Based on the special effects file, a special effects package can be generated. A special effects package can be a collection of props, code, and other resources used to process media content and present corresponding special effects. The special effects package can be provided to the client for user use; for example, a water flow effect package can be used to display water flow effects following finger swipes. The first special effects file can be a special effects file corresponding to the first information, and the first special effects package can be a special effects package corresponding to the first information.

[0033] After acquiring the second information, the special effects generation device can determine multiple corresponding first tools based on the second information. Then, according to the dependency order among the multiple first tools, each first tool is called sequentially from front to back to execute its corresponding function until all first tools have completed execution, outputting a first special effects file. In response to the export operation of the first special effects file, a special effects package of the first special effects can be generated. By calling the tool corresponding to the special effects description information to first generate an editable special effects file, and then further generating a special effects package based on the special effects file, the flexibility and efficiency of special effects generation are improved.

[0034] In one scenario, the second information also includes the area of ​​effect information. The multiple first tools include material tools, detection tools, script tools, and scene tools. Based on the second information, the multiple first tools are determined, which may include: obtaining the detection tool based on the trigger action information; obtaining the material tool based on the visual performance information, wherein the material tool corresponds to a first material type, and the first material type is obtained based on the visual performance information; and obtaining the script tool and the scene tool based on the visual performance information and the area of ​​effect information.

[0035] Material type can be used to characterize the data form, content attributes, or usage category of materials. Materials can be resource data that can generate visual effects through rendering. The first material type can be the specific type of the first material classification mentioned in the second information. The first material type can include material type, graphics type, etc. Material tool can be a tool used to generate materials. Different material types can correspond to different material tools. The first material tool can be the material tool corresponding to the first material type. For example, if the first material type is material, the first material tool is a material generation tool.

[0036] Detection tools can be used to detect objects participating in special effects during their application. They can be configured with visual detection algorithms and correspond to trigger action information. For example, trigger action information includes at least trigger gesture information, and the detection tool includes at least a gesture detection tool. The gesture detection tool is used to detect hands, and the detection results can include at least one of the following: left / right hand identifiers, gesture category, hand detection box, rotation angle, and hand keypoints. Script tools can be tools that generate special effects by running scripts. These scripts can establish a mapping relationship between the detection results of the detection tools and the materials, transmitting the detection results to materials to control dynamic changes in the materials. Dynamic changes can include, for example, showing / hiding, position changes, scaling, emission, and toggling. Scene tools can be tools that execute scene construction to generate special effects files according to the resource dependencies in the special effects. They can be used to configure objects generated by other tools and establish relationships.

[0037] When the special effects generation device determines multiple first tools based on the second information, it can analyze the corresponding action object according to the trigger action information in the second information, and then obtain the detection tool corresponding to the action object from the tool catalog. For example, when the action object is a single hand, two hands, or fingers, the detection tool is a gesture detection tool. It can also analyze the corresponding material type according to the visual performance information in the second information to obtain the first material type, and determine the material tool corresponding to the first material type. Based on the visual performance information and the area of ​​effect information, it can match the corresponding script tool and scene tool from the tool target. Then, it can extract the detection tool, material tool, script tool, and scene tool combination from the tool catalog to obtain the aforementioned tools. Extracting the corresponding tool according to the user's special effects description allows the tool to adapt to different special effects. Determining the corresponding material tool according to the involved material type allows it to adapt to special effects of different material types, preparing for the subsequent generation of special effects packages.

[0038] For example, Figure 4 A flowchart illustrating another special effects generation method provided in this article is shown below. Figure 4As shown, in one scenario, the tools include material tools, detection tools, script tools, and scene tools. Calling multiple first tools to obtain a first effects file can include: Step 401: Use the material tool to obtain the first material, where the first material corresponds to the first material type.

[0039] The first material can be the material used in the second information, or it can be the material corresponding to the first material type. Optionally, the first material can include at least one of a material file and an object file. When the first material type is a material, the material file can be a file that records texture, optical, or dynamic change attribute information generated for the special effect, which can be parsed and read by the rendering engine for rendering. For example, the material file can be a file used to present a water ripple effect. When the first material type is a graphics, the object file can be a file that encapsulates the associated data of the graphics object in the special effect. The graphics object can include, for example, images, filter effect resources, comic effect resources, etc. When the special effects generation device calls multiple first tools to obtain the first special effects file, it can first call the material tool to generate the first material according to the special effects type in the second information. For example, if the special effects type is a screen space-based visual effect, the generated first material can include custom materials with attributes such as original camera input, key point coordinates, intensity, radius, or texture. Among them, the modifiable attributes are declared as editable material attributes.

[0040] Step 402: Call the script tool to obtain the first script, wherein the first script is used to control the first material based on the detection results, and the detection results are obtained by the detection tool.

[0041] The first script can be the script that runs when the first special effect is used. In the first script, a mapping relationship between the detection results and the first material can be established. When used, the material is driven to present the corresponding visual effect based on the detection results. The detection results can be data obtained by detection tools when the first special effect is used. For example, the detection tool can detect the hand, and the detection results can include at least one of the following: left and right hand identifiers, gesture category, hand detection box, rotation angle, and hand key points.

[0042] After obtaining the first source material, the special effects generation device can invoke a scripting tool to convert the detection results into driving parameters and map these parameters to the first source material, thereby controlling the display of the first source material. This generates a first script containing this execution logic. The driving parameters can be coordinates obtained by converting the keypoint coordinates in the detection results to the coordinate system corresponding to the first source material. The coordinate system corresponding to the first source material can be the camera frame's and the first source material's sampling coordinate system. Specifically, coordinate conversion can be achieved by locating the coordinates based on the semantic index to the left of the keypoint. Furthermore, after coordinate conversion, operations such as inter-frame smoothing and loss retention can be included to ensure stable driving parameters. For example, the first script can be used to control the display of at least one special effects effect of the first source material, such as showing / hiding, position switching, scaling, emission, and transition, based on keypoint coordinates, posture, and gesture events in the camera frame.

[0043] Step 403: Call the scene tool to configure the detection tool, the first material, and the first script to obtain the first special effects file.

[0044] Scene tools can be tools that execute scene building and generate effect files according to the resource dependency order in the effect, and can be used to configure objects generated by other tools and establish relationships.

[0045] After obtaining the first material and generating the first script, the special effects generation device can call the scene tools to perform resource configuration, relationship binding and other operations on the detection tool, the first material and the first script according to the resource dependency order, and load them into the scene structure, and encapsulate them into the first special effects file based on the scene structure.

[0046] In one scenario, invoking a scene tool to configure a detection tool, a first source material, and a first script to obtain a first effects file may include: invoking the scene tool and configuring the detection tool; creating a first component and configuring the first source material within the first component to obtain a second component, the first component corresponding to the first source material; configuring first identification information in the first script to obtain a second script, wherein the first identification information is used to characterize the first source material; and obtaining the first effects file based on the detection tool, the second component, and the second script. Optionally, the first source material may include at least one of a material file and an object file, and the first component may include at least one of a post-processing component and an object component.

[0047] The first component can be a component that carries the first material and applies the first material to process the camera image to achieve the desired effect. It is used to assemble into the scene structure. The first component corresponds to the first material and can include at least one of a post-processing component and an object component. When the first material is a texture file, the first component is a post-processing component; when the first material is an object file, the first component is an object component. For example, when the object file is an image, the first component is an image component. The first component can be a component that has not yet been configured with materials, while the second component can be a component that has already been configured with the first material. The second script can be a script that binds the corresponding resource identification information to the declared resource fields of the first script.

[0048] When the special effects generation device obtains the first special effects file by calling the scene tool, it can call the scene tool, configure the detection tool in the scene, create the first component corresponding to the first material, and configure the first material in the first component to obtain the second component. Configuring the first material can be done by binding or assigning the first material to the first component, so that the first component can use the first material when the special effects are applied. Then, resource fields can be declared in the first script. For example, resource fields can include fields of the first material. In the editing state, the identification information corresponding to the resource field is explicitly bound to the corresponding resource field. For example, the first identification information corresponding to the first material is bound to the corresponding field to obtain the second script. The first identification information is used to distinguish the first material from other materials, thereby ensuring that the material corresponding to the first script and the first component is consistent without relying on runtime name lookup or scene traversal. The configured detection tool, second component, and second script are integrated into a scene structure, and the first special effects file is obtained by encapsulating the scene structure. In the above scheme, the scene tool is used to assemble the overall scene, configure the products and relationships of other tools, and then quickly generate an editable special effects file.

[0049] In the above scheme, the intelligent agent can call the pre-deployed generation tools corresponding to the user's effect description, and execute the functions of each tool in a certain order to generate effect files in a fully automated manner. The whole process does not require the user to learn the knowledge of any tool, which lowers the generation threshold and improves efficiency.

[0050] The special effects generation scheme presented in this paper obtains first information, which describes the effect of a first special effect, specifically a motion control effect. It then obtains second information, derived by parsing the first information, which includes at least trigger action information and visual performance information. Based on the second information, a tool is invoked to obtain a first special effects package, which is a package of special effects for the first effect. By using this technical solution, second information, including at least trigger action information and visual performance information, is obtained by parsing the first information describing the motion control effect. Based on this structured description information, a tool is invoked to generate the special effects package for the first effect. This allows for the fully automated generation of motion control effect packages simply by inputting an effect description, avoiding the high barrier to entry in special effects generation and improving efficiency.

[0051] In one scenario, the special effects generation method may further include: obtaining planning information based on second information and tools, the planning information including generation tasks, the generation tasks including multiple generation steps; and calling tools to obtain a first special effects package, including: calling tools based on multiple generation steps to obtain a first special effects package.

[0052] Planning information can be information describing the construction process and resource scheduling logic of the special effects package, used to guide the agent in generating the special effects package and provide a preliminary planning basis for the generation of the special effects package; optionally, the planning information can include at least the generation task, which can be a phased planning process for the generation of the special effects package. The generation task can include multiple generation steps, which have an execution order. The generation step can be a step in the generation process of the special effects package to execute a certain stage task, such as a step in calling a first tool in the tool to execute the corresponding function.

[0053] Following step 203 above, the special effects generation device can further analyze the second information and tools through an intelligent agent to generate planning information. Then, based on this planning information, it can sequentially execute multiple generation steps of the task according to their execution order. During execution, it calls each first tool in the toolkit, ultimately generating the first special effects package. By generating planning information including the generation task based on the tools and description information, and generating the special effects package according to the generation task, the generation efficiency and accuracy are improved.

[0054] Optionally, the input data for the intelligent agent when generating planning information may include, in addition to the second information and tools, the first information, reference information, current tools, current interfaces, etc. The reference information may include reference images, reference videos, etc. In addition to the planning information mentioned above, the output data may also include requirements for special effects files and materials, such as generation method, size, purpose, generator and layout mode, etc.

[0055] In another scenario, the planning information also includes a special effects draft, which includes at least one of text and an image. The method further includes: outputting a preview image based on a first special effects package; obtaining a verification result based on the special effects draft and the preview image, wherein the verification result is used to characterize whether the first special effects package passes; and outputting the first special effects package in response to a verification result indicating that the verification has passed.

[0056] A special effects draft can be a description of the effect based on the effect's description information and tool predictions. The special effects draft may include text and / or images, and is not limited thereto. A preview image can be an image rendered based on the special effects file or special effects package, showcasing the visual presentation of the first special effects. This preview image may include at least one of static images and dynamic images, such as... Figure 3 As shown in the diagram, preview image 302 can be displayed in session page 300, which is only an example. The verification result can be used to verify whether the preview image meets the expected result. This verification result can be obtained by comparing the effect draft and the preview image. The verification result can include verification pass or verification fail. Verification pass means that the effect of the preview image corresponding to the effect package is basically consistent with the effect draft, and the effect package can be output. Verification fail means that the effect of the preview image corresponding to the effect package is significantly different and needs to be adjusted.

[0057] Based on the special effects draft included in the planning information, after obtaining the first special effects package, the special effects generation device can render a preview image based on the first special effects package or the first special effects file. Then, the agent compares the special effects draft and the preview image to determine whether the passing conditions are met. If so, the verification result is determined to be successful, and the first special effects package can be output. Optionally, the passing conditions can include at least one condition, with different conditions corresponding to different dimensions. For example, it can include at least one of the following: key point condition, color condition, similarity condition, etc. If all the passing conditions are successful, the passing conditions are determined to be met. If one or more of the passing conditions are unsuccessful, the passing conditions are determined to be unsuccessful. If the passing conditions are not met, the verification result is determined to be unsuccessful. The specific reason for the failure can be analyzed and determined. The corresponding tool or generation step can be returned to repair according to the specific reason until the verification is successful. Alternatively, the specific reason for the failure can be displayed, prompting the user to manually repair the first special effects file until the first special effects package is verified. After the effects package is generated, the preview images of the effects package are verified. The effects files are only output after the verification is passed. If the verification fails, they are repaired to ensure that the effects package matches the effects description and improve the accuracy of the generated effects package.

[0058] The following example will further illustrate the special effects processing solution presented in this article. For instance, Figure 5 This article provides a schematic diagram of a special effects processing procedure, such as... Figure 5 As shown in the diagram, the special effects processing process may include: The user inputs first information. The user selects the intelligent system. The user asks whether to generate special effects; if not, the process ends; if so, the first information is parsed to obtain second information. Planning information is obtained, including the generation task and a special effects draft. The special effects draft is displayed. The user confirms the draft; if confirmation is detected, it means the user confirms the draft, and the tool can be called based on the generation task to generate materials, scripts, and scene components to obtain the special effects file. If rejection is detected, it means the user does not confirm the draft, and the first modification description can be modified. The modified first information is then parsed to obtain the second information. After obtaining the special effects file, a preview image is output based on the file. The image is compared with the special effects draft to obtain a verification result. If the verification result is successful, a special effects package is generated based on the file; if the verification result is unsuccessful, the process returns to the step of obtaining the special effects file for repair.

[0059] This paper presents a solution for automatically generating interactive real-time special effects using an intelligent agent. This solution addresses the issue that related technologies require manual configuration and have a high barrier to entry. Users can describe the effects using natural language, and the intelligent agent will automatically generate editable, verifiable, and previewable real-time special effects files by bridging the implementation boundaries between visual algorithms, materials, scripts, and scene resources. Furthermore, it will automatically generate special effects packages based on these files. This not only lowers the barrier to entry for generating interactive special effects and stimulates the creativity of special effects artists, but also improves the efficiency of special effects generation.

[0060] Figure 6 This is a schematic diagram of a special effects generation device provided in this paper. This device can be implemented by software and / or hardware, and is generally integrated into electronic devices. Figure 6 As shown, the device includes: The acquisition module 601 is used to acquire first information, wherein the first information is used to describe the effect of the first special effect, and the first special effect is a motion control type special effect. The parsing module 602 is used to obtain second information, which is obtained by parsing the first information. The second information includes at least: trigger action information and visual performance information. Module 603 is invoked to invoke a tool based on the second information to obtain a first special effects package, wherein the first special effects package is the special effects package of the first special effects.

[0061] Optionally, the tool includes a plurality of first tools, and the calling module 603 includes: A tool unit, configured to determine the plurality of first tools based on the second information; The file unit is used to call the plurality of first tools to obtain the first special effects file; The generation unit is used to obtain the first effects package based on the first effects file.

[0062] Optionally, the second information also includes area of ​​effect information, and the plurality of first tools include material tools, detection tools, script tools, and scene tools, wherein the tool unit is used for: Based on the trigger action information, the detection tool is obtained; Based on the visual representation information, the material tool is obtained, and the material tool corresponds to a first material type, which is obtained based on the visual representation information; Based on the visual representation information and the area of ​​action information, the script tool and the scene tool are obtained.

[0063] Optionally, the trigger action information includes at least trigger gesture information, and the detection tool includes at least a gesture detection tool, which corresponds to the trigger gesture information.

[0064] Optionally, the file unit is specifically used for: The material tool is invoked to obtain the first material, wherein the first material corresponds to a first material type; The script tool is invoked to obtain a first script, wherein the first script is used to control the first material based on the detection result, and the detection result is obtained by the detection tool; The scene tool is invoked to configure the detection tool, the first material, and the first script to obtain the first special effects file.

[0065] Optionally, the file unit is specifically used for: Invoke the scene tool and configure the detection tool; Create a first component, and configure the first material in the first component to obtain a second component, wherein the first component corresponds to the first material; In the first script, first identification information is configured to obtain a second script, wherein the first identification information is used to characterize the first material; The first special effects file is obtained based on the detection tool, the second component, and the second script.

[0066] Optionally, the first material includes at least one of a material file and an object file, and the first component includes at least one of a post-processing component and an object component.

[0067] Optionally, the device further includes a planning module, the planning module being used for: Based on the second information and the tool, planning information is obtained, the planning information including a generation task, and the generation task including multiple generation steps; Module 603 is specifically used for: Based on the aforementioned multiple generation steps, the tool is invoked to obtain the first special effects package.

[0068] Optionally, the planning information further includes a special effects draft, which includes at least one of text and an image. The device further includes a verification module, which is used to: Based on the first effects package, output a preview image; Based on the special effects draft and the preview image, a verification result is obtained, wherein the verification result is used to characterize whether the first special effects package passes; In response to the verification result being successful, the first special effects package is output.

[0069] The special effects generation apparatus provided herein can execute the special effects generation method provided in any embodiment herein, and has the corresponding functional modules and beneficial effects of the execution method.

[0070] This document also provides a computer program product for implementing the special effects generation method provided in any embodiment of this document, and has the same beneficial effects as the implementation method embodiment.

[0071] Figure 7 This document provides a schematic diagram of the structure of an electronic device. The document also provides an electronic device comprising: a processor; a memory for storing processor-executable instructions; and a processor for reading executable instructions from the memory and executing the executable instructions to implement the special effects generation method provided in any embodiment of this document, achieving the same beneficial effects as the method embodiments.

[0072] The following is a detailed reference. Figure 7 The diagram illustrates a suitable structural schematic for implementing the electronic device 700 described herein. The electronic device 700 described herein may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), tablet computers (PADs), portable media players (PMPs), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital televisions (TVs), desktop computers, etc. Figure 7 The electronic device shown is merely an example and should not impose any limitations on the functionality and scope of this article.

[0073] like Figure 7 As shown, the electronic device 700 may include a processing unit 701 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 702 or a program loaded from storage device 708 into random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0074] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0075] In particular, according to this document, the processes described in the above-referenced flowchart can be implemented as computer software programs. For example, this document includes a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined in the special effects generation method of this document.

[0076] It should be noted that the computer-readable medium mentioned above can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory, a read-only memory, an electrically erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this document, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, radio frequency (RF), etc., or any suitable combination thereof.

[0077] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol, such as Hypertext Transfer Protocol (HTTP), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), 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.

[0078] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0079] The aforementioned computer-readable medium carries one or more programs. When the electronic device executes the aforementioned one or more programs, the electronic device causes the electronic device to: acquire first information, wherein the first information describes the effect of a first special effect, and the first special effect is a motion control type special effect; acquire second information, the second information being obtained by parsing the first information, and the second information including at least: trigger action information and visual performance information; and, based on the second information, invoke a tool to obtain a first special effect package, wherein the first special effect package is a special effect package of the first special effect. The computer-readable storage medium implements the special effect generation method provided in any embodiment of this document and has the same beneficial effects as the implementation method embodiments.

[0080] Computer program code for performing the operations described herein may be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer may be connected to the user's computer via any type of network—including local area networks (LANs) or wide area networks (WANs), or it may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0081] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments herein. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0082] The units described herein can be implemented in software or hardware. The names of the units are not, in some cases, limiting to the unit itself.

[0083] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field-Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.

[0084] In the context of this document, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, flash memory, optical fiber, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0085] It is understood that before using the technical solutions disclosed in the embodiments of this article, users should be informed of the type, scope of use, and usage scenarios of the information involved in this article in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0086] The above description is merely a preferred embodiment and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure herein is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed herein that have similar functions.

[0087] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in sequential order. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this document. Certain features described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0088] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for generating special effects, comprising: Obtain first information, wherein the first information is used to describe the effect of the first special effect, and the first special effect is a motion control type special effect; The second information is obtained by parsing the first information, and the second information includes at least: trigger action information and visual performance information; Based on the second information, the tool is invoked to obtain the first special effects package, which is the special effects package of the first special effects.

2. The method according to claim 1, wherein the tool comprises a plurality of first tools, and based on the second information, the tools are invoked to obtain a first special effects package, comprising: Based on the second information, the plurality of first tools are determined; The first set of tools is invoked to obtain the first special effects file; Based on the first special effects file, the first special effects package is obtained.

3. The method according to claim 2, wherein the second information further includes area information, the plurality of first tools include material tools, detection tools, script tools, and scene tools, and determining the plurality of first tools based on the second information includes: Based on the trigger action information, the detection tool is obtained; Based on the visual representation information, the material tool is obtained, and the material tool corresponds to a first material type, which is obtained based on the visual representation information; Based on the visual representation information and the area of ​​action information, the script tool and the scene tool are obtained.

4. The method according to claim 3, wherein the trigger action information includes at least trigger gesture information, and the detection tool includes at least a gesture detection tool, the gesture detection tool corresponding to the trigger gesture information.

5. The method according to claim 3, wherein calling the plurality of first tools to obtain a first special effects file includes: The material tool is invoked to obtain the first material, wherein the first material corresponds to a first material type; The script tool is invoked to obtain a first script, wherein the first script is used to control the first material based on the detection result, and the detection result is obtained by the detection tool; The scene tool is invoked to configure the detection tool, the first material, and the first script to obtain the first special effects file.

6. The method according to claim 5, wherein the scene tool is invoked to configure the detection tool, the first material, and the first script to obtain the first special effects file, comprising: Invoke the scene tool and configure the detection tool; Create a first component, and configure the first material in the first component to obtain a second component, wherein the first component corresponds to the first material; In the first script, first identification information is configured to obtain a second script, wherein the first identification information is used to characterize the first material; The first special effects file is obtained based on the detection tool, the second component, and the second script.

7. The method according to claim 6, wherein the first material includes at least one of a material file and an object file, and the first component includes at least one of a post-processing component and an object component.

8. The method according to claim 1, further comprising: Based on the second information and the tool, planning information is obtained, the planning information including a generation task, and the generation task including multiple generation steps; Use the tool to obtain the first effects package, which includes: Based on the aforementioned multiple generation steps, the tool is invoked to obtain the first special effects package.

9. The method according to claim 8, wherein the planning information further includes a special effects draft, the special effects draft comprising at least one of text and an image, and the method further includes: Based on the first effects package, output a preview image; Based on the special effects draft and the preview image, a verification result is obtained, wherein the verification result is used to characterize whether the first special effects package passes; In response to the verification result being successful, the first special effects package is output.

10. A special effects generation device, comprising: The acquisition module is used to acquire first information, wherein the first information is used to describe the effect of the first special effect, and the first special effect is a motion control type special effect; The parsing module is used to obtain second information, which is obtained by parsing the first information. The second information includes at least: trigger action information and visual performance information. The calling module is used to call the tool based on the second information to obtain the first special effects package, wherein the first special effects package is the special effects package of the first special effect.

11. An electronic device, the electronic device comprising: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the method of any one of claims 1-9.

12. A computer-readable storage medium storing a computer program for performing the method of any one of claims 1-9.