Model generation method, model acquisition method, video generation method, equipment and medium

By generating and obtaining virtual character interaction models, facial expressions and audio data are used to realize interactive human-computer interaction of voice and video, which solves the problem of insufficient interactivity of voice assistants in the existing technology, improves user experience and reduces terminal hardware requirements. .

CN118672386APending Publication Date: 2024-09-20SHANGHAI SHENQI ERA INTELLIGENT TERMINAL CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310286640.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing voice assistants only perform human-computer interaction in the auditory dimension, cannot improve user experience, and lack diversity and interactivity.

Method used

Generate and obtain virtual character interaction models through the model management server and model training server, use facial expressions and audio data training samples of predetermined characters to generate virtual character interaction models, and send them to the terminal to realize interactive interaction of voice and video. .

Benefits of technology

It improves the user experience, realizes the diversity and vividness of human-computer interaction, reduces the hardware requirements of terminal equipment, and promotes the popularization and application of virtual character interaction models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672386A
    Figure CN118672386A
Patent Text Reader

Abstract

The invention provides a method for acquiring a virtual character interaction model, and the method is used for a model management server, and the method comprises the steps: transmitting at least one kind of data for model training to a model training server, the data for model training being related to the facial expression of a predetermined character and the audio data of the predetermined character, a training sample can be obtained based on the data used for model training, and the training sample comprises a corresponding relation between a facial expression of a predetermined role and audio data; receiving a virtual character interaction model corresponding to various data used for model training; and in response to a downloading request, sending the virtual character interaction model corresponding to the downloading request to a terminal corresponding to the downloading request. The invention further provides a virtual character interaction model generation method, a video generation method, electronic equipment and a computer readable medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information technology, and in particular, to a method for acquiring a virtual character interaction model, a method for generating a virtual character interaction model, a video generating method, an electronic device, and a computer-readable medium. Background Art

[0002] With the development of artificial intelligence technology, voice assistants are installed on many smart terminals. Through voice assistants, human-computer interaction can be realized. The current voice assistants only stay at the voice mode of the auditory dimension, which is relatively simple and cannot further improve the user experience. Summary of the invention

[0003] The embodiments of the present disclosure provide a method for acquiring a virtual character interaction model, a method for generating a virtual character interaction model, a method for acquiring a virtual character interaction model, a video generating method, an electronic device, and a computer-readable medium.

[0004] As a first aspect of the present disclosure, a method for acquiring a virtual character interaction model is provided, which is used in a model management server. The method comprises:

[0005] Sending at least one data for model training to a model training server, wherein the data for model training is related to the facial expression of a predetermined character and the audio data of the predetermined character, and a training sample can be obtained based on the data for model training, wherein the training sample includes a correspondence between the facial expression of the predetermined character and the audio data;

[0006] Receiving a virtual character interaction model corresponding to various data for model training;

[0007] In response to the download request, the virtual character interaction model corresponding to the download request is sent to the terminal corresponding to the download request.

[0008] As a second aspect of the present disclosure, a method for generating a virtual character interaction model is provided, which is used in a model training server, and the generating method comprises:

[0009] Receiving at least one data for model training, wherein the data for model training is related to the facial expression of a predetermined character and the audio data of the predetermined character, and a training sample can be obtained based on the data for model training, wherein the training sample includes a correspondence between the facial expression of the predetermined character and the audio data;

[0010] Inputting each of the training samples into the initial model respectively, training the initial model to obtain each virtual character interaction model corresponding to each of the training samples;

[0011] Send each of the virtual character interaction models to the model management server

[0012] As a third aspect of the present disclosure, a method for acquiring a virtual character interaction model is provided, which is used in a terminal. The method comprises:

[0013] Send a download request to the model management server;

[0014] A virtual character interaction model is received, wherein the virtual character interaction model is a model obtained by training an initial model through training samples by a model training server, and the training samples include a correspondence between facial expressions of a predetermined character and audio data.

[0015] As a fourth aspect of the present disclosure, a video generation method is provided for a terminal, the video generation method comprising:

[0016] Determine a virtual character interaction model, wherein the virtual character interaction model is a model obtained by training an initial model by a model training server using training samples, wherein the training samples include a correspondence between facial expressions of a predetermined character and audio data;

[0017] Input driving information to the determined virtual character interaction model to obtain an output video for the driving information, wherein the character in the output video is the predetermined character.

[0018] As a fifth aspect of the present disclosure, an electronic device is provided, including:

[0019] one or more processors;

[0020] A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement at least one of the following methods:

[0021] The acquisition method described in the first aspect;

[0022] The generation method described in the second aspect;

[0023] The acquisition method described in the third aspect;

[0024] The video generation method described in the fourth aspect.

[0025] As a sixth aspect of the present disclosure, a computer readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, at least one of the following methods is implemented:

[0026] The acquisition method described in the first aspect;

[0027] The generation method described in the second aspect;

[0028] The acquisition method described in the third aspect;

[0029] The video generation method described in the fourth aspect.

[0030] The acquisition method can be executed by a model management server. The model management server sends the training sample to the model training server, and the model training server uses the training sample to train the initial model and obtain the virtual character interaction model. After receiving the virtual character interaction model, the current model management server can store it locally. After receiving the download request sent by the terminal, the corresponding virtual character interaction model is sent to the corresponding terminal according to the download request.

[0031] In the present disclosure, the training samples include the correspondence between the facial expressions of the predetermined characters and the audio data. For example, the facial expressions corresponding to the words expressing happiness, the facial expressions corresponding to the words expressing surprise, and the facial expressions corresponding to the words expressing doubt. Therefore, after the driving voice received by the terminal side is input into the virtual character interaction model, the video information of the character's vivid facial expressions can be obtained, which improves the user experience.

[0032] After receiving the virtual character interaction model, the terminal can input driving information (for example, any one of voice information, text information and video information) into the virtual character interaction model to obtain a corresponding output video. The character in the output video is the predetermined character. Therefore, through the method provided by the present disclosure, human-computer interaction is no longer limited to voice interaction, but is upgraded to video interaction, thereby improving the user experience.

