Models / Video / Kling

Kling O3 4K API

Kling O3 4K API: $0.3125 per second, prepaid, no subscription. Kling's video model on one key; a failed generation is not charged.

kling-o3-4kVideoper second

Price · per second, USD

Get a key
SettingsKling priceUplinkSwitch
any settings$0.42$0.3125
Charged when the request is accepted; refunded in full if the generation fails.

What a run costs · USD, live

$0.3125 per second at any settings, against $0.42 at Kling's own price.

RunAt $0.3125 per second
A 3-second clip$0.9375
A 15-second clip$4.69
100 clips of 15 seconds$468.75

Compare · per second, live

Kling O3 4K from $0.3125 per second; Kling 3.0 4K from $0.3125; Kling 3.0 Pro from $0.2438.

Call it · POST /v1/generations

curl
curl https://api.uplinkswitch.com/v1/generations \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-o3-4k",
  "input": {
    "duration": 5,
    "multi_shots": false,
    "sound": false
  }
}'

# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"
Python, requests
import os, time, requests

BASE = "https://api.uplinkswitch.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['UPLINK_API_KEY']}"}
payload = {
    "model": "kling-o3-4k",
    "input": {
        "duration": 5,
        "multi_shots": False,
        "sound": False
    }
}

gen = requests.post(f"{BASE}/generations", headers=HEADERS, json=payload, timeout=30).json()
while gen["status"] not in ("succeeded", "failed"):
    time.sleep(5)
    gen = requests.get(f"{BASE}/generations/{gen['id']}", headers=HEADERS, timeout=30).json()

if gen["status"] == "succeeded":
    url = gen["outputs"][0]["url"]
    with open(url.rsplit("/", 1)[-1], "wb") as f:
        f.write(requests.get(url, headers=HEADERS, timeout=120).content)

The request is charged when it is accepted and answers 202 with a generation id. Poll GET /v1/generations/{id} until the status is succeeded, then download outputs[0].url; files stay downloadable for 30 days, and a failed generation is refunded in full.

Settings · in input

NameTypeValuesDefault
image_urlsurls——
reference_image_urlsurls——
promptstring——
multi_promptobjects——
duration requiredinteger——
multi_shots requiredboolean—false
sound requiredboolean——
aspect_ratiostring1:1, 16:9, 9:16—
kling_elementsobjects——

Questions

From $0.3125 per second. The price depends on the settings in the table and is fixed when the request is accepted.

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. Send it as the bearer token to /v1/generations with model kling-o3-4k; the same key calls every other model in the catalog.

No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.

It is refunded in full, automatically. You pay only for files you receive.

Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.

Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.
Join on Telegram
Help