All Products
Search
Document Center

Intelligent Media Services:Getting started with intelligent production

Last Updated:Dec 09, 2024

This topic describes how to integrate the intelligent production service and view the result of an editing and production task.

Prerequisites

  • Intelligent Media Services (IMS) is activated. For more information, see Activate IMS.

  • If you want to perform video editing or intelligent tasks, make sure that the specified materials are uploaded to a media asset library. For more information, see Upload media assets by using the IMS console.

  • If you want to perform live editing, make sure that streams are ingested by Alibaba Cloud ApsaraVideo Live. For more information, see Live stream ingest.

  • If you want to produce videos by using templates, make sure that the templates are created or the preset public template library is used. For more information about the template details and usage instructions, see Online editing templates.

Online trial

You can quickly try editor features such as video editing, live editing, template-based editing, and intelligent tasks in the IMS console. For more information, see Console operations.

Integrate the intelligent production service

Integrate the intelligent production service by calling API operations

Feature

Description

References

Video editing

You can configure the start time, end time, style, and processing effect of a video, an image, audio, or a subtitle by specifying the Timeline parameter in an editing and production API request. The value of the Timeline parameter is in the JSON format.

Live editing

You can configure clips including the configurations of the clip start time and end time by specifying the Clips parameter in a live editing API request. The value of the Clips parameter is in the JSON format. The current clip in the output video starts to be displayed when the previous clip stops and stops being displayed when the next clip starts.

Video production by using templates

You can call template-related API operations to create, modify, and delete a template. Then, you can specify parameters such as TemplateId and ClipsParam in an editing and production API request and submit an editing and production task.

Intelligent task

You can call API operations related to intelligent tasks to implement features such as intelligent subtitling and intelligent dubbing. You can also specify the Effect sub-parameter of the Timeline parameter in an editing and production API request to intelligently preprocess the specified media asset.

Digital human

You can configure a text-driven or voice-driven digital human by specifying the InputConfig parameter in a production API request of a digital human video. The value of the InputConfig parameter is in the JSON format.

Integrate the intelligent production service by using online editing SDKs for web

Intelligent production provides professional, online, and visual editor integration solutions for video editing, live editing, template-based editing, and intelligent tasks. Custom components are also provided. You can customize or extend components based on your business requirements. For more information, see Integrate the online editing SDK for web.

View the result of an editing and production task

  • If you configure the callback indicating that media production is complete, wait for the callback result. For more information about callback configurations, see Configure callback events.

  • If you do not configure the callback indicating that media production is complete, you can call the GetMediaProducingJob operation with the task ID specified to query the task status. You can also go to the IMS console to view the status of the produced file. If Normal is displayed in the Status column of the file, the file production is successful. For more information about the sample code for calling API operations to query the task status, see Sample code for an editing and production task.