Kling Video to Audio
kwaivgi/kling-video/video-to-audioKling Video to Audio generates sound effects and background music for a 3–20 second video and returns both the MP3 soundtrack and the video with the new audio.
- Base price
- $0.04USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 4
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.04 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- KwaiVGI
- Model ID
- kwaivgi/kling-video/video-to-audio
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Kling Video to Audio
Kling Video to Audio adds sound effects and background music to a 3–20 second video.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
video | video file or URL, required | — | .mp4 or .mov, up to 100 MB, 3–20 s. |
sound_effect_prompt | string, up to 200 chars | — | Optional, up to 200 characters. |
background_music_prompt | string, up to 200 chars | — | Optional, up to 200 characters. |
asmr_mode | boolean | false | Stronger detail for close-up sounds. |
Output
| Field | Notes |
|---|---|
url | MP3 soundtrack. |
video_url | The input video with the new audio. |
Billing
$0.035 per video.
| Request | Price |
|---|---|
| One video | $0.035 |
| 10 videos | $0.35 |
Failed runs are not charged.
Prompting
- Describe sound effects and music separately; leave both empty to let Kling infer them from the video.
Also on SandBase
Related: sonilo/1.1/video-to-sound-effects, sonilo/1.1/video-to-music.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "kwaivgi/kling-video/video-to-audio",
"video": "https://static.sandbase.ai/examples/kwaivgi/kling-video/video-to-audio/output_url_0.mp4",
"asmr_mode": false,
"sound_effect_prompt": "Car tires screech as they accelerate in a drag race",
"background_music_prompt": "intense car race"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Input Schema
4 parameters · 1 required · 3 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
video | string | Required | Video file or URL to add sound to. Only .mp4 and .mov, up to 100 MB, 3–20 seconds long. |
asmr_mode | boolean | Optional | Enhances detailed sound effects for immersive ASMR-style content. · Default: false |
sound_effect_prompt | string | Optional | Optional sound effect description, up to 200 characters. · Max length: 200 |
background_music_prompt | string | Optional | Optional background music description, up to 200 characters. · Max length: 200 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Kling Video to AudioThis model KwaiVGI | Audio | $0.04 / run | Oct 9, 2025 |
KwaiVGI | Video | $0.47 / run | Nov 16, 2026 |
KwaiVGI | Video | $0.47 / run | Nov 16, 2026 |
KwaiVGI | Video | $0.47 / run | Nov 16, 2026 |
KwaiVGI | Video | $2.52 / run | Nov 16, 2026 |
KwaiVGI | Video | $8.46 / run | Oct 21, 2026 |
Questions
FAQ
How do I call KwaiVGI Kling Video to Audio through SandBase?
Create a SandBase API key, then send requests with the model ID "kwaivgi/kling-video/video-to-audio" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate KwaiVGI account?
No. One SandBase API key and balance gives you access to KwaiVGI Kling Video to Audio and the other models in the catalog; you do not need to sign up with KwaiVGI separately.