[0033] Through the model management server and the model training server, the terminal can obtain the virtual character interaction model, which reduces the hardware requirements for the terminal device and is conducive to the popularization and application of the virtual character interaction model. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a flowchart of an implementation of the acquisition method provided by the first aspect of the present disclosure;

[0035] Figure 2 It is a schematic diagram of an application scenario of the method provided by the present disclosure;

[0036] Figure 3 is a flowchart of another implementation of the acquisition method provided in the first aspect of the present disclosure;

[0037] Figure 4 is a flowchart of another implementation of the acquisition method provided in the first aspect of the present disclosure;

[0038] Figure 5 is a flowchart of another implementation of the acquisition method provided in the first aspect of the present disclosure;

[0039] Figure 6 is a flowchart of another implementation of the acquisition method provided in the first aspect of the present disclosure;

[0040] Figure 7 It is a flowchart of an implementation method of a method for generating a virtual character interaction model provided in the second aspect of the present disclosure;

[0041] Figure 8 It is a flowchart of an implementation method of a method for acquiring a virtual character interaction model provided in the third aspect of the present disclosure;

[0042] Fig. 9 is a flowchart of another implementation of the method for acquiring a virtual character interaction model provided in the third aspect of the present disclosure;

[0043] Fig.10 is a flowchart of an implementation of the video generation method provided in the fourth aspect of the present disclosure;

[0044] Fig.11 is a module schematic diagram of an implementation mode of an electronic device provided by the present disclosure;

[0045] Fig.12 is a schematic diagram of a computer-readable medium provided by the present disclosure;

[0046] Fig.13 It is a module diagram of an implementation mode of the model management server provided by the present disclosure;

[0047] Fig.14 It is a module diagram of an implementation mode of the model training server provided by the present disclosure;

[0048] Fig.15 is a schematic diagram of an implementation of a terminal provided by the present disclosure;

[0049] Fig.16 is a flow chart of the model training method provided in Example 1 of the present disclosure;

[0050] Fig.17 It is a flow chart of the interaction between the model management server and the terminal and the completion of pushing of the virtual character interaction model provided in Embodiment 2 of the present disclosure;

[0051] Fig.18 is a flow chart of the terminal performing model selection and downloading provided by Embodiment 3 of the present disclosure;

[0052] Fig.19is a flowchart of model training provided in Embodiment 4 of the present disclosure;

[0053] Fig. 20 is a flow chart of setting a model application through a terminal provided in Embodiment 5 of the present disclosure;

[0054] Fig.21 It is a schematic diagram of a method for using a virtual character interaction model in the scenario of "Z Voice Assistant" provided in Embodiment 6 of the present disclosure;

[0055] Fig. 22 It is a schematic diagram of a method for using a virtual character interaction model in the scenario of "specific incoming call application" provided in Embodiment 7 of the present disclosure;

[0056] Fig.23 It is a schematic diagram of the method of using the virtual character interaction model in the scenario of "specific voice call" provided in Example 8 of the present disclosure. DETAILED DESCRIPTION

[0057] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the following is a detailed description of the method for obtaining a virtual character interaction model, the method for generating a virtual character interaction model, the video generation method, the electronic device, and the computer-readable medium provided by the present disclosure in conjunction with the accompanying drawings.

[0058] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete and to enable those skilled in the art to fully understand the scope of the present disclosure.

[0059] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.

[0060] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0061] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.

[0062] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.

[0063] As a first aspect of the present disclosure, a method for obtaining a virtual character interaction model is provided. Figure 1 As shown, the acquisition method includes:

[0064] In step S110, at least one data for model training is sent to a model training server, wherein the data for model training is related to the facial expression of a predetermined character and the audio data of the predetermined character;

[0065] In step S120, a virtual character interaction model corresponding to various data for model training is received;

[0066] In step S130, in response to the download request, the virtual character interaction model corresponding to the download request is sent to the terminal corresponding to the download request.

[0067] The present disclosure provides Figure 2 The system shown in , which includes a model management server, a model training server and a terminal.

[0068] The method for obtaining the virtual character interaction model provided in the first aspect of the present disclosure can be executed by a model management server. The model management server sends the data used for model training to the model training server, and the model training server uses the data used for model training to train the initial model and obtain the virtual character interaction model. After receiving the virtual character interaction model, the current model management server can store it locally. After receiving the download request sent by the terminal, the corresponding virtual character interaction model is sent to the corresponding terminal according to the download request.

[0069] As described above, in the present disclosure, the data used for model training is related to the facial expressions of the predetermined character and the audio data of the predetermined character. As an optional implementation, the data used for model training may include training samples, and the training samples include the correspondence between the facial expressions of the predetermined character and the audio data. For example, the facial expression corresponding to the words expressing happiness, the facial expression corresponding to the words expressing surprise, and the facial expression corresponding to the words expressing doubt.

[0070] As another optional implementation, the data used for model training may be video data of a predetermined role. In this case, the model training server may first pre-process the data used for model training to obtain the training sample.

[0071] The data for training the virtual character interaction model is related to the facial expressions and audio data of the predetermined character, so the facial expressions in the video output by the virtual character interaction model also correspond to the audio data. After the driving voice received by the terminal side is input into the virtual character interaction model, video information with vivid facial expressions of the character can be obtained, thereby improving the user experience.

[0072] After receiving the virtual character interaction model, the terminal can input driving information (for example, any one of voice information, text information and video information) into the virtual character interaction model to obtain a corresponding output video. The character in the output video is the predetermined character. Therefore, through the method provided by the present disclosure, human-computer interaction is no longer limited to voice interaction, but is upgraded to video interaction, thereby improving the user experience.

[0073] Through the model management server and the model training server, the terminal can obtain the virtual character interaction model, which reduces the hardware requirements for the terminal device and is conducive to the popularization and application of the virtual character interaction model.

[0074] In the present disclosure, there is no special limitation on the type of data sent to the model training server for model training. The roles in training samples of the same type are the same, and the roles in different training samples are different.

