Skip to main content
Delete a custom element you no longer need. You must provide the element_id from the query response (not the task_id). Only custom elements can be deleted — Kling preset elements cannot be deleted.

Quick example

curl https://www.anyfast.ai/kling/v1/general/delete-elements \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"element_id": "863121023120580662"}'

Parameters

ParameterTypeRequiredDescription
element_idstringYesElement ID from elements[].element_id in the query response

Response

FieldDescription
code0 on success
messageSUCCEED on success
request_idRequest tracking ID

API Reference

View the interactive API playground for Kling Delete Element.