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

klingai-hello-world

提供快速启动 Kling AI 视频生成的能力,支持通过简单指令触发文本到视频的端到端流程,涵盖身份验证、任务提交、状态轮询、结果获取与预览,适用于初学者入门和环境连通性验证。

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

Skills.MD

# Klingai Hello World ## Overview This skill provides a minimal working example to generate your first AI video with Kling AI, verify your integration is functioning, and understand the basic request/response pattern. ## Prerequisites - Kling AI API key configured - Python 3.8+ or Node.js 18+ - HTTP client library installed ## Instructions Follow these steps to create your first video: 1. **Verify Authentication**: Ensure your API key is configured 2. **Submit Generation Request**: Send a text-to-video request 3. **Poll for Status**: Check job status until complete 4. **Download Result**: Retrieve the generated video URL 5. **Verify Output**: Preview or download the video ## Output Successful execution produces: - Job ID for tracking - Video URL for download/streaming - Thumbnail URL for preview - Generation metadata (duration, resolution, timing) ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Kling AI Documentation](https://docs.klingai.com/) - [Prompt Guide](https://docs.klingai.com/prompts) - [API Reference](https://docs.klingai.com/api)

评论 0

还没有评论,来抢沙发。