---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://framesfield.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "Kling O1 Natural-Language V2V Subject, Wardrobe & Set Swap Pipeline ($0.84 / 5s)"
description: "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)."
canonical: "https://framesfield.com/workflows/kling-o1-natural-language-v2v-subject-swap-pipeline"
---

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

> 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).

- **Canonical URL:** https://framesfield.com/workflows/kling-o1-natural-language-v2v-subject-swap-pipeline
- **Difficulty:** Beginner
- **Estimated Time:** 15 min
- **Estimated Cost:** $0.84 per 5s V2V edit · $1.68 per 10s edit (+$0.40 optional Topaz 4K finish)
- **Last Verified:** 2026-12-01
- **Tools Used:** Kling O1 Video-to-Video Edit (https://framesfield.com/specs/kling-o1-v2v-edit), Runway Aleph 2.0 (https://framesfield.com/specs/runway-aleph-2), Topaz Video Upscale API (https://framesfield.com/specs/topaz-video-upscale)

## Pipeline Architecture

01. **CFR Guide & Refs** (FFmpeg + @Image1 Stills): Conform phone guide clip to CFR and prepare clean garment/product reference stills
02. **Lock Prompt Contract** (V2V Prompt Builder): Specify exact swap target (@Image1) and explicitly freeze actor face, hands, and camera
03. **Mask-Free V2V Edit** (Kling O1 Edit ($0.168/s)): Queue async edit via queue.fal.run with keep_audio: true ($0.84 per 5s clip)
04. **Sync Audit & Finish** (ffprobe + Topaz 4K): Verify audio/video duration match; optionally upscale approved ad cuts to 4K ($0.40)

## Playbook

## 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](/specs/kling-o1-v2v-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](/tools/ffmpeg-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](/skills/v2v-object-removal-and-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](/skills/sam2-video-masking-and-kling-o1-v2v-fal-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](/specs/topaz-video-upscale) (`$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](/specs/runway-aleph-2) (`$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](/guides/ai-video-object-removal-inpainting-and-3d-rigging-guide).

## Copyable Asset: Kling O1 Mask-Free V2V Swap Script (queue.fal.run + @Image1 + keep_audio) (kling-o1-v2v-swap.sh)

```bash
#!/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
```

## FAQ

### 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.
