Kling AI
Kling 4.0
टेक्स्ट प्रॉम्प्ट से आवाज़ वाला वीडियो बनाएँ। विषय, ऐक्शन, कैमरे की गति और सुनाई देने वाली आवाज़ों का वर्णन करें, फिर रिज़ॉल्यूशन, फ़्रेमिंग और अवधि चुनें।
kling-4- एंडपॉइंट
POST /api/v2/run- इनपुट
- Text prompt · Keyframes
- आउटपुट
- Video (MP4)
- दर
- ~$0.2675 / 5s · 720p
प्रॉम्प्ट का उदाहरण“Stop-motion style: a square sheet of red origami paper on a wooden desk folds itself, crease by crease, into a paper crane, which then flaps its wings and lifts off the desk. Warm desk-lamp light, shallow depth of field,…”
उपयुक्त उपयोग
- POST /api/v2/run से एकसमान फ़्रेमिंग और गति वाला वीडियो टेक्स्ट से बनाएँ। संदर्भ फ़्रेम इनपुट के लिए अभी केवल अनुमान मिलता है
- प्रीपेड क्रेडिट लगाने से पहले POST /api/v2/quote से मुफ़्त लागत अनुमान लें
- साझेदारों के प्रमुख मॉडलों का शुल्क एक Runstage प्रीपेड बैलेंस से कटता है और अंतिम निष्पादन आँकड़ों के अनुसार तय होता है
- API मॉडल ID
kling-4- मॉडल डेवलपर
- Kling AI
- मॉडल प्रकार
- वीडियो जनरेशन और मोशन
- इनपुट
- Text prompt · Keyframes
- आउटपुट
- Video (MP4)
- एंडपॉइंट
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_mediaMCP runstage_quote- इन्फ़्रास्ट्रक्चर
- साझेदार क्लाउड क्षमता
अनुरोध पैरामीटर
modelstring · आवश्यकExact Runstage model slug (kling-4).
promptstring · आवश्यकScene, subject, lighting, and camera movement description.
width / heightinteger · वैकल्पिकOutput frame dimensions (e.g. 768×512 or 1344×768).
frames / fpsinteger · वैकल्पिकClip frame count and framerate (24 fps default, up to 241 frames).
अतिरिक्त पैरामीटर
stepsnegative_promptseedguidanceenhance_prompt
त्वरित शुरुआत
मॉडल ID kling-4 वाला तैयार अनुरोध कॉपी करें। पहले मुफ़्त अनुमान जाँचें (अंतिम लागत कार्य पूरा होने पर तय होती है), फिर अपनी Runstage API कुंजी से चलाएँ।
स्टूडियो खोलें# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
-H "Content-Type: application/json" \
-d '{"model":"kling-4","width":1280,"height":720,"durationSec":4}'
# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
-H "Authorization: Bearer $RUNSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "kling-4", "prompt": "Stop-motion style: a square sheet of red origami paper on a wooden desk folds itself, crease by crease, into a paper crane, which then flaps its wings and lifts off the desk. Warm desk-lamp light, shallow depth of field, soft paper rustling sounds.", "width": 1280, "height": 720, "frames": 96, "fps": 24, "seed": 42 }'
# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
'https://runstage.dev/api/v2/jobs/<request_id>'कीमतें
| बिलिंग इकाई और विकल्प | दर (USD) |
|---|---|
| 5s clip · 720p (1280×720)HD video with synced audio (estimated) | ~$0.2675 |
| 5s clip · 1080p (1920×1080)Full HD video with synced audio (estimated) | ~$0.3412 |
| 10s clip · 1080p (1920×1080)Extended Full HD sequence (estimated) | ~$0.6824 |
बिलिंग संबंधी जानकारी
- Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
- प्रीपेड क्रेडिट लगाने से पहले POST /api/v2/quote से मुफ़्त लागत अनुमान लें।
- कार्य पूरा या विफल होने पर आरक्षित राशि का अंतिम लागत से स्वतः मिलान होता है और बचा हुआ आरक्षित क्रेडिट लौटाया जाता है।
- मॉडल साझेदार की बाहरी क्षमता पर चलता है। अंतिम लागत रिपोर्ट किए गए निष्पादन आँकड़ों के अनुसार तय होती है।
Runstage की मौजूदा कैटलॉग दरें। हर कुंजी की खर्च सीमा के साथ प्रीपेड USD क्रेडिट।
पूरे कैटलॉग में तुलना करें