# US 2025/0159312 A1 · Video generation method and apparatus, medium, and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0159312 A1
- Document ID: US20250159312A1
- Status: Published application
- Kind: A1
- Application number: 18/916,501
- Filed: 2024-10-15
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Applicants: Douyin Vision Co., Ltd.
- Inventors: Yihao LIU; Chenchi LIANG; Lei WAN
- Web page: https://patentgrep.com/patent/US20250159312A1

## CPC

- H04N 21/816: {involving special video data, e.g 3D video}
- G06V 30/153: {using recognition of characters or words}
- G06V 30/18: Extraction of features or characteristics of the image
- H04N 21/4884: {for displaying subtitles}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present disclosure relates to a video generation method and apparatus, a medium, and an electronic device. The method includes: splitting a target text to obtain a plurality of sub-texts corresponding to the target text; performing character feature extraction on the target text to obtain a character feature of each character in the target text; determining a plurality of text content features respectively corresponding to the plurality of sub-texts, where a text content feature corresponding to each sub-text is used to represent content described in the sub-text; respectively determining a target feature corresponding to each sub-text based on the character feature and a text content feature corresponding to each sub-text; generating a text image corresponding to each sub-text based on the target feature; and generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts.

## Claims

### Claim 1

A video generation method, comprising:
splitting a target text to obtain a plurality of sub-texts corresponding to the target text;
performing character feature extraction on the target text to obtain a character feature of each character in the target text;
determining a plurality of text content features respectively corresponding to the plurality of sub-texts, wherein a text content feature corresponding to a sub-text of the plurality of sub-texts is used to represent content described in the sub-text;
respectively determining a target feature corresponding to each sub-text of the plurality of sub-texts based on the character feature and a text content feature corresponding to the each sub-text;
generating a text image corresponding to the each sub-text based on the target feature; and
generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts, respectively.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the performing character feature extraction on the target text to obtain a character feature of each character in the target text comprises:
determining each character in the target text and a feature prompt word under each character dimension of at least one character dimension for the character; and
merging at least one feature prompt word under the at least one character dimension to obtain the character feature.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the at least one character dimension comprises at least one selected from a group comprising a hair dimension, a face dimension, and a clothing dimension, the hair dimension comprises a hairstyle and/or a hair color, and the clothing dimension comprises at least one selected from a group comprising an upper garment, a lower garment, and shoes.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the determining a plurality of text content features respectively corresponding to the plurality of sub-texts comprises:
for each sub-text, determining a target object in the sub-text and a type of the target object based on the sub-text;
determining a prompt word corresponding to each element dimension based on an element dimension corresponding to the type of the target object and the sub-text; and
generating a text content feature corresponding to the sub-text based on the prompt word corresponding to each element dimension.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the respectively determining a target feature corresponding to each sub-text of the plurality of sub-texts based on the character feature and a text content feature corresponding to the each sub-text comprises:
in response to the text content feature comprising a person feature, determining a target character corresponding to the person feature in the text content feature; and
adding, to the text content feature, a character feature corresponding to the target character as a feature of a person description dimension, to obtain the target feature.

### Claim 6 (depends on 2)

The method according to claim 2, wherein the splitting a target text to obtain a plurality of sub-texts corresponding to the target text comprises:
determining each sentence in the target text; and
performing text splitting based on sentences in the target text and a storyboard detection model, and using each storyboard text output by the storyboard detection model as the sub-text, wherein each storyboard text comprises at least one sentence, and each sentence belongs to one storyboard text.

### Claim 7 (depends on 2)

The method according to claim 2, wherein the generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts, respectively comprises:
generating an audio and a subtitle corresponding to each sub-text of the plurality of sub-texts; and
respectively merging audios respectively corresponding to the plurality of sub-texts, subtitles respectively corresponding to the plurality of sub-texts, and the text images based on position sequence information of the plurality of sub-texts in the target text to obtain merged files, and obtaining the target video based on the merged files.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the determining a plurality of text content features respectively corresponding to the plurality of sub-texts comprises:
for each sub-text, determining a target object in the sub-text and a type of the target object based on the sub-text;
determining a prompt word corresponding to each element dimension based on an element dimension corresponding to the type of the target object and the sub-text; and
generating a text content feature corresponding to the sub-text based on the prompt word corresponding to each element dimension.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the respectively determining a target feature corresponding to each sub-text of the plurality of sub-texts based on the character feature and a text content feature corresponding to the each sub-text comprises:
in response to the text content feature comprising a person feature, determining a target character corresponding to the person feature in the text content feature; and
adding, to the text content feature, a character feature corresponding to the target character as a feature of a person description dimension, to obtain the target feature.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the splitting a target text to obtain a plurality of sub-texts corresponding to the target text comprises:
determining each sentence in the target text; and
performing text splitting based on sentences in the target text and a storyboard detection model, and using each storyboard text output by the storyboard detection model as the sub-text, wherein each storyboard text comprises at least one sentence, and each sentence belongs to one storyboard text.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts, respectively comprises:
generating an audio and a subtitle corresponding to each of the plurality of sub-texts; and
respectively merging audios respectively corresponding to the plurality of sub-texts, subtitles respectively corresponding to the plurality of sub-texts, and the text images based on position sequence information of the plurality of sub-texts in the target text to obtain merged files, and obtaining the target video based on the merged files.

