Skip to content

About

Kling 3.0 API (`kling-v3`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kling 3.0 API (kling-v3)

observed unit price billing model OpenAI-compatible endpoint

Sample video frame generated through APIMart

from $0.0672 per second on the APIMart route — satu endpoint yang kompatibel dengan OpenAI di https://api.apimart.ai/v1, tanpa paket bulanan. (diamati 2026-10-12)

Dapatkan API key · Harga live · Halaman model · ⚡ Quickstart 60 detik

Alasan tim memakai Kling 3.0 (kling-v3) lewat APIMart

  • Satu key untuk seluruh katalog. base URL https://api.apimart.ai/v1 dan header Authorization yang sama menjangkau Kling 3.0 (kling-v3) plus 300+ model gambar, video, dan bahasa lainnya — cukup ganti field model, bukan klien Anda.
  • Minimum $1, bayar sesuai pemakaian. Tanpa langganan dan tanpa paket prabayar yang harus dihitung di awal: isi saldo mulai $1 dan pakai untuk panggilan.
  • Biaya dikembalikan di respons. Setiap task yang selesai melaporkan jumlah yang ditagih (cost / credits_cost); task berstatus failed dikembalikan dananya.
  • Asinkron sejak awal. Kirim, ambil task_id, polling GET /v1/tasks/{id} — batching dan retry hanyalah pekerjaan antrean biasa, bukan integrasi khusus.

Kling V3 API on APIMart offers Kuaishou's AI video generation model — kling-v3's cinematic excellence with text-to-video, image-to-video and up to 15-second video generation. Kling AI 3.0 is offered here as the Kling 3.0 API, accessible with one APIMart key.

Model id and routes

Route model value Billing Notes
Text-to-video / image-to-video kling-v3 per generated second, by resolution see the model page for the exact tiers

Endpoint: POST https://api.apimart.ai/v1/videos/generations, then poll GET /v1/tasks/{task_id}.

Pricing

Resolution List price Effective price
default 0.084 0.0672

Prices are a snapshot; the pricing page and data/model.json are refreshed by CI, and a completed task reports the exact amount in its cost field.

Request parameters

Field Type Default Notes
model string required the model id shown in the route table above
prompt string required the shot description; camera and subject motion belong here
duration integer route default clip length in seconds — billing is per generated second
resolution string route default 480P / 720P / 1080P or the route’s own tiers
size / aspect_ratio string 16:9 output framing
image_urls string[] — first frame, first + last frame, or style references, where supported
seed integer — fix the seed to reproduce a take

The table lists the fields accepted by the APIMart videos/generations endpoint. Check the model page for anything this model adds on top.

Quickstart

curl --request POST --url https://api.apimart.ai/v1/videos/generations \
  --header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
  -d '{"model":"kling-v3","prompt":"A bamboo forest at sunrise, slow push-in","duration":5,"resolution":"720P","size":"16:9"}'
import os, time, requests

BASE = "https://api.apimart.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}", "Content-Type": "application/json"}

created = requests.post(f"{BASE}/videos/generations", headers=HEADERS, timeout=60, json={
    "model": "kling-v3", "prompt": "A bamboo forest at sunrise, slow push-in", "duration": 5,
}).json()
task_id = created["data"]["id"]

while True:
    task = requests.get(f"{BASE}/tasks/{task_id}", headers=HEADERS, timeout=60).json()["data"]
    if task["status"] in ("completed", "failed"):
        break
    time.sleep(5)
print(task.get("cost"), task["result"]["videos"][0]["url"])

Runnable versions: examples/. The task lifecycle is pending → processing → completed | failed.

FAQ

Apa id model Kling 3.0?

kling-v3. Lihat tabel rute di atas.

Bagaimana penagihannya?

from $0.0672 per second on the APIMart route. Task yang selesai melaporkan jumlah tepatnya di field cost; task yang gagal dikembalikan dananya.

How do I get a key?

Use the Get an API key link — $1 minimum top-up, no plan required.

Related repositories

This repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.

Attributed links (how this repository is measured)

Purpose Attributed link Target
Model page https://go.apimart.ai/k-87c655 apimart.ai/id/model/kling
Live pricing https://go.apimart.ai/k-bbce79 apimart.ai/id/pricing
Get an API key https://go.apimart.ai/k-53d1a4 apimart.ai/id/keys

Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by tools/check_links.py in CI.

Disclosure

Kling 3.0 is a third-party model served through APIMart; this repository documents how to call it and publishes model ids and prices, and does not claim official status. Model names, prices and documentation belong to their respective owners.

License

MIT — see LICENSE.

About

Kling 3.0 API (`kling-v3`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages