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
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
البدء السريع
انسخ طلبًا جاهزًا يستخدم معرّف النموذج 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. رصيد مسبق الدفع بالدولار مع حدود إنفاق لكل مفتاح.
المقارنة في الدليل الكامل