[0075] If the data used for model training of a character is sent to the model training server, the model training server can obtain a virtual character interaction model for the character; if the data used for model training of multiple characters is sent to the model training server, the model training server can obtain multiple virtual character interaction models corresponding to the multiple characters one by one.

[0076] After multiple virtual character interaction models are stored in the current model management server, the terminal user can select the corresponding virtual character according to personal preferences, thereby further improving the user experience.

[0077] In the present disclosure, there is no special limitation on "data for model training". For example, the data for model training may be video material including facial expressions of a predetermined character and corresponding audio data. In other words, the data for model training may include a final video file of a predetermined character. In the present disclosure, the "final video file" should provide enough information to meet the parameter requirements for the training model. For example, the duration, clarity, number of voices, etc. of the final video file meet the requirements for model training.

[0078] Optionally, the "final video file" is a video file obtained by processing the initial video file and meeting the parameter requirements for the training model. The model management server can send the final video file including the predetermined role to the model training server, and the model training server processes the received final video file to obtain a training sample.

[0079] In order to reduce the amount of computation of the model training server, the model management server may, optionally, directly process the final video files corresponding to each character to obtain training samples of each character. That is, as another optional implementation, the data used for model training includes training samples. As described above, the training samples include the correspondence between the facial expressions and audio data of the predetermined character obtained from the final video file of the predetermined character. Accordingly, Figure 3 As shown, before sending at least one model training data to the model training server, the acquisition method includes:

[0080] In step S106, the final video file of the predetermined role is processed to obtain the training sample.

[0081] As an optional implementation, Figure 4 As shown, the acquisition method may also include:

[0082] In step S140, identification parameter information is configured for each received virtual character interaction model.

[0083] Through step S140, the virtual character interaction models corresponding to different characters can be distinguished.

[0084] In the present disclosure, the virtual character interaction model sent in step S130 may be a virtual character interaction model configured with identification parameter information.

[0085] In the present disclosure, there is no special limitation on the identification parameter information, as long as it can distinguish the virtual character interaction models corresponding to different characters. Optionally, the identification parameter information of the virtual character interaction model includes at least one of the following parameter information:

[0086] Model identity, model nickname, model introduction information, model ownership information, information indicating whether it is public, cost information, application scenario information, and information indicating whether it is pushed to users.

[0087] Specifically:

[0088] Model identification (ID): uniquely identifies a trained virtual character interaction model. The format defined in this embodiment is M-XXXXXX.

[0089] Model Nickname: The name of the model, which can be the name of the virtual character. It is convenient for communication, exchange and memory.

[0090] Model introduction: introduces the virtual character interaction model. It is convenient for administrators to understand the model information before deployment or users to understand the model before downloading. It can be animation, video, picture, text or a combination of them.

[0091] Model ownership information: uniquely identifies the model copyright owner. In addition to the backend administrator, only the model copyright owner can modify or delete the model on the server. The format defined in this embodiment is O-XXXXXX.

[0092] Information that identifies whether the model is publicly available: Defines whether the model is publicly available to all users. The options are: Yes / Partially Public / No. If you select Yes, the model is publicly available to all users. If you select Partially, you need to further specify which users the model is publicly available to. If you select No, the model is only available to the owner, which generally refers to the model trained by an individual user.

[0093] Fee information: You can configure whether the model download is charged and how much it is charged. If it is free, the fee is configured to 0.

[0094] Application scenario information: You can configure which specific applications or scenarios the model is used for. If it is for a certain application, you need to further specify the application ID information. If it is for some special scenarios, such as starting for a certain incoming call number, you need to further specify the number information.

[0095] Information indicating whether to push the model to the user: Configure whether the server actively pushes the model to the user. If yes, the server will actively send a message to the user to push the model. If no, the server will not actively push the model to the user.

[0096] Table 1 exemplarily shows four virtual role interaction models configured with identification parameter information:

[0097] Table 1

[0098]

[0099] The first model in Table 1, with ID M-000001 and nickname Xiaojia, is a female anchor on Douyin who has obtained the portrait rights. The model production company or copyright holder is Z Company, and the system assigns a unique ID of O-000001. This means that in addition to the backend administrator, only Z Company has the right to modify or delete this model. The model selection is open to all employees, and all users who have registered for this system and have not downloaded and installed it can download it. The model fee is set to 0, which means that users can download and use it for free. The model scenario is defined as only for Z Voice Assistant, so the model can only be applied to Z Voice Assistant after downloading. If the push is set to yes, the system will actively push this model to eligible users.

[0100] The second model in Table 1 has an ID of M-000002 and a nickname of Xiaomei. She is the leading actress of a TV series who has obtained the portrait rights. The model production company or copyright holder is Company Z, and the system assigns a unique ID of O-000001. This means that in addition to the backend administrator, only Company Z has the right to modify or delete this model. The model selection is open to all employees, and all users who have registered for this system and have not downloaded and installed it can download it. The model fee is set to 5, which means that it costs 5 yuan to download this model. The model scenario is defined as universal, so the user can define the usage scenario after the model is downloaded. If the push is set to no, the system will not actively push this model to the user.

[0101] The third model in Table 1 has an ID of M-000003 and a nickname of Nezha. It is the protagonist of a cartoon that has obtained the portrait rights. The model production company or copyright holder is Company G, and the system assigns a unique attribution ID of O-000002. This means that in addition to the backend administrator, only Company G has the right to modify or delete this model. The model selection is partially public, and it is specified that it is publicly visible to users with registered IDs A and B. Therefore, only users who log in with the ID of A or B can see this model. The model fee is set to 0, which means that users can download and use it for free. The model scenario is defined as a specific scenario, and it is specified that it is only for the incoming call number 10695555. After the model is downloaded, it will only be activated and used when the number 10695555 calls. If the push is set to yes, the system will actively push this model to eligible users.

