TTS
Rufen Sie Kling TTS über CometAPI POST /kling/v1/audio/tts auf, um Text mit mehrsprachigen Stimmen in Sprache umzuwandeln, einschließlich Korrekturen für Fehler vom Typ voice_id not found.
Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
TTS
Die Kling TTS (Text-to-Speech) API bietet hochwertige Text-zu-Sprache-Dienste und unterstützt mehrere Sprachen sowie verschiedene Stimmenoptionen.Referenzdokumentation
- API-Referenz: Kling TTS API-Dokumentation
- Voice ID-Liste: Referenz der verfügbaren Voice IDs
Häufige Probleme
Fehler „Voice id not found“
Problembeschreibung: Wennvoice_id nicht mit voice_language übereinstimmt, gibt die API den folgenden Fehler zurück:
voice_id Ihre angegebene voice_language unterstützt. In der Voice ID-Liste können Sie prüfen, welche Sprachen von jeder Voice ID unterstützt werden.Autorisierungen
Bearer token authentication. Use your CometAPI key.
Header
Content type of the request body.
Body
Text to synthesize into speech. Max 1000 characters.
Voice preset ID. Determines the speaker voice used for synthesis. See the Kling documentation for available voice IDs and their supported languages.
Language of the selected voice. Must match the language supported by the chosen voice_id. Values: zh (Chinese) or en (English).
Speech rate multiplier. Range 0.8–2.0 (one decimal place). Values outside this range are clamped automatically.
Antwort
Success
The response is of type object.