Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Kling Video to Audio

kwaivgi/kling-video/video-to-audio

Kling 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.

Taban fiyat
$0.04USD / çalıştırma
Çalıştırma
async
Model türü
audio
Girdi alanları
4
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
Video file or URL to add sound to. Only .mp4 and .mov, up to 100 MB, 3–20 seconds long.
Optional sound effect description, up to 200 characters.
Optional background music description, up to 200 characters.
Enhances detailed sound effects for immersive ASMR-style content.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

Model kartı

Teknik özellikler

Fiyatlandırma

Temel fiyat
$0.04 / çalıştırma

Bağlam ve modaliteler

Girdi
Şemada tanımlı
Çıktı
audio

Yetenekler

Sohbet
Desteklenmiyor
Görsel
Desteklenmiyor
Akıl yürütme
Desteklenmiyor
Yapılandırılmış çıktı
Desteklenmiyor
Fonksiyon çağırma
Desteklenmiyor
Ses girdisi
Desteklenmiyor

Erişim

Sağlayıcı
KwaiVGI
Model kimliği
kwaivgi/kling-video/video-to-audio
Çalıştırma
async
Temel URL
https://api.sandbase.ai
API
Unified Run API
Uç nokta
/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

FieldTypeDefaultNotes
videovideo file or URL, required—.mp4 or .mov, up to 100 MB, 3–20 s.
sound_effect_promptstring, up to 200 chars—Optional, up to 200 characters.
background_music_promptstring, up to 200 chars—Optional, up to 200 characters.
asmr_modebooleanfalseStronger detail for close-up sounds.

Output

FieldNotes
urlMP3 soundtrack.
video_urlThe input video with the new audio.

Billing

$0.035 per video.

RequestPrice
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.

Geliştirmeye başlayın

İlk isteğinizi gönderin

Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.

Production API
Unified Run API uç noktası
https://api.sandbase.ai/v1/run
Model ID
kwaivgi/kling-video/video-to-audio
# 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"
01

Giriş Şeması

4 parametre · 1 zorunlu · 3 isteğe bağlı

ParametreTürZorunluAçıklama
videostringZorunluVideo file or URL to add sound to. Only .mp4 and .mov, up to 100 MB, 3–20 seconds long.
asmr_modebooleanİsteğe bağlıEnhances detailed sound effects for immersive ASMR-style content. · Varsayılan: false
sound_effect_promptstringİsteğe bağlıOptional sound effect description, up to 200 characters. · Maks. uzunluk: 200
background_music_promptstringİsteğe bağlıOptional background music description, up to 200 characters. · Maks. uzunluk: 200
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİnsan tarafından okunabilir hata açıklaması

Asenkron İş Akışı

Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
KwaiVGISes$0.04 / çalıştırma9 Eki 2025
KwaiVGIVideo$0.47 / çalıştırma16 Kas 2026
KwaiVGIVideo$0.47 / çalıştırma16 Kas 2026
KwaiVGIVideo$0.47 / çalıştırma16 Kas 2026
KwaiVGIVideo$2.52 / çalıştırma16 Kas 2026
KwaiVGIVideo$8.46 / çalıştırma21 Eki 2026

Sorular

SSS

KwaiVGI Kling Video to Audio'i SandBase üzerinden nasıl çağırırım?

Bir SandBase API anahtarı oluşturun, ardından model kimliği "kwaivgi/kling-video/video-to-audio" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.

Ayrı bir KwaiVGI hesabına ihtiyacım var mı?

Hayır. Tek bir SandBase API anahtarı ve bakiyesi size KwaiVGI Kling Video to Audio ve katalogdaki diğer modellere erişim sağlar; KwaiVGI için ayrıca kayıt olmanız gerekmez.