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-code

Installs 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_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

Sponsors

Details

Repository
github.com/refly-ai/refly-skills
First seen
Jun 3, 2026

More from refly-ai/refly-skills

All 3

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs