Fal Kling Video

Generate professional AI videos from text or images using Kling v1.6 and fal.ai with automated queue management.

Install
cmdop skills install agensi-fal-kling-video

Fal Kling Video is a skill that provides a programmatic interface to the Kling v1.6 Standard model through fal.ai. It covers the full lifecycle of AI video generation: submitting the generation request, managing the asynchronous polling queue required for long-running jobs, and automatically downloading the finished MP4 file to a local directory.

The skill supports two generation modes. Text-to-video creates video clips from natural language descriptions. Image-to-video animates a static image into a motion sequence, handling Base64 encoding of the input image internally so the calling agent does not need to manage that step.

Output format is configurable: aspect ratios of 16:9, 9:16, and 1:1 are supported, and clip duration can be set to either 5 seconds or 10 seconds. The skill includes built-in error handling for API timeouts and ensures consistent application of duration and aspect ratio parameters across requests.

This skill is appropriate when an agent workflow needs to produce video assets without manually implementing the submit-and-poll pattern that fal.ai requires for asynchronous jobs. It is not appropriate if the target model is something other than Kling v1.6 Standard, if a streaming or real-time delivery transport is required, or if output must go somewhere other than a local directory.

Use cases

  • Generate a short video clip from a text scene description for use in an automated content pipeline
  • Animate a product image into a 5-second or 10-second motion clip
  • Produce vertical 9:16 video assets for social media from a single prompt
  • Batch-generate multiple MP4 files by submitting sequential generation requests with queue management handled automatically
  • Convert static AI-generated images into video sequences without manually encoding the image to Base64

When to use it

  • An agent needs to produce MP4 video from text or image inputs without writing custom fal.ai polling logic
  • The workflow requires configurable aspect ratios (16:9, 9:16, 1:1) and clip durations (5s or 10s)
  • Output files need to be saved automatically to a local directory for downstream processing
  • The target model is specifically Kling v1.6 Standard via fal.ai

When not to use it

  • A different video generation model or provider is required
  • Real-time or streaming video output is needed rather than a downloaded MP4
  • Output must be stored in cloud storage or a remote destination rather than a local directory
  • No fal.ai access or credentials are available
  • Video longer than 10 seconds is required