Integrate avatar videos into a timeline
Integrate avatar videos into a timeline by specifying text content, an audio MediaId, or an audio MediaURL.
Usage notes
Learn about avatars:
Background information
Integrate avatars into a timeline to generate videos with digital humans.
Configure avatars on the timeline by using one of the following methods:
-
Text content specified by the Content parameter.
-
An audio file ID specified by the MediaId parameter.
-
An audio file URL specified by the MediaURL parameter.
Method 1: Generate an avatar video by using text
Enter text content and the system generates a video in which the avatar reads the text aloud. This works like the Convert text into audio feature. You can customize voice type, intonation, and speed to produce different speech styles.
-
The following example uses two video tracks. The first track has a global image as the background. The second track contains an avatar video generated from text content.
-
In the avatar clip on the second track, Yunchen is the avatar and Zhitian is the speaker. The text is configured in the Content field.
-
AI_ASR automatically generates subtitles.
|
Effect |
Timeline example |
|
Method 2: Generate an avatar video by configuring the MediaId parameter
Specify an audio file ID in the MediaId parameter to generate an avatar video. To obtain the file ID, upload or register the file in the IMS console.
-
The following example uses two video tracks. The first track has a global image as the background. The second track contains an avatar video generated from an audio file specified by MediaId.
-
In the avatar clip on the second track, Yunxin is the avatar.
-
AI_ASR automatically generates subtitles.
|
Effect |
Timeline example |
|
Method 3: Generate an avatar video by configuring the MediaURL parameter
If your audio file is stored in an OSS bucket, specify the file URL in the MediaURL parameter to generate an avatar video without registering the file.
-
The following example uses two video tracks. The first track has a global image as the background. The second track contains an avatar video generated from an audio file specified by MediaURL.
-
In the avatar clip on the second track, Yunxin is the avatar.
-
AI_ASR automatically generates subtitles.
|
Effect |
Timeline example |
|