Three-dimensional model generation method, device and electronic equipment

By obtaining user constraint elements, generating and adjusting 3D model representations, the problem of uncontrollable 3D model generation in the existing technology is solved, efficient and precise 3D model generation is achieved, and costs are reduced.

CN116843833BActive Publication Date: 2024-09-13BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310802868.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-09-13
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

It is difficult to controllably generate detailed three-dimensional models through text or images with existing technology. Especially in AR and VR technologies, the three-dimensional model generation process is uncontrollable and costly.

Method used

By obtaining the constraint elements provided by the user, an initial three-dimensional model representation is generated, converted into an adjustable model representation, multiple rendering images are generated, and the model representation is adjusted in combination with the constraint elements to generate a target three-dimensional model.

Benefits of technology

It achieves controllable generation of fine 3D models, reduces the cost of manual design and production, and improves the efficiency and accuracy of 3D model generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116843833B
    Figure CN116843833B
Patent Text Reader

Abstract

The present disclosure provides a three-dimensional model generation method, device and electronic device, which relate to the field of artificial intelligence technology, especially to the technical fields of computer vision, augmented reality, virtual reality, deep learning, etc., and can be applied to scenes such as metaverse and digital human. The implementation scheme is: obtaining the constraint elements provided by the user for the target three-dimensional model to be generated; based on the constraint elements, generating a first model representation of the target three-dimensional model, wherein the first model representation includes the initial shape information and initial texture information of the target three-dimensional model; converting the first model representation into a second model representation that can be adjusted; based on the second model representation, generating multiple rendering images of the target three-dimensional model, wherein the multiple rendering images correspond to multiple perspectives respectively; and adjusting the second model representation based on the multiple rendering images and the constraint elements to generate the target three-dimensional model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, especially to the technical fields of computer vision, augmented reality, virtual reality, deep learning, etc., and can be applied to scenes such as the metaverse and digital humans. Specifically, it relates to a method, device, electronic device, computer-readable storage medium, and computer program product for generating a three-dimensional model. Background Art

[0002] Nowadays, AR (Augmented Reality) technology, VR (Virtual Reality) technology and the related game industry are booming. In the application of AR technology and VR technology, a large number of three-dimensional models need to be built and generated. However, the uncontrollable generation of three-dimensional models has always been a problem that plagues the industry. How to controllably generate more detailed three-dimensional models through text or images has always been one of the research hotspots and difficulties in the industry.

[0003] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention

[0004] The present disclosure provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for generating a three-dimensional model.

[0005] According to one aspect of the present disclosure, a three-dimensional model generation method is provided, including: obtaining constraint elements provided by a user for a target three-dimensional model to be generated; generating a first model representation of the target three-dimensional model based on the constraint elements, wherein the first model representation includes initial shape information and initial texture information of the target three-dimensional model; converting the first model representation into a second model representation that can be adjusted; generating multiple rendered images of the target three-dimensional model based on the second model representation, wherein the multiple rendered images correspond to multiple perspectives, respectively; and adjusting the second model representation based on the multiple rendered images and the constraint elements to generate the target three-dimensional model.

[0006] According to another aspect of the present disclosure, a three-dimensional model generation device is provided, including: a constraint element acquisition module, configured to acquire constraint elements provided by a user for a target three-dimensional model to be generated; a model representation generation module, configured to generate a first model representation of the target three-dimensional model based on the constraint elements, wherein the first model representation includes initial shape information and initial texture information of the target three-dimensional model; a model representation conversion module, configured to convert the first model representation into a second model representation that can be adjusted; a rendering image generation module, configured to generate a plurality of rendering images of the target three-dimensional model based on the second model representation, wherein the plurality of rendering images respectively correspond to a plurality of viewing angles; and a three-dimensional model generation module, configured to adjust the second model representation based on the plurality of rendering images and the constraint elements to generate the target three-dimensional model.

[0007] According to another aspect of the present disclosure, an electronic device is provided, comprising at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method provided above in the present disclosure.

[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method provided above in the present disclosure.

[0009] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method provided above in the present disclosure is implemented.

[0010] According to one or more embodiments of the present disclosure, a more detailed three-dimensional model may be controllably generated through text or images.

[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0013] Figure 1 A schematic diagram showing an exemplary system in which the various methods described herein may be implemented according to an embodiment of the present disclosure;

[0014] Figure 2 A flowchart of a three-dimensional model generation method according to an embodiment of the present disclosure is shown;

[0015] Figure 3 A schematic diagram of a text-based three-dimensional model generation method according to an embodiment of the present disclosure is shown;

[0016] Figure 4 A schematic diagram of a method for generating a three-dimensional model based on an image according to an embodiment of the present disclosure is shown;

[0017] Figure 5 A structural block diagram of a device for generating a three-dimensional model according to an embodiment of the present disclosure is shown;

[0018] Figure 6 A structural block diagram of a device for generating a three-dimensional model according to another embodiment of the present disclosure is shown;

[0019] Figure 7 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0020] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0021] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, temporal relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.

[0022] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.

[0023] AR technology, VR technology and related gaming fields have a huge demand for 3D models. At present, most 3D models still rely on manual design and production, which requires a lot of money and time. In order to meet the needs of mass production of 3D models, 3D model generation technology came into being. However, how to controllably generate more detailed 3D models through text or images is still one of the research hotspots and difficulties in the industry.

[0024] A traditional method is 3D model reconstruction, that is, using an existing image of an object to generate a 3D model corresponding to the object by reconstruction. However, as mentioned above, using reconstruction technology to generate a corresponding 3D model requires a real object and its image, and it is impossible to generate a 3D model of a non-existent object, which brings great limitations to the generation of 3D models.

[0025] Another traditional method is to use a two-dimensional diffusion model to generate a three-dimensional model corresponding to the input text. However, in the implementation of this method, the results of neural rendering are often not applicable to traditional rendering engines, and the two-dimensional diffusion model is also difficult to generate a complex three-dimensional model of a specific scene style. In addition, this method cannot use a single image to generate a corresponding three-dimensional model.

[0026] In view of the above technical problems, according to one aspect of the present disclosure, a three-dimensional model generation method is provided.

[0027] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0028] Figure 1 FIG. 1 is a schematic diagram of an exemplary system 100 in which various methods and apparatuses described herein may be implemented according to an embodiment of the present disclosure. Figure 1 , the system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. The client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications.

[0029] In an embodiment of the present disclosure, the server 120 may run one or more services or software applications that enable the method of three-dimensional model generation to be performed.

[0030] In some embodiments, server 120 may also provide other services or software applications, which may include non-virtualized environments and virtualized environments. In some embodiments, these services may be provided as web-based services or cloud services, such as provided to users of client devices 101, 102, 103, 104, 105, and / or 106 under a software as a service (SaaS) model.

[0031] exist Figure 1 In the configuration shown, the server 120 may include one or more components that implement the functions performed by the server 120. These components may include software components, hardware components, or a combination thereof that can be executed by one or more processors. Users operating client devices 101, 102, 103, 104, 105, and / or 106 may in turn utilize one or more client applications to interact with the server 120 to utilize the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from the system 100. Therefore, Figure 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.

[0032] The user may use client devices 101, 102, 103, 104, 105, and / or 106 to process images. The client device may provide an interface that enables a user of the client device to interact with the client device. The client device may also output information to the user via the interface. Figure 1 Only six client devices are depicted, but one skilled in the art will appreciate that the present disclosure may support any number of client devices.

[0033] Client devices 101, 102, 103, 104, 105 and / or 106 may include various types of computer devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptop computers), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, game systems, thin clients, various messaging devices, sensors or other sensing devices, etc. These computer devices may run various types and versions of software applications and operating systems, such as MICROSOFT Windows, APPLE iOS, UNIX-like operating systems, Linux or Linux-like operating systems (such as GOOGLE Chrome OS); or include various mobile operating systems, such as MICROSOFT Windows Mobile OS, iOS, Windows Phone, Android. Portable handheld devices may include cellular phones, smart phones, tablet computers, personal digital assistants (PDAs), etc. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. Game systems may include various handheld game devices, Internet-enabled game devices, etc. Client devices are capable of executing various different applications, such as various Internet-related applications, communication applications (such as email applications), short message service (SMS) applications, and may use various communication protocols.

[0034] The network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP / IP, SNA, IPX, etc. By way of example only, the one or more networks 110 may be a local area network (LAN), an Ethernet-based network, a token ring, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a blockchain network, a public switched telephone network (PSTN), an infrared network, a wireless network (e.g., Bluetooth, WIFI), and / or any combination of these and / or other networks.

[0035] Server 120 may include one or more general purpose computers, dedicated server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that may be virtualized to maintain a server's virtual storage device). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.

[0036] The computing units in the server 120 may run one or more operating systems including any of the above operating systems and any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and / or middle-tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.

[0037] In some embodiments, the server 120 may include one or more applications, such as applications for services such as target detection and recognition, signal conversion, etc. based on data such as images, videos, voices, texts, digital signals, etc., to process task requests such as voice interaction, text classification, image recognition, or key point detection received from client devices 101, 102, 103, 104, 105, and / or 106. The server can train a neural network model using training samples according to specific deep learning tasks, and can test each subnetwork in the supernetwork module of the neural network model, and determine the structure and parameters of the neural network model used to perform deep learning tasks based on the test results of each subnetwork. Various data can be used as training sample data for deep learning tasks, such as image data, audio data, video data, or text data. After the training of the neural network model is completed, the server 120 can also automatically search for the optimal model structure through model search technology to perform the corresponding task.

[0038] In some embodiments, the server 120 may be a server of a distributed system, or a server combined with a blockchain. The server 120 may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. A cloud server is a host product in a cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.

[0039] The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. The databases 130 may reside in various locations. For example, the database used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The databases 130 may be of different types. In some embodiments, the databases used by the server 120 may be, for example, relational databases. One or more of these databases may store, update, and retrieve data to and from the databases in response to commands.

