Upload an image, video or audio
kling_upload_assetUpload a PNG / JPEG image (up to 10 MB), an MP4 / MOV video or audio (MP3, WAV, M4A, FLAC, AAC, OGG; up to 30 MB) to a Kling account, from a public https url (up to 50 MB) or as contentBase64 (small files). Returns the Kling url to use as an input (image, image_tail, video, audio, motionUrl, imageUrl…) on the same account. POST /assets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kling_upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the file. | |
| No | The Kling account email. Required when the token has several Kling accounts. | ||
| mimeType | No | The file's type. Default: from the url's answer. | |
| contentBase64 | No | The file content, base64-encoded (instead of url). |