klingai-upgrade-migration
jeremylongshore/claude-code-plugins-plus-skills
Kling AI SDK のバージョンを安全に移行・アップグレードします。依存関係の更新や設定の移行を行う際に使用してください。 「klingai upgrade」、「kling ai migration」、「update klingai」、「klingai breaking changes」などのフレーズでトリガーします。
...すべて拡張します概要klingai-upgrade-migration
「klingai-upgrade-migration 」スキルは、Kling AI SDKの安全な移行とアップグレードを支援するために設計されています。特に、依存関係のアップグレード、設定の移行、またはKling AIの統合における互換性を損なう変更への対応を行う際に役立ちます。 このスキルは、SDKバージョンの更新や新しいAPIの変更への対応プロセスを円滑にし、移行中のエラーリスクを低減します。リリースノートの確認から更新の段階的な展開に至るまで、明確な手順を提供し、その過程で重要な機能が見落とされることがないよう保証します。
このスキルは主に、Kling AI SDK および依存関係の更新を支援し、アップグレード中も統合機能が正常に動作し続けることを保証します。 主な機能には、互換性を損なう変更点の確認、依存関係の更新、新しいAPI標準に合わせたコードの調整、およびデプロイ前の変更点の徹底的なテストに関する詳細なガイダンスが含まれます。さらに、ロールバック機能や、カナリアデプロイやブルーグリーンデプロイといった安全なデプロイ戦略の重要性を強調しています。このスキルを活用することで、開発者は重大な問題を引き起こすことなく、システムを最新の状態に保つことができます。
このスキルは、本番環境でKling AIの統合を管理する開発者やDevOps担当者を対象としています。 特に、依存関係のアップグレードを行いながら継続的インテグレーションおよびデリバリー(CI/CD)パイプラインを維持する必要があるチームにとって、このスキルは極めて有用です。また、APIの移行に取り組んでいる方や、システムの長期サポートを維持している方にとっても有益であり、すべての互換性破綻を効率的に処理・軽減することを保証します。
よくある質問
「klingai-upgrade-migration 」スキルはどのように起動しますか?
「klingai upgrade」、「kling ai migration」、「update klingai」、または「klingai breaking changes」といったフレーズを使用して、このスキルを起動できます。
このスキルを使用するための前提条件は何ですか?
前提条件としては、既存のKling AI統合環境、ロールバック機能のためのバージョン管理、および変更を検証するためのテスト環境が必要です。
このスキルを本番環境でのフルデプロイに使用できますか?
はい、ただし本番環境でのリスクを最小限に抑えるため、カナリア展開やブルーグリーン展開などの段階的な展開戦略を採用することをお勧めします。
移行プロセス中にエラーが発生した場合はどうすればよいですか?
詳細なエラー処理の手順については、'{baseDir}/references/' ディレクトリにある 'errors.md' ファイルを参照してください。
移行およびAPIのバージョン管理に関する追加リソースはどこで確認できますか?
提供されているリンクから、Kling AIの変更履歴、移行ガイド、およびAPIのバージョン管理に関するドキュメントで、追加のリソースをご覧いただけます。
Kling AI Upgrade & Migration
Overview
Guide for migrating between Kling AI model versions. Covers breaking changes, parameter differences, feature availability, and parallel testing strategies.
Version History
| Version | Release | Key Changes |
|---|---|---|
| v1.0 | 2024-06 | Initial T2V + I2V |
| v1.5 | 2024-09 | 1080p, motion brush, I2V-only model |
| v1.6 | 2024-11 | Lip sync, camera paths, effects API |
| v2.0 | 2025-03 | Quality leap, kling-v2-master |
| v2.1 | 2025-06 | Optimized I2V, kling-v2-1-master for T2V |
| v2.5 Turbo | 2025-09 | 40% faster, best speed/quality ratio |
| v2.6 | 2025-12 | Native audio, 30-48 FPS, highest quality |
Migration: v1.x to v2.x
# v1.x requestbody = { "model_name": "kling-v1-6", "prompt": "A sunset over mountains", "duration": "5", "mode": "standard",}# v2.x -- only model_name changesbody["model_name"] = "kling-v2-master"
Breaking changes:
kling-v2-1is I2V-only (no text-to-video support)- Camera control intensities produce different results at same values
- Generation times differ (v2.x generally slower, higher quality)
Migration: v2.x to v2.6 with Audio
body["model_name"] = "kling-v2-6"body["motion_has_audio"] = True # NEW: synchronized audio# Cost impact: audio multiplies credits 5x# 5s standard: 10 -> 50 credits
Feature Availability Matrix
| Feature | v1.0 | v1.5 | v1.6 | v2.0 | v2.1 | v2.5T | v2.6 |
|---|---|---|---|---|---|---|---|
| Text-to-video | Y | Y | Y | Y | I2V only | Y | Y |
| Image-to-video | Y | Y | Y | Y | Y | Y | Y |
| Camera control | - | - | Y | Y | Y | Y | Y |
| Motion brush | - | Y | Y | Y | Y | Y | Y |
| Lip sync | - | - | Y | Y | Y | Y | Y |
| Effects | - | - | Y | Y | Y | Y | Y |
| Native audio | - | - | - | - | - | - | Y |
| 1080p | - | Y | Y | Y | Y | Y | Y |
Parallel A/B Comparison
def compare_models(prompt, models): """Generate same prompt across models for comparison.""" results = {} for model in models: r = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={ "model_name": model, "prompt": prompt, "duration": "5", "mode": "standard", }).json() results[model] = {"task_id": r["data"]["task_id"], "start": time.time()} # Poll all while any("url" not in r for r in results.values()): for model, info in results.items(): if "url" in info or "error" in info: continue r = requests.get( f"{BASE}/videos/text2video/{info['task_id']}", headers=get_headers() ).json() if r["data"]["task_status"] == "succeed": info["url"] = r["data"]["task_result"]["videos"][0]["url"] info["time"] = round(time.time() - info["start"]) elif r["data"]["task_status"] == "failed": info["error"] = r["data"].get("task_status_msg") time.sleep(10) for model, info in results.items(): print(f"{model}: {info.get('url', info.get('error'))} ({info.get('time', '?')}s)") return results
Rollback Strategy
# Feature flag for instant rollbackKLING_MODEL = os.environ.get("KLING_MODEL_VERSION", "kling-v2-master")body["model_name"] = KLING_MODEL# To rollback: export KLING_MODEL_VERSION=kling-v1-6
Resources
- Model Documentation
- Developer Portal
klingai-upgrade-migrationをインストール
スキルファイルをダウンロードし、.claude/skills/ ディレクトリに解凍してください。
ZIPをダウンロードリポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/saas-packs/klingai-pack/skills/klingai-upgrade-migration/SKILL.md # Copy SKILL.md to your .claude/skills/ directory
コピー





家