[0102] The fourth model in Table 1 has an ID of M-000004 and a nickname of Piggy. The model is described as privately customized. The model maker or copyright holder is user A. The system assigns a unique ID of O-000003. This means that in addition to the backend administrator, only user A has the right to modify or delete this model. The model is not public, so only user A can see it. The model fee is set to 0, which means that users can download and use it for free. The model scenario is defined as universal, so the user can define the usage scenario after the model is downloaded. If the push setting is set to yes, the system will actively push this model to user A. Here, only user A meets the push conditions.

[0103] As described above, in the present disclosure, after receiving the virtual character interaction model sent by the model training server, it can be downloaded by the terminal.

[0104] In the present disclosure, there is no special limitation on how to obtain the initial video file. The initial video file can be directly uploaded to the model management server by the user or administrator, or uploaded to the model management server by the user through the terminal. Figure 5 As shown, before step S110, the acquisition method may include:

[0105] In step S102, the final video file is received.

[0106] In the present disclosure, the source of the "final video file" is not specifically limited.

[0107] As an optional implementation, the final video file sent by the terminal device can be received. This solution is equivalent to "role customization". That is, if the user wants to obtain a virtual role interaction model of a certain role, the user can use the terminal device to send the final video file of the role to the model management server.

[0108] In this implementation, the terminal is allowed to upload the initial video file, so that the virtual character interaction model can be customized, further improving the user experience.

[0109] Of course, the present disclosure is not limited to this. As another optional implementation, the administrator of the model management server may directly upload the video file of the predetermined role to the model management server, and the model management server may process it to obtain the data for model training.

[0110] In the acquisition method provided by the present disclosure, the current model management server only allows terminals registered on the current model management server to download. Therefore, after receiving the initial video file sent by the terminal, it is necessary to authenticate the terminal, and only if the authentication is passed will step S106 be further executed. That is, as an optional implementation, between step S102 and step S106, the acquisition method may also include: authenticating the terminal.

[0111] In order to facilitate the terminal to know the timing of downloading the virtual character interaction model, optionally, Figure 6 As shown, after receiving the virtual character interaction model corresponding to each training sample, the acquisition method further includes:

[0112] In step S122, a notification message is sent to each terminal that sends the final video file of the predetermined role.

[0113] After receiving the corresponding notification message, the terminal can send a download request to the model management server.

[0114] In the present disclosure, the model management server can establish a mapping relationship between the model name and the identification information of the terminal. When the terminal sends a download request, it will carry the identification information of the terminal. After receiving the download request in the terminal, the download request is parsed to determine the identification information of the terminal, and then the corresponding virtual character interaction model is determined, and the virtual character interaction model is sent to the terminal.

[0115] As a second aspect of the present disclosure, a method for generating a virtual character interaction model is provided, such as Figure 7 As shown, the generating method comprises:

[0116] In step S210, at least one data for model training is received, wherein the data for model training is related to the facial expression of a predetermined character and the audio data of the predetermined character;

[0117] In step S220, each training sample based on the data for model training is input into the initial model, and the initial model is trained to obtain each virtual character interaction model corresponding to each training sample, wherein the training sample includes a correspondence between the facial expression of the predetermined character obtained from the final video file of the predetermined character and the audio data;

[0118] In step S230, each of the virtual character interaction models is sent to a model management server.

[0119] The generation method can be executed by a model training server. The model management server sends the data used for model training to the model training server, and the model training server trains the initial model using the training samples based on the model training data, and obtains the virtual character interaction model. After the current model management server receives the virtual character interaction model, it can be stored locally on the model management server. After receiving the download request sent by the terminal, the corresponding virtual character interaction model is sent to the corresponding terminal according to the download request.

[0120] As described above, in the present disclosure, the training samples include the correspondence between the facial expressions of the predetermined characters and the audio data. For example, the facial expressions corresponding to the words expressing happiness, the facial expressions corresponding to the words expressing surprise, and the facial expressions corresponding to the words expressing doubt. Therefore, after the driving voice received by the terminal side is input into the virtual character interaction model, video information with vivid facial expressions of the characters can be obtained, thereby improving the user experience.

[0121] After receiving the virtual character interaction model, the terminal can input driving information (for example, voice information or text information) into the virtual character interaction model to obtain a corresponding output video. The character in the output video is the predetermined character. Therefore, through the method provided by the present disclosure, human-computer interaction is no longer limited to voice interaction, but is upgraded to video interaction, thereby improving the user experience.

[0122] Through the model management server and the model training server, the terminal can obtain the virtual character interaction model, which reduces the hardware burden of the terminal device during operation and also reduces the hardware requirements for the terminal device, which is conducive to the popularization and application of the virtual character interaction model.

[0123] In the present disclosure, there is no particular limitation on how to use the training samples to train the initial model. For example, the audio driven neural radiance field (AD-NeRF) technology can be used to obtain the virtual character interaction model.

[0124] When using AD-NeRF, the character’s voice in the final video file only takes 3 to 5 minutes. Given new voice material, the virtual character interaction model can be driven to output a video that matches the above character.

[0125] In the present disclosure, there is no special limitation on the timbre of the character output by the virtual character interaction model. For example, the timbre of the character output by the virtual character interaction model may be similar to the timbre in the final video file, other computer synthesized sounds may be used as the voice of the virtual character, and other sampled sounds may be used as the voice of the virtual character.

[0126] As described above, the data used for model training can be a "final video file" or a "training sample". When the data used for model training is a training sample, the model training server does not need to perform the step of "preprocessing the final video file to obtain a training sample".

[0127] If the data used for model training is a final video file of a predetermined role, then the generation method may further include the following steps between step S210 and step S220:

[0128] The final video file is processed to obtain corresponding training samples.

[0129] As a third aspect of the present disclosure, a method for obtaining a virtual character interaction model is provided, such as Figure 8 As shown, the acquisition method includes:

[0130] In step S310, a download request is sent to a model management server;

[0131] In step S320, a virtual character interaction model is received.

[0132] The virtual character interaction model is a model obtained by training an initial model through training samples by a model training server, and the training samples include a correspondence between facial expressions of a predetermined character and audio data.

