klingai-upgrade-migration
A guide for migrating between Kling AI model versions, including breaking changes and parameter updates.
Install
mkdir -p .claude/skills/klingai-upgrade-migration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8353" && unzip -o skill.zip -d .claude/skills/klingai-upgrade-migration && rm skill.zipInstalls to .claude/skills/klingai-upgrade-migration
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Migrate between Kling AI model versions safely. Use when upgrading fromKey capabilities
- →Migrate model configurations from v1.x to v2.x
- →Implement parallel A/B testing for model comparison
- →Configure feature flags for model version rollbacks
- →Adjust request parameters for native audio support
- →Identify breaking changes between model versions
How it works
The skill provides a structured approach to model migration by identifying breaking changes, such as model-specific constraints and parameter adjustments. It includes code examples for parallel testing and environment-based version control for safe rollbacks.
Inputs & outputs
When to use klingai-upgrade-migration
- →Migrate from v1.x to v2.x models
- →Update Kling AI dependencies
- →Adjust parameter intensities for new models
- →Handle breaking changes in API requests
About this skill
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 request
body = {
"model_name": "kling-v1-6",
"prompt": "A sunset over mountains",
"duration": "5",
"mode": "standard",
}
# v2.x -- only model_name changes
body["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 rollback
KLING_MODEL = os.environ.get("KLING_MODEL_VERSION", "kling-v2-master")
body["model_name"] = KLING_MODEL
# To rollback: export KLING_MODEL_VERSION=kling-v1-6
Prerequisites
- A pinned source and target model, a migration owner, an approved credit budget, and a tested feature-flag rollback to the last known-good version.
- Use synthetic prompts and rights-cleared test media only. Confirm that reference images, likenesses, audio, and other inputs have the required consent and do not violate provider content policy.
- Have a sandbox project, draft/watermarked canary destination, acceptance thresholds for quality/latency/cost, and a removal plan for failed outputs before touching production traffic.
Instructions
- Snapshot the current request schema, model flag, output retention, and aggregate baseline. Check the provider's current model documentation rather than assuming the version table is current.
- Run the same synthetic fixture against source and target in sandbox. Compare capability support, policy outcomes, quality, latency, and credit usage without publishing either result.
- Obtain owner approval for the target, budget delta, and acceptance thresholds. Release behind
KLING_MODEL_VERSIONto one draft/watermarked canary, then expand in measured stages only if every threshold remains green. - Keep the source version available until the migration window closes. Revoke temporary test credentials, delete rejected or superseded media, and retain only redacted comparison and approval receipts.
Output
Produce a migration receipt with source/target model IDs, schema or feature changes, synthetic fixture ID, canary scope, aggregate pass/fail metrics, credit and latency deltas, policy/rights review, owner approval, rollout state, retention deadline, and rollback reference. Do not include prompts, media, likenesses, audio, signed URLs, identities, or secrets.
Error Handling
- If a model is unavailable or a capability is unsupported, stop the rollout and select an explicitly approved fallback; do not silently substitute a model.
- If quality, latency, cost, policy, or rights thresholds regress, set the feature flag to the last known-good version, cancel queued target jobs where supported, and remove target canary outputs.
- Treat authentication, schema, and policy failures as non-retryable until reviewed. Reconcile in-flight tasks before retrying transient transport errors, and document any partial migration in the receipt.
Examples
Compare kling-v1-6 and kling-v2-master using fixture=synthetic-city-01, environment=sandbox, canary=watermarked, max_credit_delta=20%, and publish=false. Record rights=pass, policy=pass, and owner approval before changing KLING_MODEL_VERSION; on any failed threshold, restore kling-v1-6 and delete the comparison outputs.
Resources
When not to use it
- →When migrating data between different SaaS platforms
- →When updating non-Kling AI dependencies
Limitations
- →kling-v2-1 is I2V-only and does not support text-to-video
- →Generation times differ between versions
How it compares
This workflow automates the comparison of model outputs across versions, whereas manual migration often relies on ad-hoc testing.
Compared to similar skills
klingai-upgrade-migration side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| klingai-upgrade-migration (this skill) | 0 | 2mo | Review | Intermediate |
| flutter-development | 1,555 | 7mo | No flags | Intermediate |
| godot | 1,044 | 7mo | Review | Intermediate |
| fastapi-templates | 520 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
software-architecture
davila7
Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.
drizzle
lobehub
Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.
frontend-design
anthropics
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.