How to Use the kwaivgi/kling-video-to-audio API: video to auido integration guide (2026)
Learn how to call the kwaivgi/kling-video-to-audio API on NamiFusion: parameters, pricing (from ≈$0.040) and runnable copy-paste code — try it in the playground first.
kwaivgi/kling-video-to-audio is a video to auido model by Kling: Kling Video-to-Audio auto-generates or extracts matching sound effects and audio tracks from video using KlingAI's audio generation model. Ready-to-use REST API, best performance, no coldstarts, affordable pricing. On NamiFusion you can try it in the playground (exact quote shown before you submit), then call it through one unified REST API — a typical run costs about $0.040.
TL;DR
· Task type: video to auido, provided by Kling
· Pricing: about $0.040 per typical run ($1 = 100 credits), pay-as-you-go
· Getting started: playground (exact quote before submit) → create an API key → one POST request
· Tunable parameters: 4 (see the table below)
· No platform watermark; commercial use allowed (per the Terms of Service)
What can you build with kwaivgi/kling-video-to-audio?
Short-form video and ad clips: go from a prompt or a single image to publishable motion content.
Product demos and concept previews: validate storyboards and visual direction cheaply before any shoot.
A social content factory: batch vertical clips and ride trending topics fast.
Remixing existing assets: image-to-video brings static work to life and extends its lifespan.
How do you call this API?
1. Sign up on NamiFusion and create a key on the API Keys page (signup bonus credits can only be used on selected models).
2. Submit a task with the cURL example below, passing your key as a Bearer token.
3. Poll the task status with the returned task_uuid and read the output URLs when completed.
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-video-to-audio" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"video": "https://example.com/input.mp4",
"asmr_mode": false
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"What parameters does it take?
video (Video): required
sound_effect_prompt (Sound Effect Prompt): optional
bgm_prompt (Bgm Prompt): optional
asmr_mode (Asmr Mode): optional, default false
How do you write prompts for kwaivgi/kling-video-to-audio?
1. Subject first: lead with the actor and action, then add environment, lighting and style ("an astronaut sprinting through a neon street in the rain, cinematic, shallow depth of field").
2. Concrete nouns beat stacked adjectives: "85mm portrait lens, golden-hour backlight" works far better than "very beautiful, ultra high quality".
3. Change one variable per iteration: pin the seed to reproduce a result, tweak a single phrase at a time so you know what actually moved the output.
4. State negatives positively: instead of "no blur", ask for "sharp focus, crisp details".
How much does it cost?
Pay-per-use in credits. A typical run costs about $0.040 ($1 = 100 credits); the exact price varies with parameters like resolution or duration, and the playground shows the exact quote before you submit.
kwaivgi/kling-video-to-audio
Generate synchronized sound effects and background music from video with no cold start and production-friendly cost.
kwaivgi/kling-video-to-audio is an AI model for video-to-audio generation that automatically creates or extracts matching sound effects and audio tracks from an input video. Using short prompts for SFX and BGM, it enables fast, controllable soundtrack creation for silent clips while maintaining strong alignment with scene timing, motion, and mood.
Built on KlingAI’s audio generation capabilities, this model is well suited for teams that need fast turnaround, affordable per-job pricing, and reliable runtime performance. It is especially effective for trailers, short-form content, product videos, and atmospheric visual pieces.
🚀 Key Features
- Video-conditioned audio generation: Produces sound effects and background music that follow the visual action, pacing, and energy of the source video.
- Dual-prompt control: Separate prompts for SFX and BGM make it easier to shape foley, ambience, musical tone, and overall emotional direction.
- Optional ASMR mode: Enhances micro-detail and close-mic texture for more immersive, tactile listening experiences.
- Fast creative iteration: Quickly refine prompts, re-render outputs, and compare variations during sound design exploration.
- Broad footage compatibility: Works well with cinematic, documentary, gameplay, and product-focused video content.
- No cold start, cost-efficient: Designed for responsive production workflows where consistency and unit economics matter.
🛠️ Technical Specifications
| Item | Details |
|---|---|
| Model | kwaivgi/kling-video-to-audio |
| Model architecture | Video-to-audio generation model |
| Core capability | Generates synchronized SFX and BGM for input video |
| Input Format | Video, sound effect prompt, background music prompt, ASMR mode toggle |
| Output Format | Audio |
| Duration | Input video up to 20 seconds |
| Sound effect prompt length | Up to 200 characters |
| BGM prompt length | Up to 200 characters |
| ASMR mode | Supported(default: false) |
| Synchronization | Output audio is designed to match the input video duration |
| Recommended source material | Silent clips or videos requiring sound design enhancement |
| Latency | Fast platform-level inference; actual runtime depends on content and system load |
| Cold start | None |
Sample Prompts
Sound effect prompt examples
Thunderstorm, heavy rain, distant thunder rolls, glass rattling, wind gusts, ocean waves slamming rocks.Leather jacket rustle, footsteps on wet concrete, elevator ding, neon hum.
BGM prompt examples
Brooding orchestral score, low strings, sparse piano hits, slow build with sub-bass swells.Minimal electronic ambience, slow tempo, soft synth pads, gradual tension build.
💰 Pricing
| Pricing Item | Price |
|---|---|
| Base price per job | $0.035 |
FAQ
Can I try it for free first?+
Signup bonus credits can only be used on selected models, and eligibility may change. The playground shows the exact quote before submission.
Can I use the output commercially? Is there a watermark?+
Yes, outputs are yours to use commercially, and NamiFusion adds no platform watermark — subject to the Terms of Service and applicable law.
What is the content policy?+
NamiFusion is an unfiltered engine: no arbitrary restrictions and NSFW-friendly, but illegal content and non-consensual use of real people are prohibited — see the Terms of Service.
How long does a kwaivgi/kling-video-to-audio task take?+
It depends on parameters — images usually take seconds, videos tens of seconds to minutes. The API returns a task_uuid for polling.
What are the resolution and duration limits?+
See the parameter table above — each model lists its available resolution and duration options there and in the playground.