Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jeremylongshore/klingai-hello-world
Create your first Kling AI video generation with a minimal working example.
Passed 20 of 24 test cases with the skill, and 14 of 24 without it.
and 3 more in the full report
6 fixed14 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
When constructing the JSON body for a Kling AI text-to-video submission in JavaScript, should the property names use camelCase (like `modelName` and `aspectRatio`) or snake_case?
| Checked | Without skill | With skill |
|---|---|---|
| uses snake_case key names model_name and aspect_ratio | Passed | Passed |
| sets model_name to kling-v2-master | Missed | Passed |
The instructions your model reads when the skill loads.
Generate your first AI video in under 20 lines of code. This skill walks through the complete create-poll-download cycle using the Kling AI REST API.
Base URL: https://api.klingai.com/v1
klingai-install-auth setuprequests and PyJWTimport jwt, time, os, requests
# --- Auth ---
def get_token():
ak = os.environ["KLING_ACCESS_KEY"]
sk = os.environ["KLING_SECRET_KEY"]
payload = {"iss": ak, "exp": int(time.time()) + 1800, "nbf": int(time.time()) - 5}
return jwt.encode(payload, sk, algorithm="HS256",
headers={"alg": "HS256", "typ": "JWT"})
BASE = "https://api.klingai.com/v1"
HEADERS = {"Authorization": f"Bearer {get_token()}", "Content-Type": "application/json"}
# --- Step 1: Create task ---
task = requests.post(f"{BASE}/videos/text2video", headers=HEADERS, json={
"model_name": "kling-v2-master",
"prompt": "A golden retriever running through autumn leaves in slow motion, cinematic lighting",
"duration": "5",
"aspect_ratio": "16:9",
"mode": "standard",
}).json()
task_id = task["data"]["task_id"]
test cases passed, vs 14 / 24 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.