kling-official
できること
このスキルは、AI動画などに公式のKling APIを使う方法を説明します。自分のKlingアカウントを持ち、それを直接使いたいクリエイター向けです。
使う場面
- ✓公式のKlingサービスで、AI動画や画像を作りたいとき。
- ✓Klingから音声合成、アバター、リップシンクが必要なとき。
- ✓公式のKlingのルートがfal.aiのKlingルートとどう違うかを知りたいとき。
スキルのリンク
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/kling-official/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の公式Klingアカウントで、このプロンプトから短いKling動画を作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、あなたのKling APIキーを使ってタスクを送り、完了するまで状態を確認してから、結果を保存します。確認を取らずに、別のプロバイダーに切り替えることはありません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Kling Official Direct API
Use this skill for OpenMontage tools with provider="kling_official". This is not the fal.ai Kling gateway. Official Kling uses KLING_API_KEY, optional KLING_API_BASE_URL, and Authorization: Bearer <KLING_API_KEY>.
Provider Split
kling_videouses fal.ai,FAL_KEY, fal.ai queue URLs, andprovider="kling".kling_official_videouses Kling official API,KLING_API_KEY, official task protocols, andprovider="kling_official".kling_official_imageuses the same official auth and task protocol for image generation.kling_ttsuses the official audio TTS endpoint and stays in the existingttscapability.kling_avatarandkling_lip_syncuse official avatar/lip-sync endpoints and stay in the existingavatarcapability. They do not replace localtalking_headorlip_sync.
Never silently switch between these paths. If the selected provider is unavailable, surface the blocker and ask before substituting.
Auth And Endpoint
Default base URL:
https://api-singapore.klingai.com
Users may override it with KLING_API_BASE_URL, for example for a regional endpoint. All requests send JSON and:
Authorization: Bearer <KLING_API_KEY>
Task Protocols
Classic APIs:
- Create ID path:
data.task_id - Statuses:
submitted,processing,succeed,failed - Result paths:
data.task_result.videos[],data.task_result.images[],data.task_result.audios[]
Turbo APIs:
- Create ID path:
data.id - Poll path:
GET /tasks?task_ids=<id> - Statuses:
submitted,processing,succeeded,failed - Result path:
data[0].outputs[]
Keep the parsers separate. Do not write a fuzzy parser that guesses between task_id and id or between succeed and succeeded.
Omni References
Video Omni and Image Omni stay inside the existing provider tools through api_family="omni".
Do not create selector-level Omni operations.
Video Omni accepts official reference structures:
image_list[]withimage_urland optionaltypesuch asfirst_frameorend_frame.video_list[]withvideo_url, officialrefer_typevalues such asfeatureorbase, and optionalkeep_original_sound.element_list[]with officialelement_idvalues.- Structured
multi_prompt[]; do not split natural language into shots automatically.
Local image references may be normalized through tools/_kling/media.py. Local video paths must not be silently uploaded through fal.ai; ask for or require a reachable URL.
Image Omni accepts image_list[] with official image values. Prompt placeholders such as <<<image_1>>> must map stably to the provided image order. If the prompt already contains placeholders, validate that the referenced images exist and do not insert duplicates.
Capability Boundaries
TTS, avatar, and lip sync are provider additions to existing OpenMontage capabilities. Audio effects and video effects are official Kling endpoints, but they are not registered as default OpenMontage tools until a pipeline has a stable capability slot for them.
- Do not add
sound_effectsorvideo_effectscapabilities from inside a provider implementation. - Do not let video effects enter the ordinary
video_generationselector path. - Do not disguise short sound effects as long background music unless a pipeline explicitly consumes that shape and the tool's
best_for/not_good_forsays so.
Video Parameters
Use operation for OpenMontage semantics:
text_to_videoimage_to_videoreference_to_video
Use api_family for official protocol choice:
classicturboomni
Important constraints:
- Official video provider input schema must not expose top-level
image_url; usereference_image_urlorreference_image_path. - Classic image-to-video accepts
reference_image_urlor a local path converted to raw base64 in official fieldimage. - Turbo image-to-video requires a URL first frame. Do not upload local files through fal.ai as a fallback.
- Send
aspect_ratioonly where the current schema supports it: Classic text-to-video, Turbo text-to-video, and Video Omni. - Default paid path should avoid
4k, native sound, or batch behavior unless explicitly selected.
Image Parameters
Use api_family="generation" for /v1/images/generations and api_family="omni" for /v1/images/omni-image.
Generation/edit path:
promptis required and should stay under the official 2500 character limit.image_urlpa
よくある質問
どのキーが必要ですか?
KLING_API_KEYが必要です。必要な場合は、地域のベースアドレスも設定できます。
fal.aiのKlingルートと同じですか?
いいえ。公式のルートは独自のキーとタスクの流れを使い、このスキルは両者を分けて扱います。
自動でプロバイダーを切り替えますか?
いいえ。このスキルでは、別のプロバイダーは、あなたが承認した後にのみ使うと案内しています。
詳細
作者による元の説明
Official Kling direct API guidance for OpenMontage providers. Use before calling `kling_official_video`, `kling_official_image`, `kling_tts`, `kling_avatar`, or `kling_lip_sync`.
repo: calesthio/OpenMontage
人気
- GitHubのスター
- 75k
- ランキング
- #2668
- ライセンス
- AGPL-3.0
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
3d-asset-generation
75kシーンに使う3Dオブジェクトの作り方を、カタログ、テキストや画像から3Dへのツール、最終的な組み立てのための Blender の中から選ぶよう、エージェントを支援します。
acestep
75k動画用の背景音楽、曲、ジングル、ステムを、オープンな ACE-Step の音楽生成ツールを使って作るよう、エージェントを支援します。
agents
75kElevenLabs を使って、顧客対応のボットやインタラクティブな音声キャラクターなど、音声のAIアシスタントを作ります。
ai-video-gen
75kテキストの説明や参考画像から、いくつかの動画生成サービスの中から選んで、AI の動画クリップを生成するよう、エージェントを支援します。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。