Delete Video Creation Task
Updated: 2026-07-13 11:57:31
API Description
1、接口支持https协议
API URL
http://api.polyv.net/live/v4/ai/video-produce/delete
Request Method
POST
API Constraints
- The API supports both HTTP and HTTPS. HTTPS is recommended to ensure interface security. API calls have frequency limits. Click for details
URL Request Parameter Description (for signing)
| Parameter | Required | Type | Description |
|---|---|---|---|
| appId | true | String | Account appId See: Get Secret Key |
| timestamp | true | Long | Current 13-digit millisecond timestamp, valid within 3 minutes |
| sign | true | String | Signature, a 32-character uppercase MD5 value. The appSecret key used to generate the signature is critical for communication data security. It must never be saved or used directly on the client side. All APIs must be called through the customer's own server to relay requests to the POLYV server and obtain response data. See: Signature Generation Rules |
Body (application/json) Parameter Description
| Parameter | Required | Type | Description |
|---|---|---|---|
| aiPPTVideoId | true | Long | Task ID. Only supports deleting tasks with status 20 (Completed), 30 (Failed), or 50 (Task Expired). |
Status Parameter Description
| Value | Type | Description |
|---|---|---|
| 10 | Integer | Video waiting for creation |
| 15 | Integer | Video being created |
| 20 | Integer | Video created successfully |
| 30 | Integer | Video creation failed |
| 50 | Integer | Video creation task expired |
Example
http://api.polyv.net/live/v4/ai/video-produce/delete?timestamp=1716107535043&appId=gopl67qi7e&sign=6625340A6017272DF55CD1F5DC42CFCB
{
"aiPPTVideoId": 1000
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Response status code. 200 indicates success, non-200 indicates failure. |
| status | String | Response result determined by business logic. Returns "success" on success, "error" on failure. |
| success | Boolean | Response result determined by business logic. Returns true on success, false on failure. |
| data | Boolean | Returns true on successful deletion. On failure, obtain detailed error information from the error parameter. |
| error | Object | Error information when status code is non-200. See: Error Field Description |
| requestId | String | Request ID, a unique UUID generated for each request. Used only for troubleshooting and debugging, not for business logic. |
Response Example
Success Example
{
"code": 200,
"status": "success",
"requestId": "e90aba2c69a24bab894c7f708b853b75.71.17161341126309441",
"data": true,
"success": true,
"error": null
}
Error Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Error code, used to identify the specific error reason. |
| desc | String | Error description, corresponding to error.code. |
