succeed or failed. On success, the response contains the element details including its element_id.
Quick example
Response fields
| Field | Description |
|---|---|
data.task_id | Task ID |
data.task_status | submitted / succeed / failed |
data.task_result.elements[] | List of created elements |
elements[].element_id | Element ID (used for delete) |
elements[].element_name | Element name |
elements[].element_description | Element description |
elements[].element_type | Always image_refer |
elements[].element_image_list | CDN URLs of uploaded images |
elements[].status | succeed / failed |
elements[].tag_list | Tags with id and name |
data.created_at | Creation timestamp (ms) |
data.updated_at | Update timestamp (ms) |
API Reference
View the interactive API playground for Kling Element Query.