Kling Create Voice
kwaivgi/kling-video/create-voiceKling Create Voice turns a 5-30 second voice sample into a reusable custom voice ID. Pass the returned voice_id in voice_ids of kwaivgi/kling-video/v2.6/pro/image-to-video to make generated characters speak in that voice.
- Taban fiyat
- $0.04USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 1
Modeli deneyin
Oynatma Alanı
Çı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/create-voice
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /v1/run
API README
Kling Create Voice
Kling Create Voice registers a custom voice from a 5–30 second sample of one clean speaker and returns a voice_id. Use it in voice_ids of kwaivgi/kling-video/v2.6/pro/image-to-video and reference it in the prompt as <<<voice_1>>>.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
voice_url | audio file or URL, required | — | .mp3/.wav audio or .mp4/.mov video, 5–30 seconds, one speaker, no background noise. |
Output
| Field | Notes |
|---|---|
voice_id | Custom voice ID for Kling video generation. |
url | Preview clip of the voice, when the route returns one. |
Billing
$0.035 per voice created.
| Request | Price |
|---|---|
| One voice | $0.035 |
| 10 voices | $0.35 |
Failed runs are not charged.
Also on SandBase
Related: kwaivgi/kling-video/v2.6/pro/image-to-video, kwaivgi/kling-tts.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.
# 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/create-voice",
"voice_url": "https://static.sandbase.ai/examples/kwaivgi/kling-video/create-voice/input_voice_url_0.wav"
}
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"Giriş Şeması
1 parametre · 1 zorunlu · 0 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
voice_url | string | Zorunlu | Voice sample file or URL: .mp3/.wav audio or .mp4/.mov video, 5-30 seconds of clean speech from a single speaker. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İ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.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
Kling Create VoiceBu model KwaiVGI | Ses | $0.04 / çalıştırma | 16 Ara 2025 |
KwaiVGI | Video | $0.47 / çalıştırma | 16 Kas 2026 |
KwaiVGI | Video | $0.47 / çalıştırma | 16 Kas 2026 |
KwaiVGI | Video | $0.47 / çalıştırma | 16 Kas 2026 |
KwaiVGI | Video | $2.52 / çalıştırma | 16 Kas 2026 |
KwaiVGI | Video | $8.46 / çalıştırma | 21 Eki 2026 |
Sorular
SSS
KwaiVGI Kling Create Voice'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "kwaivgi/kling-video/create-voice" 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 Create Voice ve katalogdaki diğer modellere erişim sağlar; KwaiVGI için ayrıca kayıt olmanız gerekmez.
