generate_video_from_video
Transform existing videos using AI for restyling or motion transfer. Apply new visual styles or animate characters based on text prompts.
Instructions
Transform an existing video using AI. Supports restyling (Lucy models) and motion transfer (Kling motion control). Use upload_file first if you have a local video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_url | Yes | URL of the source video to transform (use upload_file for local videos) | |
| prompt | Yes | Text description of the transformation (e.g., 'transform into anime style', 'a woman dancing gracefully') | |
| model | No | Video-to-video model. Options: decart/lucy-edit/dev (restyle), decart/lucy-edit/pro, decart/lucy-restyle, fal-ai/kling-video/v2.6/standard/motion-control (motion transfer), fal-ai/kling-video/v2.6/pro/motion-control | decart/lucy-edit/dev |
| duration | No | Duration of generated video in seconds | |
| aspect_ratio | No | Aspect ratio of the generated video | 16:9 |
| cfg_scale | No | Classifier Free Guidance scale - how closely to follow the prompt (0.0-1.0) | |
| image_url | No | [Kling motion control] Reference image URL. The character in this image will be animated using motion from video_url. | |
| character_orientation | No | [Kling motion control] 'video': orientation matches reference video (max 30s). 'image': orientation matches reference image (max 10s). | video |
| keep_original_sound | No | [Kling motion control] Whether to keep original sound from reference video. | |
| tail_image_url | No | [Kling Pro] URL of image for the end of the video (for transitions). | |
| generate_audio | No | [Kling v2.6 Pro] Generate native audio for video (supports Chinese/English). | |
| negative_prompt | No | What to avoid in the output (default: 'blur, distort, and low quality') | |
| strength | No | [Lucy models] How much to transform (0=keep original, 1=full transformation) | |
| num_frames | No | [Lucy models] Number of frames to process |