[0133] In the present disclosure, the acquisition method can be executed by a terminal device. The virtual character interaction model is obtained by training a model training server and sent to a model management server.

[0134] The model management server sends the data used for model training to the model training server, and the model training server trains the initial model using the training samples based on the model training data, and obtains the virtual character interaction model. After the current model management server receives the virtual character interaction model, it can be stored locally on the model management server. After receiving the download request sent by the terminal, the corresponding virtual character interaction model is sent to the corresponding terminal according to the download request.

[0135] In the present disclosure, the training samples include the correspondence between the facial expressions of the predetermined characters and the audio data. For example, the facial expressions corresponding to the words expressing happiness, the facial expressions corresponding to the words expressing surprise, and the facial expressions corresponding to the words expressing doubt. Therefore, after the driving voice received by the terminal side is input into the virtual character interaction model, the video information of the character's vivid facial expressions can be obtained, which improves the user experience.

[0136] After receiving the virtual character interaction model, the terminal can input driving information (for example, voice information or text information) into the virtual character interaction model to obtain a corresponding output video. The character in the output video is the predetermined character. Therefore, through the method provided by the present disclosure, human-computer interaction is no longer limited to voice interaction, but is upgraded to video interaction, thereby improving the user experience.

[0137] Through the model management server and the model training server, the terminal can obtain the virtual character interaction model, which reduces the hardware burden of the terminal device during operation and also reduces the hardware requirements for the terminal device, which is conducive to the popularization and application of the virtual character interaction model.

[0138] In the present disclosure, before sending the download request to the model management server, Fig. 9 As shown, the acquisition method also includes:

[0139] In step S300, the final video file of the predetermined role is sent to the model management server.

[0140] Through step S300, role customization can be achieved to improve user experience.

[0141] In order to further improve the user experience, different application scenarios can use different virtual interaction models. Therefore, in step S310, multiple download requests can be sent to the model management server, and different download requests correspond to different roles. Accordingly, in step 320, multiple virtual role interaction models are received.

[0142] Of course, the present disclosure is not limited to this, and step S310 can be performed multiple times, and the download requests issued at different times can correspond to different roles. In this way, after multiple downloads, the current terminal stores different virtual interaction models of multiple roles. The virtual role interaction models of different roles can correspond to different application scenarios. The user can select a suitable virtual role interaction model according to the application scenario.

[0143] As an optional implementation, the virtual character interaction model may be configured with scene parameters configured by the model training server.

[0144] As another optional implementation, the model training server may not perform scene configuration for the virtual character interaction model, and the user may configure scene parameters for the virtual character interaction model through a terminal device.

[0145] As an optional implementation, a correspondence between a virtual character name, a model identifier (eg, a model ID, a model nickname), and a model storage address may be established.

[0146] Different virtual character interaction models can be enabled in different scenarios to further enhance the user experience.

[0147] As a fourth aspect of the present disclosure, a video generation method is provided. Fig.10 As shown, the video generation method includes:

[0148] In step S410, a virtual character interaction model is determined, where the virtual character interaction model is a model obtained by training an initial model using training samples by a model training server, where the training samples include a correspondence between facial expressions of a predetermined character and audio data;

[0149] In step S420, driving information is input into the determined virtual character interaction model to obtain an output video corresponding to the driving information, and the character in the output video is the predetermined character.

[0150] The virtual character interaction model is a model obtained by training an initial model through training samples by a model training server, wherein the training samples include the correspondence between the facial expressions and audio data of the predetermined character obtained from the final video file of the predetermined character, and the character in the output video is the predetermined character.

[0151] By inputting the driving information into the virtual character interaction model, a final video file corresponding to the driving information can be obtained, thereby realizing video interaction with the terminal and improving the user experience.

[0152] In the present disclosure, the virtual character interaction model is obtained through the acquisition method provided in the third aspect of the present disclosure. Therefore, neither the processing of the initial video nor the training of the model is performed locally on the terminal, thereby reducing the working pressure of the terminal hardware and improving the interaction efficiency.

[0153] As described above, the terminal may locally store a plurality of virtual character interaction models that match a plurality of different application scenarios. In step S410, the determined virtual character interaction model matches the target application scenario.

[0154] In the present disclosure, different application scenarios correspond to different driving information. For example, for the application scenario of "voice assistant", the corresponding driving information is a specific driving audio. For example, for SIRI, the driving information is the audio "hey siri". After receiving the driving audio, the voice assistant application can input the driving audio into the corresponding virtual character interaction model to obtain the final video file.

[0155] For another example, if the driving information is "incoming call sound", the incoming call information can be received through the incoming call application and the corresponding virtual character interaction model can be triggered. At this time, the audio output by the character in the final video file is the caller's voice. In this application scenario, video calls can be realized on the terminal side only by transmitting audio information through the channel, which not only reduces the bandwidth usage during the call, but also improves the user experience.

[0156] As a fifth aspect of the present disclosure, an electronic device is provided, such as Fig.11 As shown, the electronic device includes:

[0157] One or more processors 101;

[0158] The memory 102 stores one or more programs. When the one or more programs are executed by the one or more processors 101, the one or more processors implement at least one of the following methods:

[0159] The acquisition method provided in the first aspect of the present disclosure;

[0160] The generation method provided in the second aspect of the present disclosure;

[0161] The acquisition method provided in the third aspect of the present disclosure;

[0162] A fourth aspect of the present disclosure provides a video generation method.

[0163] Optionally, the electronic device may further include one or more I / O interfaces 103 connected between the processor and the memory and configured to implement information interaction between the processor and the memory.

[0164] Among them, the processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU) and the like; the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus) and the like.

[0165] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.

[0166] As a sixth aspect of the present disclosure, Fig.12As shown, a computer readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, at least one of the following methods is implemented:

[0167] The acquisition method provided in the first aspect of the present disclosure;

[0168] The generation method provided in the second aspect of the present disclosure;

[0169] The acquisition method provided in the third aspect of the present disclosure;

[0170] A fourth aspect of the present disclosure provides a video generation method.