[0040] In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the applications may be different types of databases, such as a key-value store, an object store, or a conventional store backed by a file system.

[0041] Figure 1 The system 100 can be configured and operated in various ways to enable the application of various methods and devices described in the present disclosure. The following describes in detail a method for generating a three-dimensional model according to an embodiment of the present disclosure.

[0042] Figure 2 FIG. 2 shows a flow chart of a three-dimensional model generation method 200 according to an embodiment of the present disclosure. Figure 2 As shown, method 200 includes steps S201, S202, S203, S204 and S205.

[0043] In step S201, constraint elements provided by a user for a target three-dimensional model to be generated are obtained.

[0044] In step S202, a first model representation of the target three-dimensional model is generated based on the constraint elements. The first model representation includes initial shape information and initial texture information of the target three-dimensional model.

[0045] In step S203 , the first model representation is converted into a second model representation that can be adjusted.

[0046] In step S204, multiple rendering images of the target three-dimensional model are generated based on the second model representation. These rendering images correspond to multiple viewing angles respectively.

[0047] In step S205 , based on the plurality of rendered images and the constraint elements, the second model representation is adjusted to generate a target three-dimensional model.

[0048] In an example, the constraint element may be information for describing features of a target three-dimensional model to be generated, and such information may exist in the form of text or an image, for example.

[0049] In the example, the first model representation may include, for example, a three-dimensional model mesh, which may only represent the rough general shape of the model without including the texture of its surface. The mesh may include color information and density information, which may be used to represent the initial shape information of the target three-dimensional model in the first model representation.

[0050] In the example, the Mesh may be generated using, for example, Neural Radiance Field (NeRF) or other technologies, or may be pre-set based on constraint elements, for example, may be made by relevant technicians based on their understanding of the constraint elements.

[0051] In the example, the initial texture information of the target 3D model in the first model representation may be various attribute information related to texture expressed by MLP (Multi-Layer Perceptron), and these attributes may include, for example, the metalness and roughness of the target 3D model. In some embodiments, the initial shape information of the target 3D model in the first model representation, such as color information and density information, may also be expressed by MLP.

[0052] In the example, in order to better deform and optimize the Mesh, the first model representation can be converted into a second model representation that can be adjusted. The second model representation may include, for example, a deep moving tetrahedron DMTeT, so the Mesh needs to be converted first. Based on the generated Mesh, the initial shape information of the target three-dimensional model in the first model representation can be converted into the form of SDF (Signed Distance Field) as the initial shape information of the target three-dimensional model in the second model representation. The information in the SDF form can be used to describe the signed distance from a point in space to the surface of the object. The initial texture information of the target three-dimensional model in the second model representation can still be the same as the initial texture information of the target three-dimensional model in the first model representation, and various attribute information related to the texture can be expressed through MLP. In subsequent rendering, the initial texture information of the target three-dimensional model in the second model representation can be directly obtained from the MLP through indexing.

[0053] Based on such a second model representation, multiple perspective images can be rendered and generated by PBR (Physical Base Rendering) to further optimize the texture and shape of the three-dimensional model. In the PBR rendering process, the attributes in the initial texture information of the target three-dimensional model in the second model representation can be separated from each other, and an image is generated for each attribute at each perspective based on the PBR rendering equation, and then multiple images corresponding to each attribute at a single perspective are synthesized into a synthetic image corresponding to the perspective.

[0054] In the example, PBR rendering can be implemented based on DMTeT. DMTeT has a fast conversion speed for Mesh, which can facilitate the generation of images with higher resolution in the subsequent differentiable rendering process, so as to optimize the details of the model and make the generated three-dimensional model more refined.

[0055] According to the three-dimensional model generation method of the embodiment of the present disclosure, a relatively rough first model representation of the target three-dimensional model is first generated based on the constraint elements, which can preliminarily determine the approximate shape and style of the target three-dimensional model. Then, by converting the form of the first model representation, it can be convenient for subsequent more detailed adjustments to the model. By repeatedly generating multi-perspective rendering images of the target three-dimensional model based on the converted model representation, and further adjusting it in combination with the constraint elements to generate the target three-dimensional model, the model can be optimized in a direction consistent with the constraint elements, thereby controllably generating the three-dimensional model desired by the user.

[0056] Various aspects of the three-dimensional model generation method according to an embodiment of the present disclosure are further described below.

[0057] According to some embodiments, the constraint element may include text or an image for describing the target three-dimensional model.

[0058] When the constraint element is text, the constraint element may be, for example, a sentence or a paragraph describing a real object or an object imagined by the user, or a set of one or more adjectives, adverbs, and nouns that are not connected into a complete sentence.

[0059] When the constraint element is an image, the constraint element may be, for example, one or more photographs or paintings, etc. The constraint element in the form of an image may be used to represent the artistic style of the target three-dimensional model to be generated.

[0060] In the example, the constraint elements may include both text and images. The corresponding description text may be obtained from the image input by the user, thereby controlling the generation of the target 3D model from both the text and the image. The generation of the target 3D model may also be controlled by inputting the description text and the image with style features at the same time.

