Video to Sound Effects
POST
/kling/v1/audio/video-to-audio
Generate sound effects and background music based on video content.
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
video_id
string
ID of a video generated by Kling AI. Only videos created within the last 30 days and between 3.0 and 20.0 seconds in length are supported.
video_url
string
URL to fetch the uploaded video. Use either video_id or video_url (exactly one required; both cannot be empty or both set). Video format: MP4/MOV only, file size ≤ 100 MB, duration between 3.0 and 20.0 seconds.
sound_effect_prompt
string
Prompt for sound effect generation.
bgm_prompt
string
Prompt for background music generation.
asmr_mode
boolean
Whether to enable ASMR mode, which enhances detailed sound effects for highly immersive content. true enables it; false disables it (default).
external_task_id
string
callback_url
string
Responses
OK
application/json
object