[0171] Example

[0172] This embodiment also provides a model management server, such as Fig.13 As shown, the model management server may include a first management module, a preprocessing module, a storage module, a first authentication module, an interface a, an interface b, and an interface c.

[0173] The first management module is the core module of the model management server, responsible for business logic judgment and processing, and scheduling and managing other modules.

[0174] Interface a is the background management interface of the model management server, which provides services such as configuration and management of the model management server, background training material transmission, and service subscription management.

[0175] Interface b is an interface between the terminal and the model management server, which is used for communication between the terminal and the model management server, uploading model training materials, and downloading trained virtual character interaction models.

[0176] Interface c is an interface between servers, providing training material and model transmission services.

[0177] The preprocessing module is responsible for preprocessing the training materials and generating training materials from video files.

[0178] The storage module stores information such as original training materials, pre-processed training materials, and trained models.

[0179] The authentication module is responsible for bidirectional identity authentication of other communication network elements.

[0180] The present disclosure also provides a model training server, such as Fig.14 As shown, the model training server may include a second management module, a training module, a second storage module, a second authentication module, an interface a and an interface c.

[0181] The second management module is the business logic processing core module of the model training server, which is responsible for business logic judgment and processing, and scheduling and management of other modules.

[0182] The training module is used to train the initial model according to the imported training samples to obtain the virtual character interaction model. In order to ensure the training performance, the training module can be a professional GPU cluster card or NPU card.

[0183] The second storage module is used to store training samples and trained virtual character interaction models.

[0184] The second authentication module is used to perform two-way identity authentication on other communication network elements;

[0185] Interface a is the background management interface, which provides model training, model configuration and management;

[0186] Interface c is an interface between servers, providing training samples and model transmission services.

[0187] The present disclosure also provides a terminal, such as Fig.15 As shown, the terminal includes a third management module, a third storage module, a driving module, a third authentication module, an interface b, an interface d and an interface e.

[0188] Interface b is an interface between the terminal and the model management server, which is used for communication between the terminal and the model management server, uploading model training materials, and downloading trained virtual character interaction models.

[0189] Interface d is a user interface, which is used to provide a user interaction interface and provide functions such as viewing, setting, and importing local personalized training materials for virtual character interaction models.

[0190] Interface e is an application interface, which is used by other applications or services to import model ID information and drive audio information.

[0191] The third management module is the core module for processing business logic of the terminal, which is responsible for judging and processing business logic, and scheduling and managing other modules.

[0192] The driver module is used to synthesize the virtual human video in real time according to the model information and driving audio information passed by the third management module, so as to display it to the user on the terminal display panel and complete the interaction with the user. In order to ensure the real-time conversion effect, the driver module is configured with a dedicated hardware accelerator (for example, high-performance GPU+NPU) to ensure that the delay is within 20ms.

[0193] The third storage module is used to store the local initial video and the downloaded virtual character interaction model.

[0194] The third authentication module is used to perform two-way identity authentication on other communication network elements.

[0195] Example 1

[0196] like Fig.16 As shown, this embodiment 1 provides a process in which a model management server interacts with a model training server to obtain a virtual character interaction model.

[0197] The administrator logs in to the model training server (interface a) through the background management program, which can be a separate client or browser.

[0198] The model management server management module receives the connection request transmitted by interface a and mobilizes the first authentication module to perform two-way identity authentication. If the authentication is passed, it will go to the next step, otherwise the process ends.

[0199] After the authentication is passed, the administrator imports the training materials of the target character to the model management server (interface a) through the background interface. The target character is named Jia Jia, a movie star who has obtained the portrait rights.

[0200] The first management module of the model management server receives the training material transmitted by interface a, and mobilizes the preprocessing module to preprocess the material.

[0201] After receiving the notification that the preprocessing module has completed processing, the first management module of the model management server initiates a connection with the model training server through interface c.

[0202] The model management server calls the first authentication module and the model training server calls the second authentication module to complete the identity authentication of both parties.

[0203] The model management server transmits the training material to the model training server through interface c.

[0204] The second management module of the model training server mobilizes the storage module to store the materials, and mobilizes the training module to start the training.

[0205] After receiving the notification of training completion, the second management module of the model training server activates the second storage module to store the model.

[0206] The second management module of the model training server returns the trained model to the model management server through interface c.

[0207] After receiving the model information transmitted by the interface c, the first management module of the model management server activates the first storage module to store the model.

[0208] The first management module of the model management server notifies the backend administrator that the model has been trained through interface a. The administrator confirms the completion of the training or starts the training of a new model.

[0209] Example 2

[0210] like Fig.17 As shown, this embodiment 2 provides an interaction process between the model management server and the terminal.

[0211] The first management module of the model management server detects that the model "M-000001" is ready, and if the push parameter is yes, the push process for the new virtual character interaction model is started.

[0212] The first management module screens the qualified users, selects the users who have not installed the virtual character interaction model from the online users who have registered the model management server, and sends a push message.

[0213] It should be noted that the number of pushes and the push interval can be further set on the server side, such as 3 pushes with a 1-day interval between each push. This embodiment is set to push only once. That is, the model management server will start the model push process only after the virtual character interaction model is first made.

[0214] The model management server and the virtual character client of the terminal establish communication through interface b, and both parties mobilize their own authentication modules to complete two-way identity authentication.

[0215] After authentication, the model management server sends the model information of the virtual character interaction model to the terminal.

[0216] After the terminal parses the information of the virtual character interaction model, it displays it to the user through the interface d of the terminal, and the user can view the information of the virtual character interaction model.

[0217] After the user reviews, if he is satisfied with the virtual character interaction model information, he agrees and sends a download request to the model management server through the terminal to start the model download. Otherwise, the process ends.

[0218] After the virtual character interaction model is downloaded, the third management module of the terminal verifies the integrity of the model information of the virtual character interaction model. After the verification is passed, the model is installed and configured according to the model configuration parameters (Table 1).

[0219] After the installation is complete, the user is notified of the installation result, the local model configuration information library is updated, and the installation result is fed back to the server.