### Claim 12

A non-transitory computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, steps of a video generation method are implemented,
wherein the method comprises:
splitting a target text to obtain a plurality of sub-texts corresponding to the target text;
performing character feature extraction on the target text to obtain a character feature of each character in the target text;
determining a plurality of text content features respectively corresponding to the plurality of sub-texts, wherein a text content feature corresponding to a sub-text of the plurality of sub-texts is used to represent content described in the sub-text;
respectively determining a target feature corresponding to each sub-text of the plurality of sub-texts based on the character feature and a text content feature corresponding to the each sub-text;
generating a text image corresponding to the each sub-text based on the target feature; and
generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts, respectively.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium according to claim 12, wherein the performing character feature extraction on the target text to obtain a character feature of each character in the target text comprises:
determining each character in the target text and a feature prompt word under each character dimension of at least one character dimension for the character; and
merging at least one feature prompt word under the at least one character dimension to obtain the character feature.

### Claim 14

An electronic device, comprising:
a memory, having a computer program stored thereon; and
a processor, configured to execute the computer program in the memory to implement steps of a video generation method,
wherein the method comprises:
splitting a target text to obtain a plurality of sub-texts corresponding to the target text;
performing character feature extraction on the target text to obtain a character feature of each character in the target text;
determining a plurality of text content features respectively corresponding to the plurality of sub-texts, wherein a text content feature corresponding to a sub-text of the plurality of sub-texts is used to represent content described in the sub-text;
respectively determining a target feature corresponding to each sub-text of the plurality of sub-texts based on the character feature and a text content feature corresponding to the each sub-text;
generating a text image corresponding to the each sub-text based on the target feature; and
generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts, respectively.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein when perform a step of the performing character feature extraction on the target text to obtain a character feature of each character in the target text, the processor is configured to:
determine each character in the target text and a feature prompt word under each character dimension of at least one character dimension for the character; and
merge at least one feature prompt word under the at least one character dimension to obtain the character feature.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the at least one character dimension comprises at least one selected from a group comprising a hair dimension, a face dimension, and a clothing dimension, the hair dimension comprises a hairstyle and/or a hair color, and the clothing dimension comprises at least one selected from a group comprising an upper garment, a lower garment, and shoes.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein when performing a step of the determining a plurality of text content features respectively corresponding to the plurality of sub-texts, the processor is configured to:
for each sub-text, determine a target object in the sub-text and a type of the target object based on the sub-text;
determine a prompt word corresponding to each element dimension based on an element dimension corresponding to the type of the target object and the sub-text; and
generate a text content feature corresponding to the sub-text based on the prompt word corresponding to each element dimension.

### Claim 18 (depends on 14)

The electronic device according to claim 14, wherein when performing a step of the respectively determining a target feature corresponding to each sub-text of the plurality of sub-texts based on the character feature and a text content feature corresponding to the each sub-text, the processor is configured to:
in response to the text content feature comprising a person feature, determine a target character corresponding to the person feature in the text content feature; and
add, to the text content feature, a character feature corresponding to the target character as a feature of a person description dimension, to obtain the target feature.

### Claim 19 (depends on 14)

The electronic device according to claim 14, wherein when performing a step of the splitting a target text to obtain a plurality of sub-texts corresponding to the target text, the processor is configured to:
determine each sentence in the target text; and
perform text splitting based on sentences in the target text and a storyboard detection model, and use each storyboard text output by the storyboard detection model as the sub-text, wherein each storyboard text comprises at least one sentence, and each sentence belongs to one storyboard text.

### Claim 20 (depends on 14)

The electronic device according to claim 14, wherein when performing a step of the generating a target video corresponding to the target text based on the plurality of sub-texts and text images corresponding to the plurality of sub-texts, respectively, the processor is configured to:
generate an audio and a subtitle corresponding to each of the plurality of sub-texts; and
respectively merge audios respectively corresponding to the plurality of sub-texts, subtitles respectively corresponding to the plurality of sub-texts, and the text images based on position sequence information of the plurality of sub-texts in the target text to obtain merged files, and obtain the target video based on the merged files.
