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.
- GPT Image 2.5 curl command: generate and download in a shell
A copy-paste curl call to Sume's POST /v1/images for GPT Image 2.5, with jq to pull the URL, download the file, and a check for the 202 job response.
- Use a local photo as a GPT Image 2.5 reference: it needs a URL
Sume's input_references take public HTTPS image URLs only; localhost and private URLs are rejected. Three ways to turn a file on disk into a usable reference.
Written by Sume