Skip to content

AI video generation from text prompts, images, or existing clips using Kling models, with Refly CLI execution.

CCM score
51 of 100
skills.sh installs
276
GitHub stars
204
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three generation modes: text-to-video, image-to-video, and video-to-video, plus AI avatar videos with speech
  • Accepts a prompt, optional image_url or video_url file IDs, duration of 5 to 10 seconds, and aspect_ratio of 16:9, 9:16, or 1:1
  • Selects between the o1 model for advanced reasoning and the v2.6 model for premium visuals via model_version
  • Runs as a Refly workflow with uploads, status polling, and automatic download of the output .mp4 to the Desktop

Install

$ npx -y skills add refly-ai/refly-skills --skill kling-video -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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_url and video_url require a file ID (format: df-xxxxx)
  • How to get file ID:
    1. Upload your file to Refly using refly file upload <file-path>
    2. Copy the returned file ID from the upload response
    3. Use this file ID in the input JSON
  • For text-to-video mode, omit both image_url and video_url
  • For image-to-video mode, provide image_url
  • For video-to-video mode, provide video_url

Details

Repository
github.com/refly-ai/refly-skills
Categories
AI Image, Video & Voice, Video & Audio Editing
First seen
Jun 3, 2026

Questions

What is the kling-video skill used for?

The kling-video skill generates AI videos with Kling video generation models. It can create videos from text prompts, animate images into videos, transform existing videos, or create AI avatar videos with speech.

How do I install the kling-video skill?

Run npx -y skills add refly-ai/refly-skills --skill kling-video -y in your project. Once installed, your agent can generate videos from text, images, or existing clips.

What inputs does kling-video need for image-to-video?

For image-to-video, the skill needs an image file ID, uploaded to Refly with the refly file upload command. You also give a video prompt, plus optional settings for duration of 5 to 10 seconds, aspect ratio, and model version.

Where does kling-video stand among AI video skills?

kling-video sits in the AI Image, Video and Voice category on Claude Marketplaces, alongside ai-video-generation, ai-image-generation, ai-avatar-video, media-use and kling-3-0. It stands out by supporting text, image and video inputs with the Kling o1 and v2.6 models.

More from refly-ai/refly-skills

All 3

Similar to Kling Video

More AI Image, Video & Voice