[0220] The local model configuration library information is updated as shown in Table 2:

[0221] Table 2

[0222]

[0223] Example 3

[0224] like Fig.18 As shown, this embodiment 3 provides a process for the terminal to select and download the virtual character interaction model.

[0225] User A enters his account number and password on the smart terminal and logs in to the virtual human client.

[0226] The model management server and the virtual character client of the terminal establish communication through interface b, and both parties mobilize their own authentication modules to complete two-way identity authentication.

[0227] User A browses the model information available for download through interface d. Here, M-000002 and M-000003 are available for download. Note: M-000001 has been downloaded before, so it no longer appears in the new model browsing window.

[0228] The user selects the model he wants through the terminal and downloads it. Here the user selects M-000002.

[0229] Because this model requires payment, the interface will jump to the payment interface and let the user complete the payment. You need to pay 5 yuan here. If you do not need to pay, skip this step.

[0230] After completing the payment, the download process starts.

[0231] After the virtual character interaction model is downloaded, the third management module of the terminal verifies the integrity of the model information of the virtual character interaction model. After the verification is passed, the model is installed and configured according to the model configuration parameters (Table 1).

[0232] Note that here, since the model application scenario is universal, the terminal will further guide the user to set the application scenario. The user can set it according to the guidance interface, or choose to set it later. The detailed process is the same as the subsequent embodiment 6. In this embodiment, the user chooses to set it later.

[0233] After the installation is complete, the user is notified of the installation result, the local model configuration information library is updated, and the installation result is fed back to the server.

[0234] Repeating the above steps, the user downloaded M-000003 again.

[0235] The local model configuration library information is updated as shown in Table 3:

[0236] Table 3

[0237]

[0238] Example 4

[0239] like Fig.19 As shown, Example 4 shows the process of model training performed by the model training server.

[0240] The user logs in to the virtual human client on the terminal.

[0241] The first management module of the model management server receives the connection request transmitted by interface b and mobilizes the first authentication module to perform two-way identity authentication. If the authentication is passed, it will go to the next step, otherwise the process ends.

[0242] After authentication, the user imports the training material of the target character through interface d, which is the target character training video (i.e., the final character video) collected by the user himself. The third management module of the terminal calls interface b to upload the training material to the model management server.

[0243] Note that when importing model materials, you need to further specify model attribute parameters. The parameters that can be set here mainly include: model nickname, model description, whether to be public, cost, application scenario, and whether to push. Other attribute parameters are automatically assigned by the server.

[0244] The first management module of the model management server receives the training material transmitted by interface b, and mobilizes the preprocessing module to preprocess the material.

[0245] After receiving the notification that the preprocessing module has completed processing, the first management module of the model management server initiates a connection with the model training server through interface c.

[0246] The model management server and model training server respectively mobilize their own authentication modules to complete the identity authentication of both parties.

[0247] The model management server transmits the training material to the model training server through interface c.

[0248] The second management module of the model training server mobilizes the storage module to store the materials, and mobilizes the training module to start the training.

[0249] After receiving the notification of training completion, the second management module of the model training server activates the second storage module to store the model.

[0250] The model training server management module returns the trained virtual character interaction model to the model management server through interface c.

[0251] After receiving the model information transmitted by interface c, the management module of the model management server activates the first storage module to store the model.

[0252] The model management server management module notifies the terminal through interface b that the virtual character interaction model has been trained and can be downloaded.

[0253] Note that in this embodiment, no fees are charged to users for model training and downloading. In actual business deployment, another optional method is to charge for model training or model downloading. The specific charging standards can be set by the service provider. This embodiment will not be repeated.

[0254] After the model is downloaded and installed, the local model configuration library can be further refreshed as shown in Table 4:

[0255] Table 4

[0256]

[0257] Example 5

[0258] From Table 4 in the above embodiment, it can be seen that there are two virtual character interaction models that have not set application scenarios, so they cannot be used. This embodiment describes how to set application scenarios.

[0259] Process as Fig. 20 As shown:

[0260] Log in to the virtual human client.

[0261] Select to view the list of installed models, here there are M-000001, M-000002, M-000003, M-000004.

[0262] Select a model without a set application scenario, here select M-000002. Note that the usage scenarios of the two models M-000001 and M-000003 are determined by the model owner, so local users cannot modify them.

[0263] The user sets the application scenario, which is set here as: voice call scenario for contact "Teacher Zhao".

[0264] After confirmation, the setting is completed.

[0265] The local model configuration library is refreshed to Table 5:

[0266] Table 5

[0267]

[0268] Example 7

[0269] This embodiment introduces an application scenario of virtual human: transforming the voice assistant into a set virtual human image to interact with the user, making people feel that they are communicating with a real person rather than a machine, thereby greatly improving the user experience. The entire flow chart is as follows Fig.21 As shown:

[0270] The Z voice assistant is started and passes the model ID information, here M-000001, to the virtual human client management module through interface e.

[0271] The virtual human client management module reads the model data and calls the model driver module to load the model.

[0272] The Z voice assistant transmits the voice information to the virtual human client management module in real time through interface e, and the management module transmits it transparently to the driver module.

[0273] The virtual human client driver module calculates and generates virtual human video in real time according to the driving voice and displays it to the user. Because a dedicated hardware acceleration unit is used, the entire calculation and rendering delay is controlled within 20ms.

[0274] Through the above steps, the Z voice assistant is transformed into a real Xiaojia, which makes users feel that they are communicating with Xiaojia instead of a machine, thus greatly improving the user experience of using the Z voice assistant.

[0275] Embodiment 8:

[0276] This embodiment introduces the second application scenario of virtual human: for a specific incoming call number, the incoming call ringtone or incoming call video is converted into a pre-set virtual human singing video, that is, the virtual human sings the ringtone, giving people a refreshing call experience. The whole flow chart is as follows Fig. 22 As shown:

[0277] The specific number is 10695555 in this embodiment, which is the business number of Company G. The telephone application transmits the set model ID information, namely M-000003, to the virtual human client management module through interface e.

