Create an element
kling_create_elementSave a reusable element on a Kling account from an image (coverImage, plus up to 3 extra views) or a 3 s+ video (video; Kling keeps its first 8 s). A character can get a voice: a name from kling_list_element_voices, or a public URL of a voice sample (an MP4 with speech, 5-60 s). Give tag and description to skip Kling's auto-detection. A random 5-character suffix is added to the name. A voice URL is saved as a voice before the tag is checked, so give a voice only to character elements. Usually free; takes ~5-30 s. POST /elements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | A tag id or key from kling_list_element_tags, e.g. character. Default: detected by Kling. | |
| name | Yes | Element name, up to 15 characters. | |
| No | The Kling account email. Required when the token has several Kling accounts. | ||
| video | No | The element's video, at least 3 s and 700 px (instead of coverImage): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| voice | No | Character elements: a voice name / id from kling_list_element_voices, or a public URL of a voice sample. | |
| coverImage | No | The element's image (instead of video): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| description | No | Description, up to 100 characters. Default: written by Kling. | |
| extraImage1 | No | Extra view 1 (image elements): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| extraImage2 | No | Extra view 2 (image elements): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| extraImage3 | No | Extra view 3 (image elements): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). |