
Kling 4.0 Reference to Video
Edits a video you give it
Liveby Kling
Kling 4.0 generates videos from text prompts and image or video references at 720p or 1080p, with durations from 3 to 30 seconds and per-shot prompts.
Ask your agent
Say it in your own words. Your agent picks this tool, fills in the details and brings back the answer.
CodexClaude CodeAny agent with a terminal
Use Kling 4.0 Reference to Video to make this clip look like it was shot at night.
More examples
Change the background of this video to a beach.
Reviews
No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.
How it works
- Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
- Ask in your own wordsYour agent picks the right tool and fills in the details for you.
- Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call, input and output
Video API by Kling, callable through Superpowers. It costs $0.848 per 5s clip, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.kling-v4-reference-to-video", or over MCP with run_tool.
- Tool id
- Price per call
- $0.848 / 5s clip
Call it
Also over MCP asrun_toolcurl -X POST https://superpowers.tools/v1/run \
-H 'Authorization: Bearer $SP_KEY' \
-d '{"tool":"fal.kling-v4-reference-to-video","input":{"elements":["marketing digital"]},"idempotency_key":"example-request-1"}'Input
9 fields · all optional{
"type": "object",
"required": [],
"properties": {
"elements": {
"type": "array",
"description": "Characters/objects, referenced as @Element1, @Element2, ... (max 7). Up to 3 elements may carry a voice_id and up to 3 may be video elements."
},
"prompt": {
"type": "string",
"description": "Text prompt. Reference inputs as @Image1, @Video1, @Element1, etc. Either prompt or multi_prompt must be provided."
},
"resolution": {
"type": "string",
"description": "Output resolution.",
"default": "1080p",
"enum": [
"720p",
"1080p"
]
},
"aspect_ratio": {
"type": "string",
"description": "Aspect ratio of the generated video. 'auto' adapts it to the references.",
"default": "16:9",
"enum": [
"auto",
"16:9",
"9:16",
"1:1",
"21:9"
]
},
"image_urls": {
"type": "array",
"description": "Reference images, referenced as @Image1, @Image2, ... (max 10)."
},
"start_image_url": {
"type": "string",
"description": "Optional image to use as the first frame. Counts toward the image reference limit."
},
"video_urls": {
"type": "array",
"description": "Reference videos (3-30s each, 30s combined with element videos), referenced as @Video1, @Video2, ... (max 5)."
},
"multi_prompt": {
"type": "array",
"description": "Per-shot prompts for multi-shot generation. The video duration is the sum of the shot durations."
},
"duration": {
"type": "integer",
"description": "Video duration in seconds (3-30).",
"default": 5
}
}
}