跳到正文
cccskills
免费在 GitHub 公开

kling

Kling AI video generation with client-side JWT auth: text-to-video, image-to-video, status polling, clip extend, lip-sync. Trigger phrases: kling, kling video, klingai, kling text to video.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md3.2 KB
  • bin/kling.py9.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Kling

Purpose

Generate top-tier video with Kling's official open platform: text-to-video, image-to-video, clip extension, and lip-sync, plus Kolors image generation and talking-avatar endpoints on the same platform. Use when Michael wants the highest-quality AI video clips. Kling is also reachable through fal.ai with simpler auth (trade-off: fal's markup).

Tooling

All commands go through bin/kling.py:

bin/kling.py auth                                                         # mint a JWT and verify it is accepted (free)
bin/kling.py text2video --prompt "a samurai in neon rain" --json '{"duration": "10"}'
bin/kling.py image2video --image-url https://.../frame.png --prompt "slow zoom out"
bin/kling.py status --task-id <task_id>                                   # poll until succeed/failed
bin/kling.py extend --task-id <task_id> --json '{"prompt": "continue forward"}'   # extend a finished clip
bin/kling.py lip-sync --json '{"voice_id": "...", "video": "..."}'       # lip-sync a video

text2video and image2video print a task_id. Poll status with backoff until the task succeeds, then download the asset immediately. --json merges extra fields (duration, aspect_ratio, model_name) into the request.

Auth

  • Provider id: kling (credential is collected as custom.kling)
  • Collection: access key + secret key pair via the secure credential flow (credentials.request_api_access); created at app.klingai.com/global/dev. Stored as ONE value in access_key:secret_key format.
  • Allowed hosts: api.klingai.com
  • Status check: bin/kling.py auth (must return "ok": true). Auth is unusual: the CLI splits the credential on the first colon, mints a short-lived HS256 JWT per request with stdlib hmac (iss = access key, exp ~30 min), and sends Authorization: Bearer <jwt>. The secret never leaves the vault path.

Operating Rules

  1. Kling uses prepaid resource packs. Confirm with Michael before every text2video, image2video, extend, and lip-sync; failed tasks are reportedly not charged.
  2. Generated asset URLs are short-lived. Download immediately; never store the URL as the artifact.
  3. JWT minting is handled entirely inside bin/kling.py. Never mint or print tokens elsewhere, and never log the secret.
  4. Model IDs move through v2.6/3.0 lineage. Confirm the current model id in Kling's docs before pinning one.
  5. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/kling.py). Do not print, log, or transmit the key pair.

Files

  • SKILL.md
  • bin/kling.py

Maturity

🧪 Draft: written from Kling's public developer docs via the research dossier; not yet live-tested end-to-end. JWT minting logic needs a live check on first use.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

airtable

免费

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

amadeus

免费

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

anthropic

免费

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

apollo

免费

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13812026年10月14日 更新

查看 Anil-matcha 的全部技能

报告此技能的问题