AsyncEditTimeline

Updated at:

Edits the timeline of a video editing task.

Debug

You can run this API directly in OpenAPI Explorer, saving you from computing signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.

Debug

Authorization information

The following table describes the authorization information of this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:

  • Operation: the specific permission point.

  • Access level: the access level of each operation. Valid values: Write, Read, and List.

  • Resource type: the resource types that support authorization in the operation. Details are as follows:

    • Required resource types are marked with an asterisk (*) before them.
    • For operations that do not support resource-level authorization, All Resources is used.
  • Condition key: the condition keys defined by the cloud service itself.

  • Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of related operations at the same time for the operation to succeed.

ActionAccess levelResource typeCondition keyRelated operation
aimiaobi:AsyncEditTimelineupdate
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
TaskIdstringYes

Unique identifier of the task

0dbf1055f8a2475d99904c3b76a0ffba
Timelinesarray<object>Yes

Array structure of video editing timelines

objectYes
Clipsarray<object>Yes

Array of video clips

objectNo

Video clip

OutExfloatNo

Clip end time (in milliseconds)

3.66
ClipIdstringNo

Clip ID.

123jjdax (new, can be empty)
VideoIdstringNo

Video ID

7036227ae3ab71efbb4a6733a68f0102 (cannot be empty)
VideoNamestringNo

Video name

123.mp4 (cannot be empty)
InintegerNo

Start time, in seconds. Deprecated.

0 (cannot be empty)
ContentInnerstringNo

Segmented voice-over script

Segmented voice-over script (cannot be empty)
InExfloatNo

Clip start time (in milliseconds)

0.45
OutintegerNo

End time, in seconds. Deprecated.

5 (cannot be empty)
TimelineIdstringNo

Timeline ID

sdfjhks (new, can be empty)
WorkspaceIdstringYesllm-az2gglkjauwnnhpq
AutoClipsbooleanNo

Whether to enable automatic adjustment

false

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Codestring

Status code

successful
Dataobject

Business data

TaskIdstring

Unique task ID

51e4efd1908242eb93ca9bbb7fc4359d
Messagestring

Response message

Some suggestion information
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

success
Successboolean

Indicates whether the request succeeded

true

Examples

Success response

JSON format

{
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Code": "successful",
  "Data": {
    "TaskId": "51e4efd1908242eb93ca9bbb7fc4359d",
    "Message": "一些建议信息"
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissionYou are not authorized to perform this action.Please check the workspaceId assignment

Visit Error Center to view more error codes.