Swap the product in a finished video: Omni Flash edit mode

Edit an existing clip with gemini-omni-flash-1.1 through the Video Router video_url field. The source sets length and shape, so aspect_ratio returns 400.

5 min readSume
All posts

To change one thing in a finished ad, such as swapping a bottle for another product, send the clip as video_url to the Video Router with gemini-omni-flash-1.1 and a prompt that names the change. The source clip sets the output length and shape, so aspect_ratio and duration do not apply. Sending aspect_ratio returns 400.

How edit mode is selected

Gemini Omni Flash 1.1 is one catalog id. The input shape picks the mode: prompt only is text-to-video, an image is image-to-video, reference URLs are reference-to-video, and video_url is edit. There are never four public ids.

Only three catalog rows accept video_url: this model, higgsfield-genjutsu as a motion-transfer source and h3-max-recast as a recast source. You cannot combine video_url with image_url, end_image_url or reference_*_urls. To use a clip as a reference for a new generation, use reference_video_urls.

The request

The docs example replaces a bottle with an apple and asks to keep everything else the same. Write your prompt the same way: one change, then what must stay.

curl -X POST https://api.sume.com/v1/video-router/generate \
  -H "Authorization: Bearer $SUME_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: swap-bottle-001" \
  -d '{
    "model": "gemini-omni-flash-1.1",
    "prompt": "Replace the bottle with a green apple. Keep everything else the same.",
    "video_url": "https://example.com/clip.mp4",
    "resolution": "720p"
  }'

Limits to know

The model always makes native synced audio. generate_audio: false, bitrate_mode and reference_audio_urls are rejected with 400. The default resolution is 720p, and 4K or lowercase 4k is accepted. If you send a duration with video_url, it is only a reserve estimate, 8 seconds by default, because fal does not report an output duration.

From the Sume video router docs, read 2026-10-05
Field with video_urlResult
aspect_ratio400
durationReserve hint only, default 8 s
generate_audio: false400
image_url or reference_*_urlsNot allowed together

Review the swap

An edit regenerates the frames, so check the whole clip, not only the product. Look at the label text and the hands. Keep the original file, since each edit is a new job under its own key.

Sources

Related posts

More in Use cases

All Use cases posts

Written by Sume