klingai-hello-world
Create your first Kling AI video generation with a simple example. Use when learning Kling AIor testing your setup. Trigger with phrases like 'kling ai hello world', 'first kling ai video','klingai quickstart', 'test klingai'.
When & Why to Use This Skill
The Klingai Hello World skill is a foundational developer tool designed to streamline the initial integration with the Kling AI video generation API. It provides a simplified 'quickstart' path for users to verify their environment setup, authenticate API keys, and execute a complete text-to-video generation cycle. By automating the request submission and status polling process, it serves as an essential reference for building more complex AI-driven creative workflows.
Use Cases
- API Integration & Testing: Quickly verify that your Kling AI API credentials and environment configurations are functioning correctly before moving to production.
- Rapid Prototyping: Generate sample AI videos to test basic prompt structures and understand the metadata output, such as resolution and job tracking.
- Developer Onboarding: Use as a minimal working example to learn the asynchronous request-response pattern required for Kling AI video processing.
| name | klingai-hello-world |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
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:
- Verify Authentication: Ensure your API key is configured
- Submit Generation Request: Send a text-to-video request
- Poll for Status: Check job status until complete
- Download Result: Retrieve the generated video URL
- 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.