Skip to main content
After creating a custom element, use this endpoint to poll the task status until it becomes succeed or failed. On success, the response includes the element details including the element_id.

Quick Example

curl https://ai.alad.com/kling/v1/general/advanced-custom-elements/863121016086724692 \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Fields

FieldDescription
data.task_idTask ID
data.task_statussubmitted / succeed / failed
data.task_result.elements[]List of created elements
elements[].element_idElement ID (used for delete operations)
elements[].element_nameElement name
elements[].element_descriptionElement description
elements[].element_typeFixed image_refer
elements[].element_image_listCDN URLs of uploaded images
elements[].statussucceed / failed
elements[].tag_listTag list with id and name
data.created_atCreation time (millisecond timestamp)
data.updated_atUpdate time (millisecond timestamp)

API Reference

View the interactive API documentation for Kling Query Custom Element.