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
model को आज़माएँ
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
मॉडल कार्ड
विनिर्देश
मूल्य निर्धारण
- आधार मूल्य
- $0.007 / रन
संदर्भ और modalities
- इनपुट
- Schema-परिभाषित
- आउटपुट
- audio
क्षमताएँ
- चैट
- समर्थित नहीं
- विज़न
- समर्थित नहीं
- रीज़निंग
- समर्थित नहीं
- संरचित output
- समर्थित नहीं
- फ़ंक्शन कॉलिंग
- समर्थित नहीं
- ऑडियो इनपुट
- समर्थित नहीं
पहुंच
- प्रदाता
- 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.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ OpenAI-compatible endpoint.
# 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 | generation task के लिए विशिष्ट पहचानकर्ता |
status | string | कार्य की स्थिति: pending, running, completed, failed, timeout |
model | string | generation के लिए उपयोग किया गया model |
outputs | array | output items की array |
outputs[].url | string | जनरेट किए गए artifact का URL |
outputs[].content_type | string | MIME type (जैसे image/png, video/mp4) |
error | object | null | यदि failed हो तो error details, success पर null |
error.type | string | machine-readable error type code |
error.message | string | मानव-पठनीय error विवरण |
असिंक्रोनस वर्कफ़्लो
यह model asynchronously चलता है। अनुरोध सबमिट करें, फिर परिणाम के लिए poll करें।
- सबमिट करें: /v1/run पर POST करें और लौटाए गए
idको पढ़ें। - Poll करें: status
completed,failedयाtimeoutहोने तक /v1/run/{id} पर GET करें। - Retrieve करें: completed response से
outputsपढ़ें।
अपना मॉडल चुनें
मॉडलों की तुलना करें
| मॉडल | प्रकार | डिफ़ॉल्ट कीमत | रिलीज़ |
|---|---|---|---|
Kling TTSयह मॉडल KwaiVGI | ऑडियो | $0.01 / रन | 13 सित॰ 2025 |
KwaiVGI | ऑडियो | $0.04 / रन | 16 दिस॰ 2025 |
KwaiVGI | ऑडियो | $0.04 / रन | 9 अक्तू॰ 2025 |
प्रश्न
FAQ
SandBase के माध्यम से KwaiVGI Kling TTS को कैसे कॉल करें?
एक SandBase API key बनाएं, फिर model ID "kwaivgi/kling-tts" के साथ requests को https://api.sandbase.ai पर Unified Run API (/v1/run) भेजें। इस पेज पर दिए गए request examples exact payload दिखाते हैं।
क्या मुझे एक अलग KwaiVGI account चाहिए?
नहीं। एक SandBase API key और balance आपको KwaiVGI Kling TTS और catalog के अन्य models तक access देता है; आपको अलग से KwaiVGI पर sign up करने की आवश्यकता नहीं है।