[0061] According to an embodiment of the present disclosure, by using text or images describing the target three-dimensional model as constraint elements, the model can be optimized in a direction consistent with the constraint elements, thereby controllably generating the three-dimensional model desired by the user.

[0062] According to some embodiments, in a scenario where the constraint element includes text, Figure 2 In the process of step S220, the text can be used as a reference for generating the first model representation, and the first model representation can be obtained through neural radiation field NeRF rendering.

[0063] Figure 3 A schematic diagram of a text-based 3D model generation method 300 according to an embodiment of the present disclosure is shown. Figure 3The method 300 shown may involve a constraint element 301 provided by a user, a first model representation 302 generated by a model representation generation module 310 based on the constraint element 301, a second model representation 303 converted by a model representation conversion module 320 from the first model representation 302, and a target three-dimensional model 304 generated finally. The conversion process of the constraint element 301, the first model representation 302, the second model representation 303, and the target three-dimensional model 304 may be combined, for example, with Figure 2 Method 200 is shown.

[0064] In the example, the constraint element 301 may be text, for example, a sentence or a paragraph describing a real object or an object imagined by the user, or a set of one or more words.

[0065] In an example, the text in the constraint element 301 may be input into the model representation generation module 310 to generate the first model representation 302. The model representation generation module 310 may include a neural radiation field NeRF 313, which may be used to render and obtain the first model representation 302.

[0066] In an example, the output of the neural radiation field NeRF 313 may include initial shape information of the target three-dimensional model in the first model representation 302 , and the initial shape information may include, for example, color information and density information of the Mesh generated by rendering the neural radiation field NeRF 313 .

[0067] According to an embodiment of the present disclosure, by using the neural radiation field NeRF based on the text in the constraint element, it is possible to render the model image and obtain the first model representation corresponding thereto.

[0068] According to some embodiments, in the process of obtaining the first model representation through neural radiation field NeRF rendering using text as a benchmark for generating the first model representation, the image generated in the neural radiation field NeRF rendering can be further input into the first diffusion model to adjust the first model representation toward the benchmark.

[0069] Continue to see Figure 3 The model representation generation module 310 may further include a first diffusion model 311. The text in the constraint element 301 may be used as a control condition of the first diffusion model 311, and rendered in combination with the neural radiation field NeRF 313 to obtain an image corresponding to the text in the constraint element 301. The image may be cyclically optimized via the first diffusion model 311 and the neural radiation field NeRF 313, so that the first model representation is adjusted to be more consistent with the text in the constraint element 301.

[0070] In this process, the image generated in the neural radiation field NeRF 313 rendering can be input into the first diffusion model 311 to calculate the loss function, and by optimizing the loss function multiple times, the model shape corresponding to the image generated in the neural radiation field NeRF 313 rendering basically conforms to the text in the constraint element 301.

[0071] In the example, since the neural radiation field NeRF 313 can have the characteristics of volume rendering, and the neural radiation field NeRF 313 itself does not support PBR rendering, only a relatively rough Mesh can be exported to represent the initial shape information of the target three-dimensional model 304 in the first model representation, and the initial texture information of the target three-dimensional model in the first model representation corresponding to the Mesh is exported, such as information related to the texture expressed by MLP, including properties such as metallicity and roughness.

[0072] According to an embodiment of the present disclosure, by inputting the image generated in the neural radiation field NeRF rendering into the first diffusion model to adjust and optimize the first model representation, a relatively reliable first model representation can be obtained in the stage of generating a rough model in the three-dimensional model generation method, thereby facilitating the rapid and accurate generation of the three-dimensional model desired by the user.

[0073] According to some embodiments, the image generated in Neural Radiance Field (NeRF) rendering may be represented in the form of a latent code (LatentCode).

[0074] In the example, the latent code may refer to the coded data used to express the essence of the data. The latent code may have less information than the complete data, but only retains its most critical information. The omitted information may be useless information or noise information, and the retained critical information may only occupy a small amount of data.

[0075] In the example, Figure 3 The first diffusion model 311 shown can predict a noise based on the text in the constraint element 301. If the noise corresponding to the image generated in the rendering of the neural radiation field NeRF 313 is consistent with the predicted noise, then it can be considered that the model shape corresponding to the image generated in the rendering basically conforms to the text in the constraint element 301. In this process, the image generated in the rendering of the neural radiation field NeRF 313 can be represented in the form of latent coding, that is, the generated image can be rendered without being rendered into a visible image form to maximize the retention of information, thereby improving the speed and reliability of rendering to obtain the first model representation.

[0076] According to the embodiments of the present disclosure, by representing the image generated in the neural radiation field NeRF rendering in the form of latent coding, the speed and reliability of rendering to obtain the first model representation can be improved.

[0077] According to some embodiments, the first model representation may further include stylized information of the target three-dimensional model, and the stylized information may be obtained based on a stylized model embedded in the first diffusion model.

