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

klingai-storage-integration

实现生成视频的云端存储集成,支持将内容自动下载并上传至主流云存储平台,完成持久化保存与访问链接生成,适用于跨服务媒体分发及自动化工作流。

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

Skills.MD

# Klingai Storage Integration ## Overview This skill demonstrates how to download and store generated videos in cloud storage services including AWS S3, Google Cloud Storage, and Azure Blob Storage. ## Prerequisites - Kling AI API key configured - Cloud storage credentials (AWS, GCP, or Azure) - Python 3.8+ with cloud SDKs installed ## Instructions Follow these steps to integrate storage: 1. **Configure Storage**: Set up cloud storage credentials 2. **Download Video**: Fetch generated video from Kling AI 3. **Upload to Cloud**: Store in your preferred provider 4. **Generate URLs**: Create access URLs (signed or public) 5. **Clean Up**: Remove temporary files ## Output Successful execution produces: - Downloaded video from Kling AI - Uploaded to cloud storage - Metadata preserved with video - Signed URLs for secure access ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [AWS S3 SDK](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html) - [Google Cloud Storage](https://cloud.google.com/storage/docs) - [Azure Blob Storage](https://docs.microsoft.com/en-us/azure/storage/blobs/)

评论 0

还没有评论,来抢沙发。