Skip to content
FramesField
Beginner Light CLI / Copy-Paste Script
Verified Dec 1, 2026

Kling O1 Natural-Language V2V Subject, Wardrobe & Set Swap Pipeline ($0.84 / 5s)

What you’ll make

A mask-free, audio-synced edited MP4 video where real actor timing, camera blocking, and spoken dialogue stay preserved while wardrobe, props, or backgrounds transform seamlessly.

Transform a real talking-head or handheld smartphone guide clip—swapping jackets, handheld products, or entire background locations—without drawing a single mask or breaking audio sync. Conform your clip to constant frame rate (CFR), upload clean product/garment reference stills, queue fal-ai/kling-video/o1/video-to-video/edit ($0.168/sec = $0.84 per 5s shot) with keep_audio: true, and optionally upscale approved commercial winners to 4K via Topaz Video API ($0.40).

Before you start
  • A crisp 3–10 second well-lit source clip (180-degree shutter daylight or studio key light, minimal motion blur)
  • 1–2 clean reference stills of the replacement garment, prop, or environment (for @Image1 / elements anchoring)
  • FFmpeg 5.1–9.x, curl, jq, and a fal.ai API key (FAL_KEY)
Estimated cost
$0.84 per 5s V2V edit · $1.68 per 10s edit (+$0.40 optional Topaz 4K finish)
Time needed
15 min
Jump to section (5)
  1. 01Why mask-free V2V editing solves talking-head & UGC swaps cleanly
  2. 02Step 1: Shoot or conform a crisp CFR guide plate
  3. 03Step 2: Write an anchored @Video1 + @Image1 swap instruction
  4. 04Step 3: Submit via queue.fal.run with keep_audio: true
  5. 05Step 4: Know when to escalate to Runway Aleph 2.0 or Topaz 4K
Step-by-step overview
SIGNAL PATH READY Click any node or press “Step Through” to trace data flow from input plate to final deliverable.
01–04
Handheld Guide Clip + @Image1 Reference → Kling O1 V2V ($0.84/5s, keep_audio) → 4K Finish
Official Demo · Privacy-Enhanced Player (Zero Cookies Until Click)

Handheld Guide Clip + @Image1 Reference → Kling O1 V2V ($0.84/5s, keep_audio) → 4K Finish

Luma (Official Demo) · youtube-nocookie.com
Frame 01 PREP · $0.00
CFR Guide + Ref Stills
24/30fps CFR + @Image1 prop/jacket

Normalize phone VFR first and attach sharp reference photos to prevent prompt drift.

Frame 02 EDIT · $0.84
Kling O1 V2V Swap
$0.168/s · keep_audio: true

Transforms wardrobe, handheld prop, or studio set while carrying original speech natively.

Frame 03 MASTER · $0.40
Audio Check & 4K Finish
ffprobe sync + Topaz 4K optional

Verify speech sync and elevate winning hero cuts to 4K or route cinema grades to Aleph 2.0.

Mask-free natural-language V2V editing preserves real human performance and spoken dialogue while swapping garments, props, or environments in one queued API call.

Source: Luma (Official Demo) Model: KLING O1 VIDEO-TO-VIDEO EDIT (FAL-AI) Verified Dec 1, 2026
Original source ↗

Why mask-free V2V editing solves talking-head & UGC swaps cleanly

Drawing animated rotoscope masks around flapping sleeves, moving fingers gripping a coffee cup, or wavy hair in front of an office backdrop takes forever—and hard binary masks fail the instant new wardrobe fabric needs to cast subtle bounce light across the actor’s jaw.

Kling O1 Video-to-Video Edit (fal-ai/kling-video/o1/video-to-video/edit, $0.168/sec = $0.84 per 5s shot) solves holistic swaps in a single queued API call while preserving original spoken dialogue via keep_audio: true.

Step 1: Shoot or conform a crisp CFR guide plate

Even the strongest V2V editor struggles with dark, smeared, motion-blurred phone footage. Before uploading:

  • Shoot in even daylight or soft studio key light with crisp shutter discipline (1/48s at 24fps or 1/60s at 30fps).
  • Conform raw smartphone files to constant frame rate (-fps_mode cfr) via our FFmpeg Studio Command Builder so speech timing stays rock-solid.
  • Collect 1–2 sharp reference photos (image_urls) of the exact jacket, bottle, or studio interior you want injected—or pass multi-view stills inside elements (frontal_image_url + reference_image_urls) when swapping a complex 3D product.

Step 2: Write an anchored @Video1 + @Image1 swap instruction

Vague prompts like “make the jacket cooler and change the room” invite random face drift. Structure every Kling O1 instruction in three crisp sentences (generate formatted drafts cleanly with our V2V Object Removal & Subject Swap Prompt Builder):

  1. Exact Replacement: “Replace the speaker’s plain black cotton hoodie in @Video1 with the structured sage wool overshirt shown in @Image1.”
  2. Physical Integration: “Preserve realistic shoulder creases, cuff movement over wrists, and soft window key light falling from frame left.”
  3. Explicit Preservation Lock: “Keep the speaker’s exact face identity, eye contact, lip movement, hand gestures, and steady camera framing 100% unchanged.”

Step 3: Submit via queue.fal.run with keep_audio: true

Run kling-o1-v2v-swap.sh above to queue the job cleanly (avoiding 60-second fal.run timeouts) and inspect the ffprobe stream readout when kling_o1_edited.mp4 downloads. Agents using Claude Code or Cursor can automate this exact chain with our Meta SAM 2 Masking & Kling O1 V2V Agent Skill.

