Domain name for API request: mps.intl.tencentcloudapi.com.
Queries AIGC scenario task APIs
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeAigcTaskStatus. |
| Version | Yes | String | Common Params. The value used for this API: 2019-06-12. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| TaskId | Yes | String | Task ID. |
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| TaskStatus | String | Task status description Enumeration values:
|
| OutputUrl | String | Output url Attention: This field may return null, indicating that no valid values can be obtained. |
| CreateTime | String | Task creation time |
| ScheduledTime | String | Task scheduling time |
| FinishedTime | String | Task completion time |
| TaskResultCode | Integer | Task error code |
| TaskResultMsg | String | Task returned error message |
| RequestBody | String | Request structure |
| TaskType | String | Task type |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mps.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAigcTaskStatus
<Common request parameters>
{
"TaskId": "c50f6094-3b56-a1fa-e616-0eec386bfc36"
}
{
"Response": {
"CreateTime": "2026-06-01 20:40:50",
"FinishedTime": "2026-06-01 20:44:32",
"OutputUrl": "https://aigc-redraw-output-1326893053.cos.ap-guangzhou.myqcloud.com/aigc-c50f6094-3b56-a1fa-e616-0eec386bfc36-202606012044-0.mp4",
"RequestBody": "{\"Input\":{\"Script\":\"Once upon a time, there was a little rabbit that went up the mountain to pick mushrooms\",\"Style\":\"chinese_ink_wash\",\"Ratio\":\"16:9\",\"Resolution\":\"720p\"},\"Action\":\"CreateAiDramaTask\",\"RequestId\":\"afbd7d37-888c-4cf5-959f-959a10ff4af6\",\"RequestSource\":\"API\",\"Uin\":\"600000563781\",\"ApiModule\":\"mps\",\"Timestamp\":\"1780317650\",\"ClientIp\":\"30.174.178.116\",\"SubAccountUin\":\"600000563781\",\"Region\":\"\",\"RequestClient\":\"APIExplorer\",\"AppId\":1300057355}",
"ScheduledTime": "2026-06-01 20:40:51",
"TaskId": "c50f6094-3b56-a1fa-e616-0eec386bfc36",
"TaskStatus": "FINISHED",
"TaskType": "AIDrama",
"RequestId": "9ee02d10-a534-4a2d-842a-c4d084bcfbde"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.QueryAIGCTaskFailed | Error occurred while querying the task |
| ResourceNotFound.TaskNotFound | The task does not exist |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan