Queries a one-click video editing task.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Try it now
RAM authorization
The following table describes the authorization information for this API. You can use the Action element in RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details:
- Action: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details:
- Required resource types are marked with a leading *.
- For operations that do not support resource-level authorization,
全部资源is used.
- Condition key: the condition keys defined by the cloud service itself.
- Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetSmartClipTask | create | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | Yes | Unique identifier of the Alibaba Cloud Model Studio workspace. To get the workspace ID, see Get the workspace ID | xxxx |
| TaskId | string | Yes | Unique identifier of the task Note You do not need to specify TaskId by default. The system generates it automatically. If the TaskId of subsequent tasks is the same, those tasks belong to the same conversation group. | task-03d46184ee7d8749 |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | NoData |
| Data | object | Task response | |
| Status | string | Task status: PENDING: Pending RUNNING: Running SUCCESSED: Succeeded FAILED: Failed CANCELED: Canceled | RUNNING |
| ErrorMessage | string | Error message | Error message |
| SubJobs | array<object> | List of subtasks | |
| subJobs | object | Subtask | |
| SubJobId | string | Subtask ID | xxxxx |
| Status | string | Subtask status PENDING: Pending RUNNING: Running SUCCESSED: Succeeded FAILED: Failed CANCELED: Canceled | RUNNING |
| ErrorMessage | string | Error message | Invalid file name |
| FileKey | string | File key | oss://default/bucket-name/path-xxx/xxx-1.mp4 |
| FileAttr | object | File attributes | |
| FileName | string | Video file name | 2024-12-12.mp4 |
| FileLength | string | Video file size | 290804 |
| TmpUrl | string | Temporary URL to access the video file. Expires in one hour. | http://www.example.com/tmp.mp4 |
| Duration | double | Video duration in seconds | 120 |
| Height | integer | Video height | 1080 |
| Width | integer | Video width | 1920 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | success |
| RequestId | string | Unique identifier of the request | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the operation succeeded: true indicates success, false indicates failure | true |
Examples
Success response
JSON format