Seamless looping food video with AI: same first and last frame
To loop a food clip, send one image as image_url and end_image_url to Gemini Omni Flash 1.1, which Google says suits seamless loops. Clips run 3 to 10 seconds.

Use one image as both the first and the last frame. Google's Gemini Omni 1.1 Flash post says specifying the starting and ending frames makes it suitable for seamless looping clips, and Sume's Video Router takes a start frame as image_url and an optional end_image_url for gemini-omni-flash-1.1, with 3 to 10 second clips.
Vendor wording is from the Google post, Sume's from the Video Router docs, both read 2026-10-01.
How do I set up the loop?
The Video Router docs say the image_to_video capability takes image_url plus an optional end_image_url. For a loop, send your food still as both, and write a prompt where the motion returns to rest: steam rising and fading, sauce settling, a slow turntable that ends where it began.
// POST /v1/video-router/generate
{
"model": "gemini-omni-flash-1.1",
"prompt": "Steam drifts up from the bowl and fades; the camera holds still.",
"duration": 6,
"image_url": "https://media.sume.com/your-dish.png",
"end_image_url": "https://media.sume.com/your-dish.png"
}What does the catalog confirm for this model?
| Property | Value |
|---|---|
| Duration | 3 to 10 seconds |
| Resolutions | 360p, 720p, 1080p, 4K |
| Aspect ratios | 16:9 or 9:16 |
| Frame fields | image_url plus optional end_image_url |
| Audio | Native synced audio |
Is the loop point guaranteed to be invisible?
No. Matching end frames makes the jump between the last and first frame small, but motion, lighting and steam can still disagree at the seam, so play the clip on repeat before publishing. Google also lists 360p previews for iteration; check Sume's catalog entry for which resolutions you can request. If the loop is too short, increase video length by looping explains repeating it in a player or timeline.
Sources
Related posts
More in Use cases
- Gemini TTS two-speaker limit: three-voice dialogue with Sume concat
Gemini TTS configures two speakers per request. For three voices on Sume, make one TTS job per voice and join up to 20 parts with Timeline audio concat.
- GitHub social preview 1280x640: generate it with an image API
GitHub's social preview is 1280x640 PNG, JPG or GIF under 1 MB. 1280x640 passes GPT Image 2.5's size rules on Sume; here is the request and the file-size step.
- Google Play screenshot rules: 320-3840 px, no alpha, 2x ratio
Play screenshots must be JPEG or 24-bit PNG, 320 to 3840 px, with the long edge at most twice the short one. Sume's 3:1 limit is looser, so check 2:1.
- Small business holiday ad creative with AI: one Format, one bulk run
Google showed three creatives building local campaigns with Flow. A shop can run a first-party Sume Format per product and queue up to 100 runs in a bulk call.
Written by Sume