Step 4: Know when to escalate to Runway Aleph 2.0 or Topaz 4K

  • Social / UGC Ad Delivery (1080p): Review collars, fingers, and lip-sync at 100% scale, normalize audio to -14 LUFS, and ship directly at $0.84 per 5s shot.
  • 4K Commercial Web Hero: Pass winning Kling O1 cuts once through Topaz Video Upscale API ($0.40 per 5s 4K).
  • DaVinci Resolve Cinema Relighting: When a live-action director requires 10-bit Rec.709 or ProRes 422 HQ plates to match-grade beside cinema cameras, route that hero cut to Runway Aleph 2.0 ($0.28/s + $0.05/s ProRes).

For full side-by-side decision rules covering Wan VACE 14B, Kling O1, and Aleph 2.0, read our AI Video Object Removal & 3D Game Rigging Guide.

Copy-paste template

Kling O1 Mask-Free V2V Swap Script (queue.fal.run + @Image1 + keep_audio) kling-o1-v2v-swap.sh
Submits a reference-anchored natural-language video edit asynchronously to queue.fal.run/fal-ai/kling-video/o1/video-to-video/edit ($0.168/sec = $0.84/5s) with keep_audio: true and verifies audio/video duration sync via ffprobe.
#!/usr/bin/env bash
set -euo pipefail
# Usage:
#   FAL_KEY="..." ./kling-o1-v2v-swap.sh "<video_url>" "<ref_image_url>" "<edit_prompt>"
# Cost: $0.168/sec ($0.84 per 5s clip, $1.68 per 10s clip)

VIDEO_URL="${1:?Pass HTTPS URL to 3-10s CFR source clip}"
REF_IMG_URL="${2:?Pass HTTPS URL to clean @Image1 garment/prop/set reference image}"
EDIT_PROMPT="${3:-Replace the speaker's jacket in @Video1 with the structured garment shown in @Image1, matching fabric creases, arm motion, and natural soft studio lighting. Keep the speaker's face, expression, hands, lip movement, and camera framing unchanged.}"

echo "Submitting async Kling O1 V2V Edit (keep_audio=true)..."
SUBMIT=$(curl -sS -X POST "https://queue.fal.run/fal-ai/kling-video/o1/video-to-video/edit" \
  -H "Authorization: Key ${FAL_KEY:?Set FAL_KEY}" \
  -H "Content-Type: application/json" \
  -d "{
    \"video_url\": \"${VIDEO_URL}\",
    \"image_urls\": [\"${REF_IMG_URL}\"],
    \"prompt\": \"${EDIT_PROMPT}\",
    \"keep_audio\": true
  }")

REQ_ID=$(echo "${SUBMIT}" | jq -r '.request_id // empty')
STATUS_URL=$(echo "${SUBMIT}" | jq -r '.status_url // empty')
RESP_URL=$(echo "${SUBMIT}" | jq -r '.response_url // empty')
if [ -z "${REQ_ID}" ]; then echo "Kling O1 submit failed: ${SUBMIT}" >&2; exit 1; fi
echo "Queued request_id=${REQ_ID}..."

while true; do
  POLL=$(curl -sS -H "Authorization: Key ${FAL_KEY}" "${STATUS_URL}")
  STATE=$(echo "${POLL}" | jq -r '.status // "UNKNOWN"')
  echo "[$(date +%H:%M:%S)] status=${STATE}"
  if [ "${STATE}" = "COMPLETED" ]; then break; fi
  if [ "${STATE}" = "FAILED" ] || [ "${STATE}" = "CANCELED" ]; then echo "${POLL}" >&2; exit 1; fi
  sleep 8
done

OUT_URL=$(curl -sS -H "Authorization: Key ${FAL_KEY}" "${RESP_URL}" | jq -r '.video.url // empty')
curl -fsSL "${OUT_URL}" -o kling_o1_edited.mp4
echo "Saved edited clip -> kling_o1_edited.mp4"
ffprobe -v error -show_entries stream=codec_type,codec_name,duration,r_frame_rate -of compact kling_o1_edited.mp4

Helpful prompts & skills for this workflow

Frequently Asked Questions

When should I choose Kling O1 V2V Edit ($0.168/s) instead of Runway Aleph 2.0 ($0.28/s)?
Pick Kling O1 Edit for fast mask-free wardrobe swaps, prop replacements, and UGC background changes on speaking creators—it saves 40% per second ($0.84 vs. $1.40 per 5s) and preserves speech directly via keep_audio: true. Pick Runway Aleph 2.0 when a commercial spot requires ProRes (+$0.05/s) or 10-bit Rec.709 grading alongside real cinema cameras.
When should I switch back to Meta SAM 2 + Wan VACE 14B instead of Kling O1?
Whenever untouched background areas (such as a client's printed signage, architectural grid, or static product wall) must stay 100% pixel-identical with zero generative drift—use a dilated SAM 2 mask in Wan VACE 14B ($0.08/s) instead.
Do I still need to run LUFS loudness normalization after keep_audio: true?
Yes for paid broadcast or YouTube delivery. While keep_audio: true keeps dialogue synced conveniently for instant review and social previews, applying final -14 LUFS mastering in FFmpeg ensures consistent volume across your full edit.
Use this page in AI tools or notes
raw .md