首页/ AI 技能 / @skilllib/skill-2117939930272416671
Skill站外收录 @skilllib/skill-2117939930272416671

klingai-batch-processing

支持高效批量生成多个视频,通过并行提交、实时进度监控、速率限制调控及结果聚合,适用于内容流水线构建与多任务视频创作场景。

0.0 (0) 31 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# Klingai Batch Processing ## Overview This skill teaches efficient batch processing patterns for generating multiple videos, including parallel submission, progress tracking, rate limit management, and result collection. ## Prerequisites - Kling AI API key with sufficient credits - Python 3.8+ with asyncio support - Understanding of async/await patterns ## Instructions Follow these steps for batch processing: 1. **Prepare Batch**: Collect all prompts and parameters 2. **Rate Limit Planning**: Calculate submission pace 3. **Parallel Submission**: Submit jobs within limits 4. **Track Progress**: Monitor all jobs simultaneously 5. **Collect Results**: Gather outputs and handle failures ## Output Successful execution produces: - Parallel job submission within rate limits - Real-time progress tracking - Collected results with success/failure status - Performance metrics (duration, throughput) ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Kling AI Batch API](https://docs.klingai.com/batch) - [Python asyncio](https://docs.python.org/3/library/asyncio.html) - [aiohttp Documentation](https://docs.aiohttp.org/)

评论 0

还没有评论,来抢沙发。