Agent skill · creative production · jeremylongshore
klingai-image-to-video
Animate static images into video using Kling AI. Use when converting
Why this skill is useful
Provides executable scripts for animating images into videos using the Kling AI API, which are not widely available in public documentation.
What it needs
Requires npm installed locally. Requires klingai account access. About 4k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Kling AI Image-to-Video Overview Animate static images using the /v1/videos/image2video endpoint. Supports motion prompts, camera control, dynamic masks (motion brush), static masks, and tail images for start-to-end transitions. Endpoint: POST https://api.klingai.com/v1/videos/image2video Request Parameters Parameter Type Required Description ----------- ------ ---------- ------------- modelname string Yes kling-v1-5, kling-v2-1, kling-v2-master, etc. image string Yes URL of the source image (JPG, PNG, WebP) prompt string No Motion description for the animation negativeprompt string No What to exclude duration string Yes "5" or "10" seconds aspectratio string No "16:9" default mode string No "standard" or "professional" cfgscale float No Prompt adherence (0.0-1.0) imagetail string No End-frame image URL (mutually exclusive with masks/camera) cameracontrol object No Camera movement (mutually exclusive with masks/imagetail) staticmask string No Mask image URL for fixed regions dynamicmasks array No Motion brush trajectories callbackurl string No Webhook for completion Basic Image-to-Video Start-to-End Transition (imagetail) Use imagetail to specify both the first and last frame. Kling interpolates the motion between them. Motion Brush (dynamicmasks) Draw motion paths for specific elements in the image. Up to 6 motion paths per image in v2.6. Static Mask (freeze regions) Keep specific areas of the image static while animating the rest. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/klingai-image-to-video--7a834a