klingai-async-workflows
使用 Kling AI 构建异步视频生成工作流程。在将视频生成集成到更大的系统或管道时使用。通过如 'klingai 异步'、'kling ai 工作流程'、'klingai 管道'、'异步视频生成' 等短语触发。
📖 中文导读:使用 Kling AI 构建异步视频生成工作流程。在将视频生成集成到更大的系统或管道时使用。通过如 'klingai 异步'、'kling ai 工作流程'、'klingai 管道'、'异步视频生成' 等短语触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: klingai-async-workflows description: | Build asynchronous video generation workflows with Kling AI. Use when integrating video generation into larger systems or pipelines. Trigger with phrases like 'klingai async', 'kling ai workflow', 'klingai pipeline', 'async video generation'. allowed-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
Klingai Async Workflows
Overview
This skill demonstrates building asynchronous workflows for video generation, including job queues, state machines, event-driven processing, and integration with workflow orchestration systems.
Prerequisites
- Kling AI API key configured
- Python 3.8+ or Node.js 18+
- Message queue (Redis, RabbitMQ) or workflow engine
Instructions
Follow these steps to build async workflows:
- Design Workflow: Map out the video generation pipeline
- Implement Queue: Set up job queue for async processing
- Create Workers: Build workers to process jobs
- Handle States: Manage job state transitions
- Add Monitoring: Track workflow progress
Output
Successful execution produces:
- Validated and queued workflow jobs
- State machine driven processing
- Complete audit trail of transitions
- Reliable job completion or failure handling
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.