[0278] The virtual human client management module reads the model data and calls the model driver module to load the model.

[0279] The telephone application transmits the incoming call ringing tone data to the virtual human client management module in real time through interface e, and the management module transparently transmits it to the driver module.

[0280] The virtual human client driver module calculates and generates a virtual human singing video in real time according to the driving ringtone and displays it to the user. Because a dedicated hardware acceleration unit is used, the entire calculation and rendering delay is controlled within 20ms.

[0281] Through the above steps, the ringtone or video of the incoming call from G Company's official number is converted into a Nezha singing video specially customized by G Company, and the singing content is still the ringtone or video set by the user. Because Nezha represents the brand image of G Company, this move not only makes the user's incoming call experience refreshing, but also helps G Company promote its brand image, killing two birds with one stone.

[0282] Embodiment 9:

[0283] This embodiment introduces the third application scenario of virtual human: for a specific contact, the other party's voice in the voice call is converted into a pre-set virtual human speech video, thereby converting the traditional voice call into a novel "video call" experience, but without the traffic consumption of video calls. The whole flow chart is as follows Fig.23 As shown:

[0284] Establish a voice call with a specific contact, in this embodiment, Mr. Zhao. The telephone application transmits the set model ID information, namely M-000002, to the virtual human client management module through interface e.

[0285] The virtual human client management module reads the model data and calls the model driver module to load the model.

[0286] The telephone application transmits the other party's voice data to the virtual human client management module in real time through interface e, and the management module transparently transmits it to the driving module.

[0287] The virtual human client driver module calculates and generates the virtual human speech video in real time according to the driving voice, and displays it to the user. Because a dedicated hardware acceleration unit is used, the entire calculation and rendering delay is controlled within 20ms.

[0288] Through the above steps, the voice call with Teacher Zhao is converted into a "video call" with Xiaomei. Because Xiaomei is the image of Teacher Zhao specially set by the user, the call with Teacher Zhao will bring a brand new experience to the user. And there is no need to worry about the traffic consumption caused by traditional video calls, which is also a win-win situation.

[0289] It should be noted that although the embodiment of the present invention only provides three virtual human application scenarios, the actual application scenarios are far from limited to these. It can also be scenarios such as telephone conferences, ringback tones during voice calls, etc., which can be implemented according to the solutions and ideas provided by the present invention.

[0290] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0291] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims

1. A method for acquiring a virtual character interaction model, used in a model management server, the method comprising: Sending at least one data for model training to a model training server, wherein the data for model training is related to a facial expression of a predetermined character and audio data of the predetermined character, and a training sample can be obtained based on the data for model training, wherein the training sample includes a correspondence between the facial expression of the predetermined character and the audio data; Receiving a virtual character interaction model corresponding to various data for model training; In response to the download request, the virtual character interaction model corresponding to the download request is sent to the terminal corresponding to the download request.

2. The acquisition method according to claim 1, wherein: The data used for model training includes a final video file of a predetermined role, and the final video file meets the parameter requirements of the training model.

3. The acquisition method according to claim 1, wherein: The data for model training includes training samples, and the training samples include a correspondence between the facial expression of the predetermined character and the audio data obtained from the final video file of the predetermined character; Before sending at least one data for model training to the model training server, the acquisition method includes: The final video file of the predetermined role is processed to obtain the training sample.

4. The acquisition method according to claim 2 or 3, wherein: Before processing the final video file of the predetermined role, the acquisition method further includes: The final video file is received.

5. The acquisition method according to any one of claims 1 to 3, wherein: The acquisition method further includes: Configure identification parameter information for each received virtual role interaction model.

6. The acquisition method according to claim 5, wherein: The identification parameter information of the virtual character interaction model includes at least one of the following parameter information: Model identity, model nickname, model introduction information, model ownership information, information indicating whether it is public, cost information, application scenario information, and information indicating whether it is pushed to users.

7. A method for generating a virtual character interaction model, used in a model training server, the method comprising: Receiving at least one data for model training, wherein the data for model training is related to a facial expression of a predetermined character and audio data of the predetermined character, and a training sample can be obtained based on the data for model training, wherein the training sample includes a correspondence between the facial expression of the predetermined character and the audio data; Inputting each of the training samples into the initial model respectively, training the initial model to obtain each virtual character interaction model corresponding to each of the training samples; Each of the virtual character interaction models is sent to a model management server.

8. A method for acquiring a virtual character interaction model, used in a terminal, the method comprising: Send a download request to the model management server; A virtual character interaction model is received, wherein the virtual character interaction model is a model obtained by training an initial model through training samples by a model training server, and the training samples include a correspondence between facial expressions of a predetermined character and audio data.

9. The acquisition method according to claim 8, wherein: Before sending the download request to the model management server, the acquisition method further includes: The final video file of the predetermined role is sent to the model management server.

10. A video generation method, used in a terminal, the video generation method comprising: Determine a virtual character interaction model, wherein the virtual character interaction model is a model obtained by training an initial model by a model training server using training samples, wherein the training samples include a correspondence between facial expressions of a predetermined character and audio data; Input driving information to the determined virtual character interaction model to obtain an output video for the driving information, wherein the character in the output video is the predetermined character.

11. The video generation method according to claim 10, wherein: In the step of determining the virtual character interaction model, the determined virtual character interaction model matches the target application scenario.

12. An electronic device comprising: one or more processors; A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement at least one of the following methods: The acquisition method according to any one of claims 1 to 6; The generation method according to claim 7; The acquisition method according to claim 8 or 9; The video generation method according to claim 10 or 11.

13. A computer readable medium having a computer program stored thereon, wherein when the program is executed by a processor, at least one of the following methods is implemented: The acquisition method according to any one of claims 1 to 6; The generation method according to claim 7; The acquisition method according to claim 8 or 9; The video generation method according to claim 10 or 11.

Citation Information

Cited By

  • Model generation method, model acquisition method, video generation method, device, and medium

    EP4675400A1