Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
video_urlYesURL of the source video to transform (use upload_file for local videos)
promptYesText description of the transformation (e.g., 'transform into anime style', 'a woman dancing gracefully')
modelNoVideo-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-controldecart/lucy-edit/dev
durationNoDuration of generated video in seconds
aspect_ratioNoAspect ratio of the generated video16:9
cfg_scaleNoClassifier Free Guidance scale - how closely to follow the prompt (0.0-1.0)
image_urlNo[Kling motion control] Reference image URL. The character in this image will be animated using motion from video_url.
character_orientationNo[Kling motion control] 'video': orientation matches reference video (max 30s). 'image': orientation matches reference image (max 10s).video
keep_original_soundNo[Kling motion control] Whether to keep original sound from reference video.
tail_image_urlNo[Kling Pro] URL of image for the end of the video (for transitions).
generate_audioNo[Kling v2.6 Pro] Generate native audio for video (supports Chinese/English).
negative_promptNoWhat to avoid in the output (default: 'blur, distort, and low quality')
strengthNo[Lucy models] How much to transform (0=keep original, 1=full transformation)
num_framesNo[Lucy models] Number of frames to process
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the AI transformation nature and model capabilities (Lucy for restyling, Kling for motion control), which adds useful context beyond what parameters indicate. However, it doesn't describe important behavioral aspects like processing time, rate limits, authentication requirements, output format, or error conditions that would be crucial for an agent to use this tool effectively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise and front-loaded: two sentences that immediately convey the core functionality and a critical prerequisite. Every word earns its place - the first sentence defines the tool's purpose and capabilities, the second provides essential usage guidance. No wasted words or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 14 parameters, no annotations, and no output schema, the description provides adequate but incomplete context. It covers the high-level purpose and a critical prerequisite (upload_file for local videos), but doesn't address output format, error handling, performance characteristics, or integration patterns that would help an agent use this tool effectively in broader workflows.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 14 parameters thoroughly with descriptions, defaults, enums, and constraints. The description adds minimal parameter semantics beyond the schema - it only mentions the two main capabilities (restyling and motion transfer) that map to the 'model' parameter options. This meets the baseline of 3 when schema coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Transform an existing video using AI' with specific capabilities mentioned (restyling with Lucy models, motion transfer with Kling motion control). It distinguishes from sibling tools like 'generate_video' or 'generate_video_from_image' by specifying it works from an existing video source. However, it doesn't explicitly contrast with all possible siblings like 'edit_image' or 'inpaint_image'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage context: 'Use upload_file first if you have a local video' gives practical guidance for handling local files. It implies when to use this tool (for video-to-video transformations) versus alternatives like 'generate_video' (from scratch) or 'generate_video_from_image' (from images). However, it doesn't explicitly state when NOT to use this tool or name specific alternative tools for different scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/raveenb/fal-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server