Documentation Index Fetch the complete documentation index at: https://docs.akool.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
POST https://openapi.akool.com/api/open/v4/image2Video/delbyids
Parameter Value Description x-api-key API Key Your API Key used for request authorization. If both Authorization and x-api-key have values, Authorization will be used first and x-api-key will be discarded. Authorization Bearer {token} Your API Key used for request authorization.Get Token
Body Attributes
Parameter Type Required Description _ids String true Multiple IDs separated by commas
Response Attributes
Parameter Type Description code Integer Interface returns business status code (1000:success) msg String Interface returns status information data Object Response data object - successIds Array Successfully deleted video IDs - noPermissionItems Array Failed deletion information list — _id String Failed deletion video ID — msg String Failure reason
Example
Request Body
{
"_ids" : "68919a464b4dbdd4ab3d3034,6891a07f5d612f78c9204f1c,6891a2295d612f78c9204f77"
}
Request
cURL
Java
Javascript
PHP
Python
curl --location 'https://openapi.akool.com/api/open/v4/image2Video/delbyids' \
--header 'x-api-key: {{API Key}}' \
--header 'Content-Type: application/json' \
--data '{
"_ids": "68919a464b4dbdd4ab3d3034,6891a07f5d612f78c9204f1c,6891a2295d612f78c9204f77"
}'
Response
{
"code" : 1000 ,
"msg" : "Delete successfully" ,
"data" : {
"successIds" : [
"6882f4c10529ae771e71531d"
],
"noPermissionItems" : [
{
"_id" : "6881cd86618fa41c89557b0c" ,
"msg" : "video resource is processing, please try again later"
}
]
}
}
Important Notes
You can delete multiple videos at once by separating IDs with commas
Videos that are currently processing (status = 2) cannot be deleted; wait until they complete or fail
You can only delete videos that belong to your account
The noPermissionItems array will contain details about any videos that could not be deleted
Deletion is permanent and cannot be undone