TTS
CometAPI를 통해 Kling TTS POST /kling/v1/audio/tts를 호출하여 다국어 음성으로 텍스트를 음성으로 변환하고, 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
Kling TTS (Text-to-Speech) API는 고품질 텍스트 음성 변환 서비스를 제공하며, 여러 언어와 음성 옵션을 지원합니다.참고 문서
- API Reference: Kling TTS API 문서
- Voice ID List: 사용 가능한 Voice ID 참고 자료
일반적인 문제
Voice id not found 오류
문제 설명:voice_id가 voice_language와 일치하지 않으면 API는 다음 오류를 반환합니다:
voice_id가 지정한 voice_language를 지원하는지 확인하세요. 각 Voice ID가 어떤 언어를 지원하는지 확인하려면 Voice ID List를 참조하세요.인증
Bearer token authentication. Use your CometAPI key.
헤더
Content type of the request 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.
응답
Success
The response is of type object.