Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jeremylongshore/klingai-install-auth
Set up Kling AI API authentication with JWT tokens.
Passed 24 of 25 test cases with the skill, and 22 of 25 without it.
2 fixed22 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Where in the Kling AI web portal can a developer generate API credentials (Access Key and Secret Key)? State the specific relative or full web address.
| Checked | Without skill | With skill |
|---|---|---|
| The developer portal console URL app.klingai.com/global/dev is cited. | Missed | Passed |
The instructions your model reads when the skill loads.
Kling AI uses JWT (JSON Web Token) authentication. You generate a token from your Access Key (AK) and Secret Key (SK), then pass it as a Bearer token in every request. Tokens expire after 30 minutes.
Base URL: https://api.klingai.com/v1
PyJWT or Node.js 18+# .env file
KLING_ACCESS_KEY="ak_your_access_key_here"
KLING_SECRET_KEY="sk_your_secret_key_here"
import jwt
import time
import os
def generate_kling_token():
"""Generate a JWT token for Kling AI API authentication."""
ak = os.environ["KLING_ACCESS_KEY"]
sk = os.environ["KLING_SECRET_KEY"]
test cases passed, vs 22 / 25 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.