[0078] In the example, Figure 3 As shown, the model representation generation module 310 may also include a stylized model 312 embedded in the first diffusion model 311. The stylized model 312 may be, for example, a network structure Lora and / or Controlnet. Lora can generate a 3D model corresponding to a certain style by inputting a series of pictures of the same style, such as a certain game style. And Controlnet can generate a character model with different postures by inputting a specific posture morphology.

[0079] According to an embodiment of the present disclosure, by embedding a stylized model in the first diffusion model so that the generated first model representation includes stylized information of the target three-dimensional model, it is possible to constrain and control the generation of the three-dimensional model, so that the ultimately generated three-dimensional model better meets user expectations.

[0080] According to some embodiments, Figure 2 The illustrated step S250 may include: inputting the plurality of rendered images into a second diffusion model, using the text as a reference for generating a second model representation, and adjusting the second model representation toward the reference.

[0081] In the example, continue to see Figure 3 , multiple rendering images generated based on the second model representation 303 can be input into the second diffusion model 330, and the text in the constraint element 301 can be used as a control condition of the second diffusion model 330 to adjust the second model representation 303 to generate the target three-dimensional model 304.

[0082] According to an embodiment of the present disclosure, by utilizing a diffusion model to adjust the second model representation toward the text in the constraint element, it is possible to quickly and accurately converge even in the stage of optimizing the fine model of the three-dimensional model generation method, thereby obtaining the three-dimensional model desired by the user.

[0083] According to some embodiments, if the constraint element includes an image, then in Figure 2 In the process of step S220 shown, the image can be first input into the three-dimensional content generation model to obtain the initial shape information of the target three-dimensional model, and then based on the image, the initial texture information of the target three-dimensional model is obtained through the multi-layer perceptron MLP.

[0084] Figure 4 A schematic diagram of a method 400 for generating a three-dimensional model with an image as a constraint element according to an embodiment of the present disclosure is shown. Figure 4 The method 400 shown may involve a constraint element 401 provided by a user, a first model representation 402 generated by a model representation generation module 410 based on the constraint element 401, a second model representation 403 converted from the first model representation 402 by a model representation conversion module 420, and a target three-dimensional model 404 generated in the end. The conversion process of the constraint element 401, the first model representation 402, the second model representation 403, and the target three-dimensional model 404 may be combined, for example, with Figure 2 Method 200 is shown.

[0085] In an example, the constraint element 401 may include an image, for example, one or more photographs or paintings having specific image content and artistic style.

[0086] In the example, the image in the constraint element 401 can be input into the model representation generation module 410 to generate the first model representation 402. The model representation generation module 410 may include a three-dimensional content generation model and a multi-layer perceptron MLP, the three-dimensional content generation model can be used to obtain the initial shape information of the target three-dimensional model based on the image in the constraint element 401, and the multi-layer perceptron MLP can be used to obtain the initial texture information of the target three-dimensional model based on the image in the constraint element 401.

[0087] In the example, similar to Figure 3 The method 300 shown can also represent the initial shape information of the target three-dimensional model 404 in the first model representation 402 with a rough Mesh. In some embodiments, some existing technical solutions such as make-it-3d can be used to generate such a Mesh. It is understood that other modules that can convert images into Meshes can also be used to realize the conversion between the image in the constraint element 401 and the first model representation 402.

[0088] Similarly, MLP can also be used to express the initial texture information of the target three-dimensional model in the first model representation corresponding to the Mesh, such as information related to the texture including properties such as metalness and roughness. Since the Mesh in this embodiment is obtained by make-it-3d rendering, there is no ready-made MLP that can be used to index the initial texture information of the target three-dimensional model 404. Therefore, the initial texture information of the target three-dimensional model 404 can be additionally obtained through MLP based on the image in the constraint element 401.

[0089] According to the embodiments of the present disclosure, based on the image, the three-dimensional content generation model is used to obtain the initial shape information of the target three-dimensional model, and the MLP is used to obtain the initial texture information of the target three-dimensional model. A rough model can be generated based on a single image to be used as a preliminary model for optimization and adjustment to obtain the final target three-dimensional model.

[0090] According to some embodiments, in a scenario where the constraint element includes an image, such as Figure 2 The illustrated step S250 may include: converting an image as a constraint element into text; and inputting a plurality of rendered images into a third diffusion model, using the text as a reference for generating a second model representation, and adjusting the second model representation toward the reference.

[0091] Continue to see Figure 4 , a technical module 440 such as BLIP can be used to convert the image in the constraint element 401 into the corresponding text 405 to serve as a supplement to the constraint element 401 .

[0092] In the example, the generation result of the Mesh generated by a single image in the invisible area may not be reliable enough, so the multiple rendered images generated based on the second model representation 403 can be input into the third diffusion model 430, and the text 405 is used as the control condition of the third diffusion model 430 to adjust the second model representation 403 to generate the target three-dimensional model 404. With the help of the diffusion model, the invisible area with poor generation results can be optimized.

[0093] According to the embodiment of the present disclosure, by converting the image as a constraint element into text and then using the diffusion model to adjust the second model representation toward the text, it is possible to optimize the generated model and obtain the three-dimensional model expected by the user.

