Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Kling Create Voice

kwaivgi/kling-video/create-voice

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

Grundpreis
$0.04USD / Ausführung
Ausführung
async
Modelltyp
audio
Eingabefelder
1
Produktionsroute

Modell testen

Playground

Playground öffnen
Eingabe
Voice sample file or URL: .mp3/.wav audio or .mp4/.mov video, 5-30 seconds of clean speech from a single speaker.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

Modellkarte

Spezifikationen

Preisgestaltung

Basispreis
$0.04 / Ausführung

Kontext & Modalitäten

Eingabe
Schema-definiert
Ausgabe
audio

Funktionen

Chat
Nicht unterstützt
Vision
Nicht unterstützt
Reasoning
Nicht unterstützt
Strukturierte Ausgabe
Nicht unterstützt
Function Calling
Nicht unterstützt
Audioeingabe
Nicht unterstützt

Zugriff

Anbieter
KwaiVGI
Modell-ID
kwaivgi/kling-video/create-voice
Ausführung
async
Basis-URL
https://api.sandbase.ai
API
Unified Run API
Endpunkt
/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

FieldTypeDefaultNotes
voice_urlaudio file or URL, required—.mp3/.wav audio or .mp4/.mov video, 5–30 seconds, one speaker, no background noise.

Output

FieldNotes
voice_idCustom voice ID for Kling video generation.
urlPreview clip of the voice, when the route returns one.

Billing

$0.035 per voice created.

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

Jetzt loslegen

Senden Sie Ihre erste Anfrage

OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.

Produktions-API
Unified Run API-Endpunkt
https://api.sandbase.ai/v1/run
Modell-ID
kwaivgi/kling-video/create-voice
# 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"
01

Eingabeschema

1 Parameter · 1 erforderlich · 0 optional

ParameterTypErforderlichBeschreibung
voice_urlstringErforderlichVoice sample file or URL: .mp3/.wav audio or .mp4/.mov video, 5-30 seconds of clean speech from a single speaker.
02

Ausgabeschema

FeldTypBeschreibung
idstringEindeutige Kennung für den Generierungsauftrag
statusstringStatus des Auftrags: pending, running, completed, failed, timeout
modelstringVerwendetes Modell für die Generierung
outputsarrayArray von Ausgabeelementen
outputs[].urlstringURL des generierten Artefakts
outputs[].content_typestringMIME-Typ (z. B. image/png, video/mp4)
errorobject | nullFehlerdetails bei Fehlschlag, bei Erfolg null
error.typestringMaschinenlesbarer Fehler-Typcode
error.messagestringMenschenlesbare Fehlerbeschreibung

Asynchroner Workflow

Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.

  1. Senden: Per POST an /v1/run senden und das zurückgegebene id lesen.
  2. Pollen: GET /v1/run/{id}, bis der Status completed, failed oder timeout ist.
  3. Abrufen: outputs aus der abgeschlossenen Antwort lesen.

Wählen Sie Ihr Modell

Modelle vergleichen

Alle Bild- und Videomodelle
ModellTypStandardpreisVeröffentlicht
Kling Create VoiceDieses Modell
KwaiVGI
Audio$0.04 / Lauf16. Dez. 2025
KwaiVGIVideo$0.47 / Lauf16. Nov. 2026
KwaiVGIVideo$0.47 / Lauf16. Nov. 2026
KwaiVGIVideo$0.47 / Lauf16. Nov. 2026
KwaiVGIVideo$2.52 / Lauf16. Nov. 2026
KwaiVGIVideo$8.46 / Lauf21. Okt. 2026

Fragen

FAQ

Wie rufe ich KwaiVGI Kling Create Voice über SandBase auf?

Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "kwaivgi/kling-video/create-voice" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.

Benötige ich ein separates KwaiVGI-Konto?

Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf KwaiVGI Kling Create Voice und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei KwaiVGI registrieren.