Skip to main content
Endpoint: POST https://fal.run/fal-ai/kling-video/video-to-audio Endpoint ID: fal-ai/kling-video/video-to-audio

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "fal-ai/kling-video/video-to-audio",
    arguments={
        "video_url": "https://storage.googleapis.com/falserverless/model_tests/kling/kling-v2.5-turbo-pro-image-to-video-output.mp4"
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)

Examples

Capabilities

  • Video input

API Reference

Input Schema

video_url
string
required
The video URL to extract audio from. Only .mp4/.mov formats are supported. File size does not exceed 100MB. Video duration between 3.0s and 20.0s.
sound_effect_prompt
string
Sound effect prompt. Cannot exceed 200 characters. Default value: "Car tires screech as they accelerate in a drag race"
background_music_prompt
string
default:"intense car race"
Background music prompt. Cannot exceed 200 characters. Default value: "intense car race"
asmr_mode
boolean
default:"false"
Enable ASMR mode. This mode enhances detailed sound effects and is suitable for highly immersive content scenarios.

Output Schema

video
File
required
The original video with dubbed audio applied
audio
File
required
The extracted/generated audio from the video in MP3 format

Input Example

{
  "video_url": "https://storage.googleapis.com/falserverless/model_tests/kling/kling-v2.5-turbo-pro-image-to-video-output.mp4",
  "sound_effect_prompt": "Car tires screech as they accelerate in a drag race",
  "background_music_prompt": "intense car race",
  "asmr_mode": false
}

Output Example

{
  "video": {
    "url": "https://v3.fal.media/files/monkey/O-ekVTtYqeDblD1oSf2uv_dubbed_video.mp4"
  },
  "audio": {
    "url": "https://v3.fal.media/files/monkey/O-ekVTtYqeDblD1oSf2uv_extracted_audio.mp3"
  }
}