[0094] According to some embodiments, a stylization model may be embedded in the third diffusion model, so that the adjusted second model representation includes stylization information.

[0095] In the example, in the scenario where the constraint element is an image, the controllability of the 3D model generation is often higher than the controllability of the 3D model generation in the scenario where the constraint element is a text. Therefore, the third diffusion model 430 may not be embedded with a stylized model. However, it is understandable that the third diffusion model 430 may also be similar to the following: Figure 3 The first diffusion model 311 is also shown embedded with a stylization model such as Lora and / or Controlnet, so that the adjusted second model representation includes stylization information.

[0096] According to the embodiments of the present disclosure, by embedding the stylized model in the third diffusion model, stronger constraints can be added during the three-dimensional model generation process, making the generation of the three-dimensional model more controllable.

[0097] According to some embodiments, the first model representation may include a three-dimensional model mesh and the second model representation may include a Depth Moved Tetrahedron DMTet.

[0098] In the example, the three-dimensional model mesh Mesh can represent the shape of the model with color information and density information. In the process of converting the first model representation to obtain the second model representation, the depth moving tetrahedron DMTet in the second model representation can be constructed based on such color information and density information, for example, by converting the density information of the Mesh into the form of SDF.

[0099] According to the embodiments of the present disclosure, by means of a three-dimensional model mesh and a depth moving tetrahedron, the shape and texture of the model can be expressed more finely during the process of generating a three-dimensional model.

[0100] According to another aspect of the present disclosure, a three-dimensional model generating device is also provided.

[0101] Figure 5 A structural block diagram of a three-dimensional model generating device 500 according to an embodiment of the present disclosure is shown.

[0102] like Figure 5 As shown, the three-dimensional model generating device 500 includes: a constraint element acquisition module 510, configured to obtain the constraint elements provided by the user for the target three-dimensional model to be generated; a model representation generation module 520, configured to generate a first model representation of the target three-dimensional model based on the constraint elements, wherein the first model representation includes initial shape information and initial texture information of the target three-dimensional model; a model representation conversion module 530, configured to convert the first model representation into a second model representation that can be adjusted; a rendering image generation module 540, configured to generate a plurality of rendering images of the target three-dimensional model based on the second model representation, wherein the plurality of rendering images respectively correspond to a plurality of viewing angles; and a three-dimensional model generating module 550, configured to adjust the second model representation based on the plurality of rendering images and the constraint elements to generate the target three-dimensional model.

[0103] Since the constraint element acquisition module 510, the model representation generation module 520, the model representation conversion module 530, the rendering image generation module 540, and the 3D model generation module 550 in the 3D model generation device 500 can respectively correspond to the following Figure 2 The steps S210 to S250 are described, so the details of each aspect are not repeated here.

[0104] In addition, the 3D model generation device 500 and the modules included therein may further include sub-modules, which will be described in conjunction with the following. Figure 6 Provide detailed explanation.

[0105] According to an embodiment of the present disclosure, a relatively rough first model representation of the target three-dimensional model is first generated based on the constraint elements, so that the approximate shape and style of the target three-dimensional model can be preliminarily determined. Then, by converting the form of the first model representation, it is possible to facilitate subsequent more detailed adjustments to the model. By repeatedly generating multi-perspective rendering images of the target three-dimensional model based on the converted model representation, and further adjusting it in combination with the constraint elements to generate the target three-dimensional model, the model can be optimized in a direction consistent with the constraint elements, thereby controllably generating the three-dimensional model desired by the user.

[0106] Figure 6 A structural block diagram of a three-dimensional model generating device 600 according to another embodiment of the present disclosure is shown.

[0107] like Figure 6 As shown, the apparatus 600 for generating a three-dimensional model may include a constraint element acquisition module 610, a model representation generation module 620, a model representation conversion module 630, a rendering image generation module 640, and a three-dimensional model generation module 650. The constraint element acquisition module 610, the model representation generation module 620, the model representation conversion module 630, the rendering image generation module 640, and the three-dimensional model generation module 650 may be used together with Figure 5 The constraint element acquisition module 510, model representation generation module 520, model representation conversion module 530, rendering image generation module 540, and 3D model generation module 550 shown correspond to each other, so their details are not repeated here.

[0108] In an example, the constraint element may include text or an image for describing the target three-dimensional model.

[0109] In an example, the model representation generation module 620 may include: a model representation rendering module 621 configured to obtain the first model representation via neural radiation field NeRF rendering in response to the constraint element including text, using the text as a reference for generating the first model representation.

[0110] In an example, the model representation rendering module 621 may include: a first diffusion model module 621a configured to input an image generated in a neural radiation field NeRF rendering into a first diffusion model to adjust the first model representation toward a benchmark.

[0111] In an example, images generated in Neural Radiance Field (NeRF) rendering can be represented in the form of a latent code.

[0112] In an example, the first model representation may further include stylization information of the target three-dimensional model, and the stylization information may be obtained based on a stylization model embedded in the first diffusion model.

