Kling

Kling 3.0

Video
Not available
Generate Now

Kling 3.0 video generation. Latest model with selectable resolution (std/pro/4K).

Type
Text to Video
Billed
per sec
Provider
Kling

Pricing

/ sec
std · Sound off$0.21 / sec
std · Sound on$0.30 / sec
pro · Sound off$0.27 / sec
pro · Sound on$0.41 / sec
4k · Sound off$1.00 / sec
4k · Sound on$1.00 / sec

Default duration: 5s

Supported parameters

modelSettings
  • Promptprompt
  • Soundsound
  • Aspect Ratioaspect_ratio
  • Durationduration
  • Modemode

Code examples

POST /v1/generations

Generations are async — the request returns immediately with an id; poll for the result.

python
import requests

response = requests.post(
    "https://api.modelstack.cc/v1/generations",
    headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
    json={
        "type": "TEXT_TO_VIDEO",
        "prompt": "A serene mountain landscape at sunset",
        "model": "kling/3.0",
        "modelSettings": {
            "aspect_ratio": "16:9",
            "duration": "5"
        }
    },
)
generation_id = response.json()["data"]["id"]

# Poll for the result
result = requests.get(
    f"https://api.modelstack.cc/v1/generations/{generation_id}",
    headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
).json()
print(result["data"]["status"])

Related models

Frequently asked questions

How is Kling 3.0 billed on ModelStack?expand_more
Kling 3.0 (Text to Video) is billed at a flat, prepaid rate of $1.05 / vid — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Kling 3.0 support?expand_more
Besides Text to Video, Kling 3.0 also supports: Image to Video, Video Motion Control.
Which parameters does Kling 3.0 support?expand_more
Kling 3.0 supports: Prompt, Sound, Aspect Ratio, Duration, Mode.
How can I generate with Kling 3.0?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `kling/3.0` and type `TEXT_TO_VIDEO` — see the code example above.