
Kling Video
Turns text prompts, images, or existing videos into AI-generated video using Kling's models. You get two model options: o1 for advanced reasoning or v2.6 for premium visuals, with support for 5-10 second clips in standard aspect ratios. The workflow is straightforward but involves uploading source files through Refly's CLI to get file IDs, then watching the generation process before downloading your MP4. It's legitimately useful if you need quick video mockups or want to animate static images without touching video editing software, though the 10-second cap means you're building clips, not full videos. The file ID dance feels a bit clunky, but that's the tradeoff for working with video assets.
- skills.sh installs
- 272
- GitHub stars
- 204
- last updated
- Aug 21, 2026
Install
$ npx -y skills add refly-ai/refly-skills --skill kling-video --agent claude-codeInstalls into .claude/skills of the current project.
Files
Kling Video
Generate AI videos using Kling video generation models. Use when you need to: (1) create videos from text prompts, (2) animate images into videos, (3) transform existing videos with AI, or (4) create AI avatar videos with speech.
Input
Provide input as JSON:
{
"video_prompt": "Text description for the video you want to generate (e.g., 'A cat walking in a futuristic city at sunset')",
"image_url": "<file-id>",
"video_url": "<file-id>",
"model_version": "Kling model to use: 'o1' for advanced reasoning or 'v2.6' for premium visuals",
"duration": "Video duration in seconds (5-10s supported)",
"aspect_ratio": "Video aspect ratio: '16:9' (landscape), '9:16' (portrait), or '1:1' (square)"
}
Note on File Inputs:
image_urlandvideo_urlrequire a file ID (format:df-xxxxx)- How to get file ID:
- Upload your file to Refly using
refly file upload <file-path> - Copy the returned file ID from the upload response
- Use this file ID in the input JSON
- Upload your file to Refly using
- For text-to-video mode, omit both
image_urlandvideo_url - For image-to-video mode, provide
image_url - For video-to-video mode, provide
video_url
Sponsors
Details
- Repository
- github.com/refly-ai/refly-skills
- First seen
- Jun 3, 2026