[0113] In an example, the 3D model generation module 650 may include: a second diffusion model module 651 configured to input a plurality of rendered images into a second diffusion model, use the text as a reference for generating a second model representation, and adjust the second model representation toward the reference.

[0114] In the example, the model representation generation module 620 may also include: an initial shape information acquisition module 622, configured to input the image into the three-dimensional content generation model in response to the constraint elements including the image, so as to obtain the initial shape information of the target three-dimensional model; and an initial texture information acquisition module 623, configured to obtain the initial texture information of the target three-dimensional model based on the image via a multi-layer perceptron MLP.

[0115] In the example, the three-dimensional model generation module 650 may also include: a constraint element conversion module 652, configured to convert an image serving as a constraint element into text; and a third diffusion model module 653, configured to input multiple rendered images into a third diffusion model, using the text as a benchmark for generating a second model representation, and adjusting the second model representation toward the benchmark.

[0116] In an example, a stylization model may be embedded in the third diffusion model, so that the adjusted second model representation includes stylization information.

[0117] According to another aspect of the present disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method in the above-mentioned embodiment.

[0118] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable a computer to execute the method in the above embodiment.

[0119] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the computer program implements the method in the above embodiment when executed by a processor.

[0120] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.

[0121] refer to Figure 7, a block diagram of an electronic device 700 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0122] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0123] Multiple components in the device 700 are connected to the I / O interface 705, including: an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. The input unit 706 can be any type of device that can input information to the device 700. The input unit 706 can receive input digital or character information and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 707 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 708 can include but is not limited to a disk, an optical disk. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, an 802.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0124] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as the three-dimensional model generation method. For example, in some embodiments, the three-dimensional model generation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the three-dimensional model generation method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the three-dimensional model generation method in any other appropriate manner (e.g., by means of firmware).

[0125] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0127] 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.

[0128] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0129] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0130] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0131] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0132] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.

Claims

1. A three-dimensional model generation method, comprising: Acquire a first constraint element provided by a user for a first target three-dimensional model to be generated, where the first constraint element includes an image for describing the first target three-dimensional model; Inputting the first constraint element into a three-dimensional content generation model to obtain initial shape information of the first target three-dimensional model; Based on the first constraint element, obtaining initial texture information of the first target three-dimensional model via a multi-layer perceptron MLP, wherein the first model representation of the first target three-dimensional model includes the initial shape information and the initial texture information; converting the first model representation into a second model representation capable of being adjusted; Performing physically based rendering (PBR) based on the second model representation to generate a plurality of first rendered images of the first target three-dimensional model, wherein the plurality of first rendered images respectively correspond to a plurality of perspectives, each first rendered image is synthesized via a plurality of first sub-rendered images, and the plurality of first sub-rendered images respectively correspond to a plurality of attributes in the initial texture information; and Based on the multiple first rendered images and the first constraint element, the second model representation of the first target three-dimensional model is adjusted to generate the first target three-dimensional model, including: converting the image as the first constraint element into text; and inputting the multiple first rendered images into a third diffusion model, using the text as a benchmark for generating the second model representation of the first target three-dimensional model, and adjusting the second model representation of the first target three-dimensional model toward the benchmark.

2. The method according to claim 1, wherein: The method further comprises: Acquire a second constraint element provided by a user for a second target three-dimensional model to be generated, where the second constraint element includes text for describing the second target three-dimensional model; Based on the second constraint element, generating a first model representation of the second target three-dimensional model, wherein the first model representation of the second target three-dimensional model includes initial shape information and initial texture information of the second target three-dimensional model; Furthermore, after converting the first model representation into the second model representation that can be adjusted, the method further includes: Performing physically based rendering (PBR) based on the second model representation to generate a plurality of second rendered images of the second target three-dimensional model, wherein the plurality of second rendered images respectively correspond to a plurality of perspectives, each second rendered image is synthesized via a plurality of second sub-rendered images, and the plurality of second sub-rendered images respectively correspond to a plurality of attributes in the initial texture information; and Based on the plurality of second rendered images and the second constraint element, the second model representation of the second target three-dimensional model is adjusted to generate the second target three-dimensional model.

3. The method according to claim 2, wherein: The step of generating a first model representation of the second target three-dimensional model based on the second constraint element includes: The text is used as a reference for generating the first model representation of the second target three-dimensional model, and the first model representation of the second target three-dimensional model is obtained through neural radiation field NeRF rendering.

4. The method according to claim 3, wherein: The method of using the text as a reference for generating the first model representation of the second target three-dimensional model and obtaining the first model representation of the second target three-dimensional model through neural radiation field NeRF rendering includes: The image generated in the neural radiation field (NeRF) rendering is input into a first diffusion model to adjust the first model representation of the second target three-dimensional model towards the benchmark.

5. The method according to claim 4, wherein: The image generated in the neural radiance field (NeRF) rendering is represented in the form of a latent code.

6. The method according to claim 4, wherein: The first model representation of the second target three-dimensional model further includes stylized information of the second target three-dimensional model, where the stylized information is obtained based on a stylized model embedded in the first diffusion model.

