Arranges media assets, including videos, images, background music, and voiceovers, into a complete timeline based on media selection results, and creates an editing project for preview. Two scenarios are supported: image-text matching and highlight mashup.
Operation description
- After submitting a job, you can call ListBatchMediaProducingJob to retrieve matching jobs. To get detailed information for a specific job, including its status, output media asset IDs, and URLs, call GetBatchMediaProducingJob .
- The feature is in public preview and does not charge fees.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| ice:SubmitSceneTimelineOrganizationJob | none | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| InputConfig | string | Yes | The input configuration. Its structure and required fields depend on the value of JobType.
| { "BackgroundMusic": "****75c3936f3a8743850f2da942****", "MediaArray": [ "https://test-bucket.oss-cn-shanghai.aliyuncs.com/test.mp4" ], "SpeechTextArray": [ "A new Freshippo store just opened in the nearby mall. Today is the grand opening." ] } |
| EditingConfig | string | No | The editing configuration. Its structure depends on the value of JobType.
| { "MediaConfig": { "Volume": 0 }, "SpeechConfig": { "Volume": 1 }, "BackgroundMusicConfig": { "Volume": 0.3 } } |
| OutputConfig | string | Yes | The output configuration. Its structure and required fields depend on the value of JobType.
| { "MediaURL": "http://test-bucket.oss-cn-shanghai.aliyuncs.com/xxx_{index}.mp4", "Count": 1, "Width": 1080, "Height": 1920 } |
| UserData | string | No | The user-defined data, including the business and callback configurations. For more information, see UserData . | {"NotifyAddress":"http://xx.xx.xxx"} or {"NotifyAddress":"https://xx.xx.xxx"} or {"NotifyAddress":"ice-callback-demo"} |
| JobType | string | Yes | The job type. Valid values:
Differences:
| Smart_Mix_Timeline_Organize |
| MediaSelectResult | string | Yes | The media selection results from a previously run SubmitSceneMediaSelectionJob. You can retrieve this result by calling GetBatchMediaProducingJob. | { "textMatchMediaOutputList": [{ "textMatchMediaSentenceOutputList": [{ "duration": 3.366667, "matchClipList": [{ "endTime": 11.16, "mediaId": "****a0900f5071efbf1ce7e6c66a****", "startTime": 8.04 }], "text": "A new Freshippo store just opened in the nearby mall" }, { "duration": 1.566667, "matchClipList": [{ "endTime": 1.54, "mediaId": "****a0900f5071efbf1ce7e6c66a****", "startTime": 0 }], "text": "Today is the grand opening" } ] }] } |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"JobId": "****20b48fb04483915d4f2cd8ac****"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-11-07 | Add Operation | View Change Details |
