Edit an existing clip with Gemini Omni Flash 1.1: video_url on Sume
Sume exposes Omni video edit mode through the Video Router video_url field: the prompt is the instruction, resolution defaults to 720p, no duration.

To edit an existing video with Gemini Omni Flash 1.1 on Sume, call POST /v1/video-router/generate with model: gemini-omni-flash-1.1, a video_url pointing at the source clip, and a prompt that states the edit. Resolution is optional and defaults to 720p; you cannot send aspect_ratio or duration in edit mode.
Google describes Omni Flash as a video generation and editing model on its pricing page. Sume's Video Router docs turn the editing side into one field, and this post covers its rules.
The rules from the docs
video_url is the edit source, not a reference. These are the constraints stated in the Video Router docs, read 2026-10-09.
video_urlcannot be combined withimage_url,end_image_url, or anyreference_*_urlsfield.- The prompt gives the instructions for the edit, for example 'Replace the bottle with an apple. Keep everything else the same.'
resolutionis optional, with a default of 720p;aspect_ratioanddurationare not accepted.- Native audio is always on for this model; the API rejects
generate_audio: false. - Sume bills the provider list price times 1.25 per output second, as a function of resolution.
A request
Use an Idempotency-Key header so a retry of the same request does not create a second job.
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: omni-edit-001" \
-d '{"model":"gemini-omni-flash-1.1","prompt":"Replace the bottle with an apple. Keep everything else the same.","video_url":"https://example.com/clip.mp4","resolution":"720p","mode":"async"}'What it might cost
Sume's 720p rate is $0.125 per output second. If your edit comes back as an 8-second 720p output, plan on 8 x $0.125 = $1.00, and 1080p would be 8 x $0.1875 = $1.50. The docs do not state how the output length is determined in edit mode, so treat those as planning figures and read the finished job's usage. Source clips should be reachable over public HTTPS.
Handling the result
The following figures use the same list prices as the tables above.
- Poll
GET /v1/jobs/:id/statusor the job's polling URL; completion returns a result with the video URL. - Use an Idempotency-Key per edit, so a network retry does not create a second edit job and a second charge.
- Keep the original: edits create a new job and a new video, and do not modify the source.
- If the edit is wrong, rewrite the prompt so it states what to change and what to keep, as in the docs example.
Limits of this comparison
This post covers only what the docs state. It does not cover how long an edit takes, how faithfully the model keeps the parts you ask it to keep, or what happens when the source clip is longer than 10 seconds, because the Video Router docs do not say. Run a few edits on short sources first. At 720p a 3-second test edit is about 3 x $0.125 = $0.375 if the output matches the source length, which is cheap enough to try five variants of a prompt for under $2.
Sources
Related posts
More in Developers
- Enterprise API key rate limit before a contract: the Scale row
Until Sume provisions a contracted number, an Enterprise key uses the Scale row: 1,200 writes and 48,000 reads per minute. The full plan table and the math.
- Estimate a 60-image Sume batch in Python before sending it: $3.05
A short Python script that prices a 60-image plan from Sume's list prices: 40 Grok drafts, 8 Nano Banana 2.1 4K finals and 12 FLUX.2 Pro images come to $3.05.
- Express route for a Sume webhook: raw body, verifyWebhook, 204
In Express, express.json() breaks the Sume signature check. Mount express.raw on the webhook route only, call verifyWebhook, and return a fast 2xx. TypeScript.
- Face swap API sync mode waits at most 30 s: then poll, do not resubmit
Sume's job modes cap sync and subscribe waits at 30 seconds. A face swap that is not terminal by then returns the envelope: poll the job, never resubmit.
Written by Sume