Kling AI
Kling 4.0
Buat video bersuara dari prompt teks. Jelaskan subjek, aksi, gerakan kamera, dan suara yang diinginkan, lalu pilih resolusi, pembingkaian, dan durasi.
kling-4- Endpoint
POST /api/v2/run- Masukan
- Text prompt · Keyframes
- Keluaran
- Video (MP4)
- Tarif
- ~$0.2675 / 5s · 720p
Contoh 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,…”
Cocok untuk
- Buat video dari teks dengan komposisi dan gerakan konsisten melalui POST /api/v2/run. Bingkai referensi saat ini hanya mendukung estimasi
- Dapatkan estimasi gratis melalui POST /api/v2/quote sebelum menggunakan kredit prabayar
- Model unggulan mitra ditagih dari satu saldo prabayar Runstage dan disesuaikan dengan metrik eksekusi akhir
- ID model API
kling-4- Pengembang model
- Kling AI
- Modalitas
- Pembuatan video dan animasi
- Masukan
- Text prompt · Keyframes
- Keluaran
- Video (MP4)
- Endpoint
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_mediaMCP runstage_quote- Infrastruktur
- Kapasitas cloud mitra
Parameter permintaan
modelstring · wajibExact Runstage model slug (kling-4).
promptstring · wajibScene, subject, lighting, and camera movement description.
width / heightinteger · opsionalOutput frame dimensions (e.g. 768×512 or 1344×768).
frames / fpsinteger · opsionalClip frame count and framerate (24 fps default, up to 241 frames).
Parameter tambahan
stepsnegative_promptseedguidanceenhance_prompt
Mulai cepat
Salin permintaan siap pakai dengan ID model kling-4. Periksa estimasi gratis terlebih dahulu (biaya akhir ditetapkan setelah selesai), lalu jalankan dengan kunci API Runstage Anda.
Buka Studio# 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>'Harga
| Satuan tagihan dan opsi | Tarif (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 |
Catatan penagihan
- Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
- Dapatkan estimasi biaya gratis melalui POST /api/v2/quote sebelum menggunakan kredit prabayar.
- Saat tugas selesai atau gagal, dana yang dicadangkan otomatis disesuaikan dengan biaya eksekusi akhir dan kredit yang tidak terpakai dikembalikan.
- Model menggunakan kapasitas eksternal mitra. Biaya akhir disesuaikan berdasarkan metrik eksekusi yang dilaporkan.
Tarif katalog terkini di Runstage. Kredit prabayar USD dengan batas belanja per kunci.
Bandingkan di katalog lengkap