7. The method according to claim 3, wherein: The adjusting the second model representation of the second target three-dimensional model based on the plurality of second rendered images and the second constraint element to generate the second target three-dimensional model comprises: The plurality of second rendered images are input into a second diffusion model, the text is used as a reference for generating the second model representation of the second target three-dimensional model, and the second model representation of the second target three-dimensional model is adjusted toward the reference.

8. The method according to claim 1, wherein: A stylization model is embedded in the third diffusion model, so that the adjusted second model representation of the first target three-dimensional model includes stylization information.

9. The method according to any one of claims 1 to 8, wherein: The first model representation includes a three-dimensional model mesh, and the second model representation includes a deep moving tetrahedron DMTet.

10. A three-dimensional model generating device, comprising: A first constraint element acquisition module is configured to acquire a first constraint element provided by a user for a first target three-dimensional model to be generated, wherein the first constraint element includes an image for describing the first target three-dimensional model; an initial shape information acquisition module, configured to input the first constraint element into a three-dimensional content generation model to obtain initial shape information of the first target three-dimensional model; an initial texture information acquisition module, configured to obtain initial texture information of the first target three-dimensional model via a multi-layer perceptron MLP based on the first constraint element, wherein the first model representation of the first target three-dimensional model includes the initial shape information and the initial texture information; A model representation conversion module, configured to convert the first model representation into a second model representation that can be adjusted; a first rendering image generation module, configured to perform physically based rendering (PBR) based on the second model representation to generate a plurality of first rendering images of the first target three-dimensional model, wherein the plurality of first rendering images respectively correspond to a plurality of perspectives, each first rendering image is synthesized via a plurality of first sub-rendering images, and the plurality of first sub-rendering images respectively correspond to a plurality of attributes in the initial texture information; and A first three-dimensional model generation module is configured to adjust the second model representation of the first target three-dimensional model based on the multiple first rendered images and the first constraint element to generate the first target three-dimensional model, including: a constraint element conversion module, configured to convert the image as the first constraint element into text; and a third diffusion model module, configured to input the multiple first rendered images into a third diffusion model, use the text as a benchmark for generating the second model representation of the first target three-dimensional model, and adjust the second model representation of the first target three-dimensional model toward the benchmark.

11. The device according to claim 10, wherein: The device also includes: A second constraint element acquisition module is configured to acquire a second constraint element provided by a user for a second target three-dimensional model to be generated, wherein the second constraint element includes a text for describing the second target three-dimensional model; a model representation generating module, configured to generate a first model representation of the second target three-dimensional model based on the second constraint element, wherein the first model representation of the second target three-dimensional model includes initial shape information and initial texture information of the second target three-dimensional model; Furthermore, after obtaining the second model representation of the second target three-dimensional model through the model representation conversion module, the device further includes: a second rendering image generation module, configured to perform physically based rendering (PBR) based on the second model representation to generate a plurality of second rendering images of the second target three-dimensional model, wherein the plurality of second rendering images respectively correspond to a plurality of perspectives, each second rendering image is synthesized via a plurality of second sub-rendering images, and the plurality of second sub-rendering images respectively correspond to a plurality of attributes in the initial texture information; and The second three-dimensional model generating module is configured to adjust the second model representation of the second target three-dimensional model based on the plurality of second rendered images and the second constraint element to generate the second target three-dimensional model.

12. The device according to claim 11, wherein The model representation generation module includes: The model representation rendering module is configured to use the text as a reference for generating the first model representation of the second target three-dimensional model, and obtain the first model representation of the second target three-dimensional model through neural radiation field NeRF rendering.

13. The device according to claim 12, wherein: The model representation rendering module includes: The first diffusion model module is configured to input the image generated in the neural radiation field NeRF rendering into a first diffusion model to adjust the first model representation of the second target three-dimensional model towards the benchmark.

14. The device according to claim 13, wherein: The image generated in the neural radiance field (NeRF) rendering is represented in the form of a latent code.

15. The device according to claim 13, wherein: The first model representation of the second target three-dimensional model further includes stylized information of the second target three-dimensional model, where the stylized information is obtained based on a stylized model embedded in the first diffusion model.

16. The device according to claim 12, wherein: The second three-dimensional model generating module comprises: The second diffusion model module is configured to input the plurality of second rendered images into a second diffusion model, use the text as a reference for generating the second model representation of the second target three-dimensional model, and adjust the second model representation of the second target three-dimensional model toward the reference.

17. The device according to claim 10, wherein: A stylization model is embedded in the third diffusion model, so that the adjusted second model representation of the first target three-dimensional model includes stylization information.

18. The device according to any one of claims 10 to 17, wherein: The first model representation includes a three-dimensional model mesh, and the second model representation includes a deep moving tetrahedron DMTet.

19. An electronic device comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1-9.

20. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to make a computer execute the method according to any one of claims 1-9.

21. A computer program product comprising a computer program, wherein: The computer program implements the method according to any one of claims 1 to 9 when executed by a processor.