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

klingai-ci-integration

将 Kling AI 视频生成功能嵌入持续集成与持续交付流程,支持在代码构建阶段自动触发视频生成任务,完成密钥安全调用、脚本执行、产物存储及状态通知等全流程自动化操作。

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

Skills.MD

# Klingai Ci Integration ## Overview This skill shows how to integrate Kling AI video generation into CI/CD pipelines using GitHub Actions, GitLab CI, and other automation platforms. ## Prerequisites - Kling AI API key stored as CI secret - CI/CD platform (GitHub Actions, GitLab CI, etc.) - Python 3.8+ available in CI environment ## Instructions Follow these steps for CI/CD integration: 1. **Store Secrets**: Add API key to CI secrets 2. **Create Workflow**: Define pipeline configuration 3. **Build Script**: Create video generation script 4. **Handle Output**: Store or deploy generated videos 5. **Add Notifications**: Alert on success/failure ## Output Successful execution produces: - Automated video generation in CI pipeline - Generated videos stored in cloud storage - Notifications on completion/failure - Artifacts for downstream processing ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [GitHub Actions](https://docs.github.com/en/actions) - [GitLab CI](https://docs.gitlab.com/ee/ci/) - [Kling AI API](https://docs.klingai.com/api)

评论 0

还没有评论,来抢沙发。