Gemini Omni edit 400: aspect_ratio is not supported, framing is kept
Sending aspect_ratio with a video_url edit on gemini-omni-flash-1.1 returns a 400 on Sume. Why the output keeps the source framing and what to send.

If your edit call to gemini-omni-flash-1.1 returns 400 with a message that aspect_ratio is not supported on edit (video_url), remove the field. The output keeps the source framing, so there is nothing to choose. Sume's Video Router docs list the edit mode as video_url plus a prompt, with resolution optional (default 720p) and no aspect_ratio or duration.
The request that fails and the one that works
A text-to-video call on this model accepts 16:9 or 9:16. The same field on an edit is rejected, because the source clip already fixes the shape.
curl -X POST https://api.sume.com/v1/video-router/generate \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-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"
}'Edit-mode field rules
Google's Omni page limits input videos for editing to 10 seconds (read 2026-10-03), so trim long sources first. To match another shape, crop or re-render afterward rather than asking the edit to reframe.
| Field | On edit |
|---|---|
| video_url | Required; the source clip |
| resolution | Optional, default 720p |
| aspect_ratio | Rejected with 400 |
| duration | Not a length setting; the output follows the source |
| image_url, end_image_url, reference_*_urls | Cannot be combined with video_url |
Sources
Related posts
More in Developers
- Omni edit came back 720p: how to ask for 1080p on Sume
A gemini-omni-flash-1.1 edit defaults to 720p when you leave resolution out. Set resolution on the request; here is what the edit mode accepts.
- Omni edit plus a reference image returns 400: send one or the other
Sume rejects video_url together with image or reference fields. Choose edit or reference-to-video on gemini-omni-flash-1.1, and see each field list.
- Gemini Omni Flash on /v1/videos: input_references and 9:16 in one call
Call gemini-omni-flash-1.1 through Sume's /v1/videos wire: input_references, 9:16, 720p, poll polling_url, download unsigned_urls. Fields and traps.
- One image to Gemini Omni on Sume: reference or first frame?
A single reference image on Sume's Omni row is reference-to-video, not a pinned first frame. Use image_url for a first frame, or frame_images on /v1/videos.
Written by Sume