Kling TTS
kwaivgi/kling-ttsKling TTS by Kuaishou converts up to 500 characters of text into speech with 46 preset Chinese and English voices and adjustable speaking speed; the same voice IDs are used by Kling lip-sync.
- 기본 가격
- $0.007USD / 실행
- 실행
- async
- 모델 유형
- audio
- 입력 필드
- 3
모델 사용해 보기
Playground
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
모델 카드
사양
요금
- 기본 가격
- $0.007 / 실행
컨텍스트 및 모달리티
- 입력
- 스키마 정의
- 출력
- audio
기능
- 채팅
- 지원되지 않음
- 비전
- 지원되지 않음
- 추론
- 지원되지 않음
- 구조화된 출력
- 지원되지 않음
- 함수 호출
- 지원되지 않음
- 오디오 입력
- 지원되지 않음
접근
- 제공업체
- KwaiVGI
- 모델 ID
- kwaivgi/kling-tts
- 실행
- async
- 기본 URL
- https://api.sandbase.ai
- API
- Unified Run API
- 엔드포인트
- /v1/run
API README
Kling TTS
Kling TTS reads up to 500 characters of text with one of 46 preset Chinese and English voices, at 0.8–2× speed. The voice IDs match the ones used by Kling lip-sync.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak, up to 500 characters. |
voice_id | string | genshin_vindi2 | Preset voice. See the schema for supported values. |
voice_speed | number 0.8–2 | 1 | Speaking rate. |
Billing
$0.007 per request.
| Request | Price |
|---|---|
| One clip (up to 500 characters) | $0.007 |
| 10 clips | $0.07 |
Failed runs are not charged.
Also on SandBase
Related: kwaivgi/kling-video/create-voice.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 OpenAI 호환 엔드포인트입니다.
# 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-tts",
"text": "Hello world! Kling TTS is available on SandBase!",
"voice_id": "genshin_vindi2",
"voice_speed": 1
}
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"입력 스키마
3개 매개변수 · 필수 1개 · 선택 2개
| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
text | string | 필수 | The text to be converted to speech, up to 500 characters. · 최소 길이: 1 · 최대 길이: 500 |
voice_id | string | 선택 | Preset Kling voice used for synthesis (Chinese and English voices). · 옵션: genshin_vindi2, zhinen_xuesheng, AOT, ai_shatang, genshin_klee2, genshin_kirara, ai_kaiya, oversea_male1, ai_chenjiahao_712, girlfriend_4_speech02, chat1_female_new-3, chat_0407_5-1, cartoon-boy-07, uk_boy1, cartoon-girl-01, PeppaPig_platform, ai_huangzhong_712, ai_huangyaoshi_712, ai_laoguowang_712, chengshu_jiejie, you_pingjing, calm_story1, uk_man2, laopopo_speech02, heainainai_speech02, reader_en_m-v1, commercial_lady_en_f-v1, tiyuxi_xuedi, tiexin_nanyou, girlfriend_1_speech02, girlfriend_2_speech02, zhuxi_speech02, uk_oldman3, dongbeilaotie_speech02, chongqingxiaohuo_speech02, chuanmeizi_speech02, chaoshandashu_speech02, ai_taiwan_man2_speech02, xianzhanggui_speech02, tianjinjiejie_speech02, diyinnansang_DB_CN_M_04-v2, yizhipiannan-v1, guanxiaofang-v2, tianmeixuemei-v1, daopianyansang-v1, mengwa-v1 · 기본값: "genshin_vindi2" genshin_vindi2zhinen_xueshengAOTai_shatanggenshin_klee2genshin_kiraraai_kaiyaoversea_male1ai_chenjiahao_712girlfriend_4_speech02chat1_female_new-3chat_0407_5-1cartoon-boy-07uk_boy1cartoon-girl-01PeppaPig_platformai_huangzhong_712ai_huangyaoshi_712ai_laoguowang_712chengshu_jiejieyou_pingjingcalm_story1uk_man2laopopo_speech02heainainai_speech02reader_en_m-v1commercial_lady_en_f-v1tiyuxi_xueditiexin_nanyougirlfriend_1_speech02girlfriend_2_speech02zhuxi_speech02uk_oldman3dongbeilaotie_speech02chongqingxiaohuo_speech02chuanmeizi_speech02chaoshandashu_speech02ai_taiwan_man2_speech02xianzhanggui_speech02tianjinjiejie_speech02diyinnansang_DB_CN_M_04-v2yizhipiannan-v1guanxiaofang-v2tianmeixuemei-v1daopianyansang-v1mengwa-v1 |
voice_speed | number | 선택 | Rate of speech, 0.8-2.0. · 최소: 0.8 · 최대: 2 · 기본값: 1 |
출력 스키마
| 필드 | 유형 | 설명 |
|---|---|---|
id | string | 생성 작업의 고유 식별자 |
status | string | 작업 상태: pending, running, completed, failed, timeout |
model | string | 생성에 사용된 모델 |
outputs | array | 출력 항목 배열 |
outputs[].url | string | 생성된 아티팩트의 URL |
outputs[].content_type | string | MIME 유형(예: image/png, video/mp4) |
error | object | null | 실패 시 오류 세부 정보, 성공 시 null |
error.type | string | 기계 판독 가능한 오류 유형 코드 |
error.message | string | 사람이 읽을 수 있는 오류 설명 |
비동기 워크플로
이 모델은 비동기식으로 실행됩니다. 요청을 제출한 다음 결과를 폴링하세요.
- 제출: /v1/run로 POST한 뒤 반환된
id를 읽으세요. - 폴링: 상태가
completed,failed또는timeout이 될 때까지 /v1/run/{id}를 GET하세요. - 가져오기: 완료된 응답에서
outputs를 읽으세요.
원하는 모델을 선택하세요
모델 비교
| 모델 | 유형 | 기본 가격 | 출시 |
|---|---|---|---|
Kling TTS이 모델 KwaiVGI | 오디오 | $0.01 / 실행 | 2025년 9월 13일 |
KwaiVGI | 오디오 | $0.04 / 실행 | 2025년 12월 16일 |
KwaiVGI | 오디오 | $0.04 / 실행 | 2025년 10월 9일 |
질문
FAQ
SandBase를 통해 KwaiVGI Kling TTS을 호출하려면 어떻게 하나요?
SandBase API 키를 만든 다음, 모델 ID "kwaivgi/kling-tts"를 사용해 https://api.sandbase.ai의 Unified Run API (/v1/run)로 요청을 보내세요. 이 페이지의 요청 예시에 정확한 페이로드가 나와 있습니다.
별도의 KwaiVGI 계정이 필요한가요?
아니요. SandBase API 키 하나와 잔액만 있으면 KwaiVGI Kling TTS과 카탈로그의 다른 모델을 모두 사용할 수 있습니다. KwaiVGI에 별도로 가입할 필요는 없습니다.
