klingai-performance-tuning

Featured

Optimize Kling AI for speed, quality, and cost efficiency. Use when improving generation times or finding optimal settings. Trigger with phrases like 'klingai performance', 'kling ai optimize', 'faster klingai', 'klingai quality settings'.

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Kling AI Performance Tuning ## Overview Optimize video generation for your use case by choosing the right model, mode, and parameters. Covers benchmarking, speed vs. quality trade-offs, connection pooling, and caching strategies. ## Speed vs. Quality Matrix | Config | ~Gen Time | Quality | Credits (5s) | Best For | |--------|-----------|---------|-------------|----------| | v2.5-turbo + standard | 30-60s | Good | 10 | Drafts, iteration | | v2-master + standard | 60-90s | High | 10 | Production previews | | v2.6 + standard | 60-120s | Highest | 10 | Quality-sensitive | | v2.6 + professional | 120-300s | Highest+ | 35 | Final output | | v2.6 + prof + audio | 180-400s | Highest+ | 200 | Full production | ## Benchmarking Tool ```python import time, requests, json def benchmark_model(prompt: str, model: str, mode: str = "standard", runs: int = 3) -> dict: """Benchmark generation time for a model/mode combination.""" times = [] for i in range(runs): start = time.monotonic() # Submit r = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={ "model_name": model, "prompt": prompt, "duration": "5", "mode": mode, }).json() task_id = r["data"]["task_id"] # Poll while True: time.sleep(10) result = requests.get( f"{BASE}/videos/text2video/{task_id}", headers=get_headers() ).json() if result["data"]...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category