This topic describes four methods for creating an avatar video production job, and provides API references and examples.
Method 1: Create an avatar video production job in the IMS console
Log on to the Intelligent Media Services (IMS) console.
In the upper-left corner, select a region based on your business requirements.
In the left-side navigation pane, choose .
On the Video Editing Projects tab, create a video editing project.
Add an avatar to simulate live broadcasting.
Add a text-driven or speech-driven avatar in the material section, set the parameters based on your business requirements, and then click Launch Avatar and Generate Video. The avatar is added to the video track after the production is complete.
Perform other types of editing operations based on your business requirements.
Click Save in the upper-right corner to save the editing project.
You can also click Generate as Template or Export As in the upper-right corner to generate a template for the project or export the project to the media asset library.
Method 2: Create an avatar video production job by integrating the video editing SDK for Web
Integrate the video editing SDK for Web into your project to create an avatar video production job. For more information, see Integrate the video editing SDK for Web.
Method 3: Create an avatar video production job by using the Timeline parameter
Create an avatar video production job
Call the SubmitMediaProducingJob operation and configure the "Type": "AI_Avatar"
field in the Timeline
parameter to create an avatar video production job. You can configure the avatar type based on your business requirements. For more information about the Timeline parameter, see Configure the Timeline parameter to integrate an avatar.
Query the avatar video production job
You can call the GetMediaProducingJob operation to query the details of the avatar video production job.
API references
Examples
Method 4: Create an independent avatar rendering job by calling an API operation
Create an independent avatar rendering job
To create an independent avatar rendering job, call the SubmitAvatarVideoJob operation and specify whether the avatar is text-driven or speech-driven by configuring the InputConfig
parameter. You can add the generated independent avatar video to your editing project.
Query the independent avatar video
Call the GetSmartHandleJob operation to query the independent avatar rendering job.