Picture generation method, device, system, equipment, medium and program product
By executing the image generation process separately on the client and the server, the problems of excessive load on the server and high operation and maintenance costs in the existing technology are solved, and the effect of reducing the load on the server and operation and maintenance costs are achieved.
Patent Information
- Application Number
- CN202411621547.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-11
AI Technical Summary
In the prior art, the entire raw image process of image generation is executed on the server side, resulting in a large load on the server side and a high operation and maintenance cost.
By decomposing the image generation process into a target client workflow and a target server workflow, the client obtains the target description information of the target image to be generated, processes it according to the target client workflow and obtains the target processing results, and then sends it to the server, so that the server continues to process according to the target server workflow to generate the target image.
Use the computing power of the client to execute part of the processing process, share the computing pressure on the server, and reduce the load and operation and maintenance costs of the server.
Smart Images

Figure CN119600152A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to computer technology, and more particularly to a method, apparatus, system, device, medium and program product for generating an image. Background Art
[0002] With the rapid development of computer technology, artificial intelligence technology can be used to automatically generate images. When generating images, it only relies on the powerful computing power of the server to process data. However, the entire existing image generation process is executed on the server, which leads to a large load on the server and high operation and maintenance costs. Summary of the invention
[0003] The present disclosure provides a method, apparatus, system, device, medium and program product for generating an image to reduce the load and operation and maintenance cost of a server.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for generating an image, comprising:
[0005] Obtain target description information corresponding to the target image to be generated;
[0006] Processing the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information;
[0007] The target processing result is sent to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0008] In a second aspect, the present disclosure also provides a method for generating an image, including:
[0009] Receive a target processing result sent by a client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to a target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent a processing flow when the client processes the target description information;
[0010] The target processing result is processed according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0011] In a third aspect, the present disclosure also provides a picture generating device, including:
[0012] The target description information acquisition module is used to obtain the target description information corresponding to the target image to be generated;
[0013] A target processing result acquisition module, used to process the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information;
[0014] The target processing result sending module is used to send the target processing result to the server so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0015] In a fourth aspect, the present disclosure also provides a picture generating device, including:
[0016] A target processing result receiving module is used to receive a target processing result sent by a client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to the target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent the processing flow when the client processes the target description information;
[0017] The target image generation module is used to process the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0018] In a fifth aspect, the embodiments of the present disclosure further provide a picture generation system, the system comprising a client and a server;
[0019] Wherein, the client is used to implement the picture generation method provided in the first aspect;
[0020] The server is used to implement the image generation method provided in the second aspect.
[0021] In a sixth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0022] one or more processors;
[0023] a storage device for storing one or more programs,
[0024] When the one or more programs are executed by the one or more processors, the one or more processors implement the image generation method as described in any of the embodiments of the present disclosure.
[0025] In a seventh aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the image generation method as described in any one of the embodiments of the present disclosure.
[0026] In an eighth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the image generation method as described in any one of the embodiments of the present disclosure.
[0027] In the disclosed embodiment, the target description information corresponding to the target image to be generated is obtained by the client, and the target description information is processed according to the target client workflow corresponding to the target image to obtain the target processing result, and the target processing result is sent to the server, so that the server continues to process based on the target processing result according to the target server workflow corresponding to the target image to generate the target image. By decomposing the entire image generation process of the target image into the target client workflow and the target server workflow, the client can execute part of the processing process, and the server continues to execute the rest of the processing process based on the client's processing result, thereby utilizing the client's computing power and sharing the server's computing pressure, thereby reducing the server's load and operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent 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.
[0029] Figure 1 It is a flowchart of a method for generating an image provided by an embodiment of the present disclosure;
[0030] Figure 2 is an example diagram of a workflow arrangement involved in an embodiment of the present disclosure;
[0031] Figure 3 is a flowchart of another image generation method provided by an embodiment of the present disclosure;
[0032] Figure 4 It is a flowchart of a method for generating an image provided by an embodiment of the present disclosure;
[0033] Figure 5is a structural schematic diagram of a picture generating device provided by an embodiment of the present disclosure;
[0034] Figure 6 is a structural schematic diagram of a picture generating device provided by an embodiment of the present disclosure;
[0035] Figure 7 is a structural schematic diagram of a picture generation system provided by an embodiment of the present disclosure;
[0036] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0038] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0039] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0040] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0041] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0042] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0043] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0044] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0045] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0046] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0047] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0048] Figure 1 This is a flow chart of a method for generating an image provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case of automatically generating an image. The method can be executed by an image generating device, which can be implemented in the form of software and / or hardware and integrated into a client. The client can be a mobile terminal or a PC terminal, etc. Among them, the mobile terminal can be but is not limited to a mobile phone terminal.
[0049] like Figure 1 As shown, the image generation method specifically includes the following steps:
[0050] S110: Obtain target description information corresponding to the target image to be generated.
[0051] The target image refers to the image that the user wants to generate. The target description information is information used to describe the target image generation requirements. The target description information may refer to the description information of the generated content of the target image. The target description information may be information input or selected by the user in the image generation interface of the client based on his own needs.
[0052] Exemplarily, the target description information may include: target prompt text information corresponding to the target image, target reference image, and at least one of the selected client function items. Among them, the target prompt text information may be the generated content information of the target image described in text form. For example, a target image that meets the content requirements is generated based on the target prompt text information. The target reference image may refer to an image referenced when generating the target image. The number of target reference images may be one or more. For example, an avatar is created based on the target reference image provided by the user, and the avatar is used to perform raw image processing to obtain the target image. The client function item may refer to a function that the client itself has and can provide the user with a selection, such as a photo function, a positioning function, and a beauty function. The number of client function items may be one or more, which are specifically set based on business needs. The user can determine whether to turn on the corresponding client function item through a button selection operation. The selected client function item refers to the client function item that the user allows to be turned on, so that the client performs raw image processing based on the client function item selected by the user, thereby expanding the raw image capability and improving the richness and diversity of image generation. For example, if the client function items selected by the user are "Add weather information" and "Add geographic information", the client determines the weather information and geographic information of the user's location based on its own positioning system, so as to perform image processing based on the obtained weather information and geographic information, so that the generated target image can be associated with the weather and geographic information, thereby realizing the function of generating different weather style images according to the user's location.
[0053] Specifically, the user may input target description information for generating a target image in the image generation interface of the client, such as target prompt text information corresponding to the target image, a target reference image, and a selected client function item.
[0054] S120. Process the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information.
[0055] Among them, the target client workflow can be pre-configured based on the actual generation process of the target image and the processing capabilities of the client itself. The target client workflow may include multiple client nodes connected in sequence according to the node execution order. All client nodes in the target client workflow form a directed acyclic graph. Client nodes are used to characterize specific operations of the client. Different client nodes correspond to different client capabilities, such as the client's image detection capability, image beauty capability, and image rotation and cropping capability. The target processing result refers to the processing result of the target description information on the client, that is, the output information of the last client node in the target client workflow. The target client workflow may refer to a partial processing flow that can be executed in the client in the entire image generation process of the target image.
[0056] Specifically, after obtaining the target description information, the client can directly process the target description information according to the pre-configured target client workflow to obtain the final target processing result without sending the target description information to the server for processing. By utilizing the client's own processing power, part of the image processing flow is transferred to the client for execution, thereby sharing the computing pressure of the server and reducing the server load.
[0057] Exemplarily, step S120 may include: obtaining the node execution order of multiple client nodes in the target client workflow corresponding to the target image; processing the target description information according to the node execution order of the client nodes and the processing method corresponding to each client node to obtain the target processing result output by the last client node.
[0058] Different client nodes correspond to different client processing methods. The client processing method is a processing operation implemented based on the processing capabilities of the client itself. Specifically, the target description information is used as the input information of the first client node for processing, and the processing result output by the first client node is input into the next client node for sequential processing according to the node execution order, and the information output by the last client node is used as the final target processing result.
[0059] It should be noted that since part of the processing flow needs to be executed in the client, the unique capabilities of the client can be fully utilized by selecting client function items, such as selecting an existing picture from the album, or opening the camera to take a picture, etc., thereby providing more image materials for raw images, assisting in the generation of images, expanding the raw image capabilities, and improving the diversity and richness of image generation.
[0060] S130, sending the target processing result to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0061] Among them, the target server workflow can be configured in advance based on the actual generation process of the target image and the target client workflow. For example, the target server workflow is configured based on the processing flow after the target client workflow. The entire generation process of the target image can be decomposed into a target client workflow and a target server workflow. The target client workflow refers to the pre-processing process of the target image, and the target server workflow refers to the post-processing process of the target image. The target server workflow may include multiple server nodes connected in sequence according to the node execution order. All server nodes in the target server workflow form a directed acyclic graph. The server node is used to characterize the specific operation of the server. Different server nodes correspond to different server capabilities. The target image refers to the processing result of the server based on the target description information, that is, the output information of the last server node in the target server workflow.
[0062] Specifically, the client can send the target processing result to the server through an interface request. The server continues to process based on the target processing result according to the target server workflow to obtain the target image output by the last server node. Since the server only needs to execute the remaining raw image processing flow, it does not need to execute the entire raw image processing flow, thereby reducing the server's load and operation and maintenance costs. After generating the target image, the server can return the target image to the client to display the target image in the client, so that the user can intuitively see the generated target image and then determine whether it meets the generation requirements.
[0063] The technical solution of the disclosed embodiment obtains the target description information corresponding to the target image to be generated through the client, and processes the target description information according to the target client workflow corresponding to the target image, obtains the target processing result, and sends the target processing result to the server, so that the server continues to process based on the target processing result according to the target server workflow corresponding to the target image, and generates the target image. By decomposing the entire image generation process of the target image into the target client workflow and the target server workflow, the client can execute part of the processing process, and the server continues to execute the rest of the processing process based on the client's processing result, thereby utilizing the client's computing power, sharing the server's computing pressure, and thereby reducing the server's load and operation and maintenance costs.
[0064] Based on the above technical solution, the target client workflow and the target server workflow are pre-arranged in the graphical user interface of the browser, and the arranged target client workflow and the target server workflow are respectively sent to the client and the server.
[0065] Among them, the output information of the last client node in the target client workflow is the input information of the first server node in the target server workflow. The graphical user interface of the browser may refer to a graphical user interface (GUI) accessed through the browser. The graphical user interface may be a workflow generation interface based on node orchestration. For example, the graphical user interface may be, but is not limited to, a graphical user interface ComfyUI that complies with the Comfy protocol. ComfyUI achieves the orchestration and reproducibility of the workflow by splitting the Stable Diffusion process into nodes.
[0066] Specifically, in the browser's graphical user interface, based on the needs of the raw image, the workflow can be quickly arranged by adding nodes, dragging nodes, and connecting nodes, thereby improving the convenience of workflow configuration. Figure 2 , decompose the entire image generation process into a target client workflow and a target server workflow, and the output information of the last client node in the target client workflow is the input information of the first server node in the target server workflow, thereby ensuring the consistency of information processing. After completing the arrangement of the target client workflow and the target server workflow, the target client workflow and the target server workflow can be formatted in JSON (JavaScript Object Notation), and the formatted target client workflow and the target server workflow are sent to the client and the server respectively, so that the client performs information pre-processing based on the received target client workflow, and the server performs information post-processing based on the received target server workflow, and finally generates the target image.
[0067] It should be noted that when the image generation logic needs to be adjusted, developers can dynamically adjust the generation logic of the target client workflow and the generation logic of the target server workflow by adding nodes, dragging nodes, and connecting nodes in the browser's graphical user interface, thereby improving the convenience and flexibility of workflow adjustment.
[0068] Figure 3This is a flow chart of another method for generating an image provided by an embodiment of the present disclosure. Based on the above disclosed embodiments, the present disclosed embodiment describes in detail the process of generating a target image when there are multiple image generation methods. The explanations of the terms that are the same or corresponding to the above disclosed embodiments are not repeated here.
[0069] like Figure 3 As shown, the image generation method specifically includes the following steps:
[0070] S310: Obtain target description information corresponding to the target image to be generated and a target image generation method corresponding to the target image.
[0071] There are multiple image generation methods in the client, and different image generation methods correspond to different image generation processes. Different image generation methods may also correspond to different image generation interfaces. Users can select an image generation method from multiple image generation methods based on their own needs to generate images, thereby meeting personalized needs. The target image generation method may refer to the generation method selected for generating the target image.
[0072] Exemplarily, step S310 may include: in response to an image generation method selection operation, determining the selected target image generation method, and displaying a target description interface corresponding to the target image generation method; in response to a trigger operation in the target description interface, obtaining target description information corresponding to the target image to be generated.
[0073] The target description interface may refer to an interface for inputting description information in the target image generation method. Different image generation methods may correspond to different description interfaces. Different description interfaces may be used to display different description items so as to obtain different description information, thereby generating images based on different image generation processes, thereby increasing the diversity of image generation and meeting different personalized needs.
[0074] Specifically, the client can display selection buttons corresponding to a variety of different image generation methods. The user triggers the image generation method selection operation by triggering the selection button based on their own needs, thereby obtaining the target image generation method selected by the user, and displaying the target description interface corresponding to the target image generation method in the client. The user can input description information in the target description interface by triggering input and selecting operations, thereby obtaining the target description information corresponding to the target image to be generated. By supporting the selection of multiple image generation methods and the input of different description information, the diversity and flexibility of image generation can be improved to meet personalized needs.
[0075] S320: Determine target workflow identification information corresponding to the target image according to the correspondence between the image generation method and the workflow identification information and the target image generation method.
[0076] Different image generation methods correspond to different workflow identification information. The entire image generation process corresponding to each image generation method is decomposed into a client workflow and a server workflow, and the client workflow and server workflow corresponding to the same image generation method have the same workflow identification information, so that the client workflow and server workflow belonging to the same image generation method can be obtained by using the workflow identification information.
[0077] Specifically, the client workflow and server workflow corresponding to each image generation method can be pre-configured, and the same workflow identification information can be created for the client workflow and server workflow belonging to the same image generation method, thereby constructing a corresponding relationship between the image generation method and the workflow identification information. In actual application, based on the corresponding relationship between the image generation method and the workflow identification information, the target workflow identification information corresponding to the target image generation method can be determined, thereby obtaining the target workflow identification information for generating the target image.
[0078] S330: Determine the target client workflow corresponding to the target image according to the target workflow identification information.
[0079] Specifically, the client pre-stores the workflow identification information corresponding to the client workflow in each image generation method, so that based on the target workflow identification information, the target client workflow in the target image generation method can be obtained, and then the processing flow that needs to be executed in the client during the target image generation process can be obtained.
[0080] S340: Process the target description information according to the target client workflow corresponding to the target image to obtain a target processing result.
[0081] S350, sending the target processing result and the target workflow identification information to the server, so that the server determines the target server workflow corresponding to the target image according to the target workflow identification information, and processes the target processing result according to the target server workflow to generate the target image.
[0082] Specifically, after the client completes the target client workflow, the client can send the target processing result and the target workflow identification information to the server at the same time through the interface request. The server pre-stores the workflow identification information corresponding to the server workflow in each image generation method, so that based on the target workflow identification information, the target server workflow in the target image generation method can be obtained, and according to the target server workflow, the processing is continued on the basis of the target processing result to obtain the target image generated in the target image generation method.
[0083] The technical solution of the disclosed embodiment is that the client determines the target workflow identification information corresponding to the target image according to the correspondence between the image generation method and the workflow identification information and the selected target image generation method, and determines the target client workflow corresponding to the target image according to the target workflow identification information, and sends the target processing result and the target workflow identification information to the server, so that the server determines the target server workflow corresponding to the target image according to the target workflow identification information, and processes the target processing result according to the target server workflow to generate the target image, thereby supporting the selection of a variety of different image generation methods, thereby improving the diversity and flexibility of image generation and meeting personalized needs.
[0084] Figure 4 This is a flow chart of a method for generating an image provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case of automatically generating an image. The method can be executed by an image generating device, which can be implemented in the form of software and / or hardware and integrated in a server. The server can refer to a server or a cloud.
[0085] like Figure 4 As shown, the image generation method specifically includes the following steps:
[0086] S410, receiving a target processing result sent by the client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image according to the target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent the processing flow when the client processes the target description information.
[0087] The target image refers to the image that the user wants to generate. The target description information is information used to describe the target image generation requirements. The target description information may refer to the description information of the generated content of the target image. The target description information may be information input or selected by the user in the image generation interface of the client based on his own needs. Exemplarily, the target description information may include: target prompt text information corresponding to the target image, a target reference image, and at least one of the selected client function items.
[0088] Among them, the target client workflow can be pre-configured based on the actual generation process of the target image and the processing capabilities of the client itself. The target client workflow may include multiple client nodes connected in sequence according to the node execution order. All client nodes in the target client workflow form a directed acyclic graph. Client nodes are used to characterize specific operations of the client. Different client nodes correspond to different client capabilities, such as the client's image detection capability, image beauty capability, and image rotation and cropping capability. The target processing result refers to the processing result of the target description information on the client, that is, the output information of the last client node in the target client workflow. The target client workflow may refer to a partial processing flow that can be executed in the client in the entire image generation process of the target image.
[0089] Specifically, the user can input the target description information for generating the target image in the client's image generation interface, such as the target prompt text information corresponding to the target image, the target reference image, and the selected client function item. After obtaining the target description information, the client can directly process the target description information according to the pre-configured target client workflow to obtain the final target processing result, and can send only the target processing result to the server through the interface request method, without sending the target description information to the server for processing. By utilizing the client's own processing power, part of the image processing process is transferred to the client for execution, thereby sharing the computing pressure of the server and reducing the load on the server.
[0090] S420. Process the target processing result according to the target server workflow corresponding to the target image to generate a target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0091] Among them, the target server workflow can be configured in advance based on the actual generation process of the target image and the target client workflow. For example, the target server workflow is configured based on the processing flow after the target client workflow. The entire generation process of the target image can be decomposed into a target client workflow and a target server workflow. The target client workflow refers to the pre-processing process of the target image, and the target server workflow refers to the post-processing process of the target image. The target server workflow may include multiple server nodes connected in sequence according to the node execution order. All server nodes in the target server workflow form a directed acyclic graph. The server node is used to characterize the specific operation of the server. Different server nodes correspond to different server capabilities. The target image refers to the processing result of the server based on the target description information, that is, the output information of the last server node in the target server workflow.
[0092] Specifically, the server continues to process based on the target processing result according to the target server workflow to obtain the target image output by the last server node. Since the server only needs to execute the remaining raw image processing flow, it does not need to execute the entire raw image processing flow, thereby reducing the server's load and operation and maintenance costs. After generating the target image, the server can return the target image to the client to display the target image in the client, so that the user can intuitively see the generated target image and then determine whether it meets the generation requirements.
[0093] Exemplarily, step S420 may include: obtaining the node execution order of multiple server nodes in the target server workflow corresponding to the target image; performing processing based on the target processing result according to the node execution order of the server nodes and the processing method corresponding to each server node, to obtain the target image output by the last server node.
[0094] Among them, different server nodes correspond to different service processing methods. The server processing method is a processing operation implemented based on the processing capabilities of the server itself. Specifically, the server processes the received target processing result as the input information of the first server node, and inputs the processing result output by the first server node to the next server node for sequential processing according to the node execution order, and uses the information output by the last server node as the final generated target image.
[0095] The technical solution of the disclosed embodiment obtains the target description information corresponding to the target image to be generated through the client, and processes the target description information according to the target client workflow corresponding to the target image, obtains the target processing result, and sends the target processing result to the server, so that the server continues to process based on the target processing result according to the target server workflow corresponding to the target image, and generates the target image. By decomposing the entire image generation process of the target image into the target client workflow and the target server workflow, the client can execute part of the processing process, and the server continues to execute the rest of the processing process based on the client's processing result, thereby utilizing the client's computing power, sharing the server's computing pressure, and thereby reducing the server's load and operation and maintenance costs.
[0096] Figure 5 A schematic diagram of the structure of a picture generating device provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the device specifically includes: a target description information acquisition module 510, a target processing result acquisition module 520 and a target processing result sending module 530.
[0097] Among them, the target description information acquisition module 510 is used to obtain the target description information corresponding to the target image to be generated; the target processing result acquisition module 520 is used to process the target description information according to the target client workflow corresponding to the target image to obtain the target processing result, wherein the target client workflow is used to characterize the processing flow when the client processes the target description information; the target processing result sending module 530 is used to send the target processing result to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to characterize the processing flow when the server processes the target processing result.
[0098] The technical solution provided by the disclosed embodiment obtains the target description information corresponding to the target image to be generated through the client, and processes the target description information according to the target client workflow corresponding to the target image, obtains the target processing result, and sends the target processing result to the server, so that the server continues to process based on the target processing result according to the target server workflow corresponding to the target image, and generates the target image. By decomposing the entire image generation process of the target image into the target client workflow and the target server workflow, the client can execute part of the processing process, and the server continues to execute the rest of the processing process based on the client's processing result, thereby utilizing the client's computing power and sharing the server's computing pressure, thereby reducing the server's load and operation and maintenance costs.
[0099] On the basis of the above technical solution, the target client workflow and the target server workflow are pre-arranged in the graphical user interface of the browser, and the arranged target client workflow and the target server workflow are respectively sent to the client and the server;
[0100] The output information of the last client node in the target client workflow is the input information of the first server node in the target server workflow.
[0101] Based on the above technical solutions, the target processing result acquisition module 520 is specifically used for:
[0102] Obtain the node execution order of multiple client nodes in the target client workflow corresponding to the target image, wherein different client nodes correspond to different client processing methods; process the target description information according to the node execution order of the client nodes and the processing method corresponding to each client node to obtain the target processing result output by the last client node.
[0103] On the basis of the above technical solutions, the device also includes:
[0104] A target image generation method acquisition module is used to process the target description information according to the target client workflow corresponding to the target image, and before obtaining the target processing result, acquire the target image generation method corresponding to the target image;
[0105] A target workflow identification information determination module, used to determine the target workflow identification information corresponding to the target image according to the corresponding relationship between the image generation method and the workflow identification information and the target image generation method;
[0106] The target client workflow determination module is used to determine the target client workflow corresponding to the target image according to the target workflow identification information.
[0107] On the basis of the above technical solutions, the target processing result sending module 530 is specifically used for:
[0108] The target processing result and the target workflow identification information are sent to the server, so that the server determines the target server workflow corresponding to the target image according to the target workflow identification information, and processes the target processing result according to the target server workflow to generate the target image.
[0109] On the basis of the above technical solutions, the target image generation method acquisition module is specifically used to:
[0110] In response to the image generation method selection operation, determine the selected target image generation method, and display the target description interface corresponding to the target image generation method;
[0111] In response to a trigger operation in the target description interface, target description information corresponding to the target image to be generated is obtained.
[0112] On the basis of the above-mentioned technical solutions, the target description information includes: target prompt text information corresponding to the target image, a target reference image and at least one of the selected client function items.
[0113] The image generation device provided in the embodiment of the present disclosure can execute the image generation method applied to the client provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the image generation method.
[0114] Figure 6 A schematic diagram of the structure of a picture generating device provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the device specifically includes: a target processing result receiving module 610 and a target image generating module 620.
[0115] Among them, the target processing result receiving module 610 is used to receive the target processing result sent by the client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to the target client workflow corresponding to the target image to be generated, and the target client workflow is used to characterize the processing flow when the client processes the target description information; the target image generating module 620 is used to process the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to characterize the processing flow when the server processes the target processing result.
[0116] The technical solution provided by the disclosed embodiment obtains the target description information corresponding to the target image to be generated through the client, and processes the target description information according to the target client workflow corresponding to the target image, obtains the target processing result, and sends the target processing result to the server, so that the server continues to process based on the target processing result according to the target server workflow corresponding to the target image, and generates the target image. By decomposing the entire image generation process of the target image into the target client workflow and the target server workflow, the client can execute part of the processing process, and the server continues to execute the rest of the processing process based on the client's processing result, thereby utilizing the client's computing power and sharing the server's computing pressure, thereby reducing the server's load and operation and maintenance costs.
[0117] Based on the above technical solution, the target image generation module 620 is specifically used to:
[0118] Obtain the node execution order of multiple server nodes in the target server workflow corresponding to the target image, wherein different server nodes correspond to different server processing methods; perform processing based on the target processing result according to the node execution order of the server nodes and the processing method corresponding to each server node, and obtain the target image output by the last server node.
[0119] The image generation device provided in the embodiment of the present disclosure can execute the image generation method applied to the server provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the image generation method.
[0120] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0121] Figure 7FIG. 1 is a schematic diagram of a structure of a picture generation system provided by an embodiment of the present disclosure. This embodiment is applicable to the case of automatically generating pictures. Figure 7 As shown, the system specifically includes: a client 710 and a server 720.
[0122] The client 710 is used to implement the image generation method provided by the above embodiment applied to the client; the server 720 is used to implement the image generation method provided by the above embodiment applied to the server.
[0123] The image generation system in the disclosed embodiment obtains the target description information corresponding to the target image to be generated through the client, and processes the target description information according to the target client workflow corresponding to the target image, obtains the target processing result, and sends the target processing result to the server, so that the server continues to process based on the target processing result according to the target server workflow corresponding to the target image, and generates the target image. By decomposing the entire image generation process of the target image into the target client workflow and the target server workflow, the client can execute part of the processing process, and the server continues to execute the rest of the processing process based on the client's processing result, thereby utilizing the client's computing power, sharing the server's computing pressure, and thereby reducing the server's load and operation and maintenance costs.
[0124] Figure 8 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 8 , which shows an electronic device (eg, Figure 8 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0125] like Figure 8As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0126] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0127] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0128] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0129] The electronic device provided in the embodiment of the present disclosure and the image generation method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0130] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the image generation method provided by the above embodiments is implemented.
[0131] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0132] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0133] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0134] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains target description information corresponding to the target image to be generated; processes the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to characterize the processing flow when the client processes the target description information; sends the target processing result to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to characterize the processing flow when the server processes the target processing result.
[0135] Computer program code for performing the operations of the present disclosure 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, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate 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 a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0136] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the image generation method provided in the above embodiment when executed by a processor.
[0137] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0138] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0139] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0140] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0141] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0142] According to one or more embodiments of the present disclosure, [Example 1] provides a method for generating an image, including:
[0143] Obtain target description information corresponding to the target image to be generated;
[0144] Processing the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information;
[0145] The target processing result is sent to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0146] According to one or more embodiments of the present disclosure, [Example 2] provides a method for generating an image, further comprising:
[0147] Optionally, the target client workflow and the target server workflow are pre-arranged in a graphical user interface of a browser, and the arranged target client workflow and the target server workflow are sent to the client and the server respectively;
[0148] The output information of the last client node in the target client workflow is the input information of the first server node in the target server workflow.
[0149] According to one or more embodiments of the present disclosure, [Example 3] provides a method for generating an image, further comprising:
[0150] Optionally, the target description information is processed according to a target client workflow corresponding to the target image to obtain a target processing result, including:
[0151] Obtaining a node execution order of multiple client nodes in a target client workflow corresponding to the target image, wherein different client nodes correspond to different client processing modes;
[0152] The target description information is processed according to the node execution order of the client nodes and the processing mode corresponding to each client node to obtain the target processing result output by the last client node.
[0153] According to one or more embodiments of the present disclosure, [Example 4] provides a method for generating an image, further comprising:
[0154] Optionally, before processing the target description information according to the target client workflow corresponding to the target image to obtain the target processing result, the method further includes:
[0155] Obtain a target image generation method corresponding to the target image;
[0156] Determine the target workflow identification information corresponding to the target image according to the correspondence between the image generation method and the workflow identification information and the target image generation method;
[0157] The target client workflow corresponding to the target image is determined according to the target workflow identification information.
[0158] According to one or more embodiments of the present disclosure, [Example 5] provides a method for generating an image, further comprising:
[0159] Optionally, sending the target processing result to a server, so that the server processes the target processing result according to a target server workflow corresponding to the target image to generate the target image, includes:
[0160] The target processing result and the target workflow identification information are sent to the server, so that the server determines the target server workflow corresponding to the target image according to the target workflow identification information, and processes the target processing result according to the target server workflow to generate the target image.
[0161] According to one or more embodiments of the present disclosure, [Example 6] provides a method for generating an image, further comprising:
[0162] Optionally, obtaining target description information corresponding to a target image to be generated and a target image generation method corresponding to the target image includes:
[0163] In response to the image generation method selection operation, determine the selected target image generation method, and display the target description interface corresponding to the target image generation method;
[0164] In response to a trigger operation in the target description interface, target description information corresponding to the target image to be generated is obtained.
[0165] According to one or more embodiments of the present disclosure, [Example 7] provides a method for generating an image, further comprising:
[0166] Optionally, the target description information includes: target prompt text information corresponding to the target image, a target reference image, and at least one of a selected client function item.
[0167] According to one or more embodiments of the present disclosure, [Example 8] provides a method for generating an image, including:
[0168] Receive a target processing result sent by a client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to a target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent a processing flow when the client processes the target description information;
[0169] The target processing result is processed according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0170] According to one or more embodiments of the present disclosure, [Example 9] provides a method for generating an image, further comprising:
[0171] Optionally, processing the target processing result according to the target server workflow corresponding to the target image to generate the target image includes:
[0172] Obtaining a node execution order of multiple server nodes in a target server workflow corresponding to the target image, wherein different server nodes correspond to different server processing modes;
[0173] According to the node execution order of the server nodes and the processing mode corresponding to each server node, processing is performed on the basis of the target processing result to obtain the target image output by the last server node.
[0174] According to one or more embodiments of the present disclosure, [Example 10] provides a picture generating device, including:
[0175] The target description information acquisition module is used to obtain the target description information corresponding to the target image to be generated;
[0176] A target processing result acquisition module, used to process the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information;
[0177] The target processing result sending module is used to send the target processing result to the server so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0178] According to one or more embodiments of the present disclosure, [Example 11] provides a picture generating device, including:
[0179] A target processing result receiving module is used to receive a target processing result sent by a client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to the target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent the processing flow when the client processes the target description information;
[0180] The target image generation module is used to process the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
[0181] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0182] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0183] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, 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. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for generating an image, characterized in that: include: Obtain target description information corresponding to the target image to be generated; Processing the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information; The target processing result is sent to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
2. The image generation method according to claim 1, characterized in that: The target client workflow and the target server workflow are pre-arranged in the graphical user interface of the browser, and the arranged target client workflow and the target server workflow are sent to the client and the server respectively; The output information of the last client node in the target client workflow is the input information of the first server node in the target server workflow.
3. The image generation method according to claim 1, characterized in that: According to the target client workflow corresponding to the target image, the target description information is processed to obtain a target processing result, including: Obtaining a node execution order of multiple client nodes in a target client workflow corresponding to the target image, wherein different client nodes correspond to different client processing modes; The target description information is processed according to the node execution order of the client nodes and the processing mode corresponding to each client node to obtain the target processing result output by the last client node.
4. The image generation method according to claim 1, characterized in that: Before processing the target description information according to the target client workflow corresponding to the target image to obtain the target processing result, the method further includes: Obtain a target image generation method corresponding to the target image; Determine the target workflow identification information corresponding to the target image according to the correspondence between the image generation method and the workflow identification information and the target image generation method; The target client workflow corresponding to the target image is determined according to the target workflow identification information.
5. The image generation method according to claim 4, characterized in that: The target processing result is sent to the server, so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, including: The target processing result and the target workflow identification information are sent to the server, so that the server determines the target server workflow corresponding to the target image according to the target workflow identification information, and processes the target processing result according to the target server workflow to generate the target image.
6. The image generation method according to claim 4, characterized in that: Obtaining target description information corresponding to a target image to be generated and a target image generation method corresponding to the target image, including: In response to the image generation method selection operation, determine the selected target image generation method, and display the target description interface corresponding to the target image generation method; In response to a trigger operation in the target description interface, target description information corresponding to the target image to be generated is obtained.
7. The image generation method according to any one of claims 1 to 6, characterized in that: The target description information includes: target prompt text information corresponding to the target image, a target reference image, and at least one of a selected client function item.
8. A method for generating an image, characterized in that: include: Receive a target processing result sent by a client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to a target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent a processing flow when the client processes the target description information; The target processing result is processed according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
9. The image generation method according to claim 8, characterized in that: Processing the target processing result according to the target server workflow corresponding to the target image to generate the target image includes: Obtaining a node execution order of multiple server nodes in a target server workflow corresponding to the target image, wherein different server nodes correspond to different server processing modes; According to the node execution order of the server nodes and the processing mode corresponding to each server node, processing is performed on the basis of the target processing result to obtain the target image output by the last server node.
10. A picture generating device, characterized in that: include: The target description information acquisition module is used to obtain the target description information corresponding to the target image to be generated; A target processing result acquisition module, used to process the target description information according to the target client workflow corresponding to the target image to obtain a target processing result, wherein the target client workflow is used to represent the processing flow when the client processes the target description information; The target processing result sending module is used to send the target processing result to the server so that the server processes the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
11. A picture generating device, characterized in that: include: A target processing result receiving module is used to receive a target processing result sent by a client, wherein the target processing result is obtained by the client processing the target description information corresponding to the target image to be generated according to the target client workflow corresponding to the target image to be generated, and the target client workflow is used to represent the processing flow when the client processes the target description information; The target image generation module is used to process the target processing result according to the target server workflow corresponding to the target image to generate the target image, wherein the target server workflow is used to represent the processing flow when the server processes the target processing result.
12. A picture generation system, characterized in that: The system includes a client and a server; Wherein, the client is used to implement the image generation method as described in any one of claims 1-7; The server is used to implement the image generation method as described in any one of claims 8-9.
13. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the image generating method as described in any one of claims 1 to 9.
14. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to execute the picture generating method as described in any one of claims 1 to 9.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the image generation method as described in any one of claims 1 to 9.