DescribeAigcTaskStatus
Last updated: 2026-08-14 16:33:37Download PDF
1. API Description
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.
We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.
2. Input Parameters
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 |
3. Output Parameters
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID. |
| TaskStatus | String | Task status description Enumeration values:
|
| OutputUrl | String | |
| 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. |
4. Example
Example1 Obtain AIGC Scenario Task Details
Input Example
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"
}Output Example
{
"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 who 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"
}
}5. Developer Resources
SDK
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
- Tencent Cloud SDK 3.0 for Python
- Tencent Cloud SDK 3.0 for Java
- Tencent Cloud SDK 3.0 for PHP
- Tencent Cloud SDK 3.0 for Go
- Tencent Cloud SDK 3.0 for Node.js
- Tencent Cloud SDK 3.0 for .NET
- Tencent Cloud SDK 3.0 for C++
Command Line Interface
6. Error Code
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 | |
| ResourceNotFound.TaskNotFound |