Learn · Developers

Can Gemini make videos? What it makes and how to finish them

Contents

Yes. The Gemini app makes short video clips from a prompt, with sound. Google’s help page puts it this way: “You can create videos or animated GIFs in minutes in Gemini Apps with Gemini Omni 1.2 Flash, our latest AI video generation model.”

What you get is a clip of 3 to 10 seconds. That is the right tool for one idea, one post or one test. It is not yet a finished video with your title in your font, your music and your logo, and it is not a way to make the same video for every product in a list.

This guide covers both sides. First, what Gemini makes on its own, from Google’s own pages as they read on November 26, 2026. Then two ways for a developer to get finished, repeatable videos with Gemini: Google’s video model called from Python through Shotstack’s video editing API, and Gemini CLI connected to Shotstack.

TL;DR

  • Gemini makes videos in the Gemini app with Google’s Gemini Omni model. A clip is 3 to 10 seconds long, or up to 15 seconds on the AI Ultra plan.
  • You need a paid Google AI plan, and you can’t be under 18.
  • You can change a clip by chatting: replace an object, move the camera or extend it by up to 10 seconds.
  • The app gives you one clip at a time. Titles, music, a logo and a version for every product are an editing job.
  • Shotstack offers Google’s model as gemini-omni-flash-1.1-text-to-video. One Python script generates a Gemini clip and puts it in a finished video with a title and music.
  • A second script makes a video for every row of a list, and Gemini CLI can do the same from a terminal chat.

What Gemini can make on its own

Video generation is part of the Gemini app. On a computer you open the sidebar, choose Create video and type a prompt. This is what Google’s help page says you get:

What Google says
ModelGemini Omni 1.2 Flash
Length”Videos can be from 3 seconds to up to 10 seconds long or up to 15 seconds for users with an AI Ultra subscription.”
Sound”For videos, you can also ask Gemini to generate audio along with your video.”
Starting pointsA text prompt, or one video and up to 5 images that you upload
Shape”Choose the aspect ratio of the video before it’s created. For text prompts, the default is landscape.”
GIFs”short looping GIFs (~ 3 seconds long)”, in eight countries for now
Getting the fileShare on YouTube or Download video

You can keep working on a clip after it is made. The help page lists what a follow-up prompt can do: “Remove or replace objects and characters. Change camera angles. Modify the scene. Extend the video length up to another 10 seconds.”

Who can use it

It isn’t on the free plan. The help page says: “To use this feature with a personal account, you must have a Google AI plan.” A work or school account needs a Workspace license that includes it, and Google adds: “For now, this feature isn’t available to users under 18.”

Google doesn’t publish a number of videos for each plan. Its page on usage limits gives each plan a multiple of the standard limit, and adds: “Video generally requires the most usage.”

Every clip carries a watermark you can’t see

Google’s announcement of Gemini Omni says: “All videos created with Omni include our imperceptible SynthID digital watermark.” It doesn’t change how the video looks. It lets Google’s tools confirm that the video was generated.

Where the Gemini app stops

The app makes footage. A video that goes out under a brand needs more than footage, and that part is editing:

  • Length. One clip is 10 seconds, or 15 on the top plan, and an edit can add up to 10 more. A longer video is several clips joined together.
  • Exact text. A product name and a price have to be spelled right, in the brand’s font, in the same place every time.
  • Your own sound. The clip comes with the sound the model made. A brand usually has its own music and voice.
  • Repeats. The app works one prompt at a time. A store with 200 products needs the same layout 200 times, from a list.

None of this is a fault in the model. Generating a clip and editing a video are two jobs. For the second one you need a timeline, and a way to fill it from code.

If you use other assistants too, we have the same guide for ChatGPT and for Claude.

Make a finished video with Gemini in Python

Developers can call Google’s video model without the app. Google’s Gemini API has it as gemini-omni-1.2-flash, and its docs describe it as a model for “turning text prompts and reference images into 3 to 15 second videos with native audio”. That gives you a clip, and the editing is still yours to do.

Shotstack puts the model inside the edit. A Shotstack edit is a JSON timeline of clips. For a clip that should be generated, you give a prompt and a model name where the file URL would go. The render generates the clip and edits it into the video in the same request.

Google’s model is listed on Shotstack as Gemini Omni Flash 1.1:

SettingValues
Model namegemini-omni-flash-1.1-text-to-video or gemini-omni-flash-1.1-image-to-video
Length3 to 10 seconds
Resolution360p, 720p (default), 1080p or 4k
Shape16:9 or 9:16
SoundAlways on

You don’t need a Google account or a Google AI plan for this. The clip is generated on your Shotstack API key and paid for in credits. Sign up for free, copy the production key from the dashboard and set it in your terminal:

Bash
export SHOTSTACK_API_KEY="your_production_key"

The script below asks for a price first, then renders one video: a 5-second Gemini clip of a candle being lit, with a title in the corner and music under it. It needs Python 3 and no packages. Save it as gemini_video.py:

Python
import json
import os
import sys
import time
import urllib.error
import urllib.request

API = "https://api.shotstack.io/edit/v1"
MODEL = "gemini-omni-flash-1.1-text-to-video"
PROMPT = (
    "A hand strikes a match and lights a white candle in a ceramic jar on a seamless"
    " forest-green paper backdrop. Soft window light from the side, close-up, the"
    " camera holds still."
)
TITLE = "Hand-poured candle"
TEXT_COLOR = "#eef1f2"
LENGTH = 5  # seconds, 3 to 10
RESOLUTION = "720p"  # 360p, 720p, 1080p or 4k
FONT = "https://fonts.gstatic.com/s/inter/v20/UcCo3FwrK3iLTfvlaQc78lA2.ttf"
MUSIC = (
    "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/music/unminus/berlin.mp3"
)


def call(url, body=None):
    data = json.dumps(body).encode() if body is not None else None
    headers = {
        "x-api-key": os.environ["SHOTSTACK_API_KEY"],
        "Content-Type": "application/json",
    }
    try:
        request = urllib.request.Request(url, data, headers)
        with urllib.request.urlopen(request) as response:
            return json.load(response)
    except urllib.error.HTTPError as error:
        sys.exit(f"HTTP {error.code}: {' '.join(error.read().decode().split())[:300]}")


def gemini_clip(prompt):
    options = {"aspectRatio": "16:9", "resolution": RESOLUTION}
    return {"type": "video", "prompt": prompt, "model": MODEL, "options": options}


def build_edit(prompt, title, text_color):
    font = {"family": "UcCo3FwrK3iLTfvlaQc78lA2", "size": 44, "weight": "600"}
    text = {
        "type": "rich-text",
        "text": title,
        "font": {**font, "color": text_color},
        "align": {"horizontal": "left", "vertical": "middle"},
    }
    title_clip = {
        "asset": text,
        "start": 0.5,
        "length": "end",
        "width": 1040,
        "height": 120,
        "position": "bottomLeft",
        "offset": {"x": 0.06, "y": 0.08},
        "transition": {"in": "fade"},
    }
    video_clip = {"asset": gemini_clip(prompt), "start": 0, "length": LENGTH}
    return {
        "timeline": {
            "fonts": [{"src": FONT}],
            "soundtrack": {"src": MUSIC, "effect": "fadeOut", "volume": 0.2},
            "tracks": [{"clips": [title_clip]}, {"clips": [video_clip]}],
        },
        "output": {"format": "mp4", "resolution": "hd", "fps": 24},
    }


def quote(prompt):
    body = {"asset": gemini_clip(prompt), "length": LENGTH}
    return call(f"{API}/generate/quote", body)["credits"]


if __name__ == "__main__":
    if not os.environ.get("SHOTSTACK_API_KEY"):
        sys.exit("Set SHOTSTACK_API_KEY first.")
    print(f"Quote: {quote(PROMPT)} credits for {LENGTH} s at {RESOLUTION}")
    edit = build_edit(PROMPT, TITLE, TEXT_COLOR)
    render_id = call(f"{API}/render", edit)["response"]["id"]
    print("Render queued:", render_id)
    seen = "queued"
    while True:
        time.sleep(5)
        status = call(f"{API}/render/{render_id}")["response"]
        if status["status"] != seen:
            seen = status["status"]
            print("Status:", seen)
        if seen == "done":
            break
        if seen == "failed":
            sys.exit(f"Render failed: {status.get('error')}")
    print(f"Video: {status['duration']} s")
    print(status["url"])

Run it:

Bash
python gemini_video.py
Text
Quote: 3.125 credits for 5 s at 720p
Render queued: ee2917f4-c758-4c0c-ad51-a07157fdb93a
Status: generating
Status: rendering
Status: done
Video: 5 s
https://shotstack-api-v1-output.s3-ap-southeast-2.amazonaws.com/m4x7q2k9tz/ee2917f4-c758-4c0c-ad51-a07157fdb93a.mp4

Here is the video from that run:

The match, the flame and the green backdrop are Gemini’s. The title is Shotstack’s: it is real text in the Inter font, so it is spelled the way you typed it and sits where you put it.

How the script works

  • The quote. POST /generate/quote takes the clip’s settings and returns the price. Nothing is generated or charged. A 5-second clip at 720p was quoted at 3.125 credits. The pricing page shows what a credit costs on each plan.
  • The Gemini clip. gemini_clip returns a video asset with a prompt and a model where a src would be. While the model works, the render’s status reads generating.
  • The title. A rich-text clip on the track above the video. position and offset place it in the bottom left corner, and it fades in after half a second.
  • The music. The soundtrack plays under the whole video at a volume of 0.2 and fades out at the end. The clip keeps the sound Gemini made for it.
  • The output. A 1280 x 720 MP4 at 24 frames a second.

Make a video for every row of a list

One video is a test. The reason to do this in code is the list: every product, every listing, every post for the week. This script takes rows of prompt, title and title color, and makes one video for each.

Save it as gemini_many.py, next to gemini_video.py:

Python
import os
import sys
import time

import gemini_video

ESPRESSO = (
    "Espresso pours from a machine spout into a small glass cup on a seamless"
    " brick-red paper backdrop. Soft window light from the side, close-up, the"
    " camera holds still."
)
LEMON = (
    "Sparkling water is poured over ice and a slice of lemon in a tall glass on a"
    " seamless blush-pink paper backdrop. Soft window light from the side, close-up,"
    " the camera holds still."
)
# One video for each row: the prompt for Gemini, the title and the title's color.
VIDEOS = [
    (gemini_video.PROMPT, gemini_video.TITLE, gemini_video.TEXT_COLOR),
    (ESPRESSO, "House espresso", "#eef1f2"),
    (LEMON, "Sparkling lemon", "#111111"),
]

if not os.environ.get("SHOTSTACK_API_KEY"):
    sys.exit("Set SHOTSTACK_API_KEY first.")
total = sum(gemini_video.quote(prompt) for prompt, _, _ in VIDEOS)
print(f"Quote for {len(VIDEOS)} clips: {total} credits")
renders = {}
for prompt, title, text_color in VIDEOS:
    edit = gemini_video.build_edit(prompt, title, text_color)
    response = gemini_video.call(f"{gemini_video.API}/render", edit)
    renders[response["response"]["id"]] = title
print(f"Queued {len(renders)} renders")
while renders:
    time.sleep(5)
    for render_id in list(renders):
        url = f"{gemini_video.API}/render/{render_id}"
        status = gemini_video.call(url)["response"]
        if status["status"] in ("done", "failed"):
            title = renders.pop(render_id)
            result = status.get("url") or status.get("error")
            print(f"{title}: {status['status']}  {result}")
Text
Quote for 3 clips: 9.375 credits
Queued 3 renders
Hand-poured candle: done  https://shotstack-api-v1-output.s3-ap-southeast-2.amazonaws.com/m4x7q2k9tz/b70caaf2-2b7b-4b0e-a7b9-2d21e890f20e.mp4
House espresso: done  https://shotstack-api-v1-output.s3-ap-southeast-2.amazonaws.com/m4x7q2k9tz/9faf51ce-7437-4858-a80b-93922273c509.mp4
Sparkling lemon: done  https://shotstack-api-v1-output.s3-ap-southeast-2.amazonaws.com/m4x7q2k9tz/9b9296a3-55b8-4cd3-a159-f1d3d24b1952.mp4

The three videos are shown side by side here, without their sound. All three have the same layout and music, and each has its own clip and title. The third row uses dark text, because its backdrop is light.

The quote counts all three clips, but the first row is the candle from the script above. Shotstack stores every clip it generates, and a request with the same model, prompt, options and length gets the stored clip at no charge. So you can run a list again after you change one title, and only the clips that are new are generated.

In a real project the rows come from your data, such as a product feed or a spreadsheet. To run the list on its own every day, our guide to automating video creation on a schedule shows how.

Ask Gemini CLI to make the video

There is also a way that needs no script. Gemini CLI is Google’s coding agent for the terminal, and it can use outside tools through MCP servers. Shotstack has one. This command adds it:

Bash
gemini mcp add -s user --transport http shotstack https://mcp.shotstack.io/

The -s user part saves the server for every project. Leave it out to add it to the current project only. I tested it that way with Gemini CLI 0.64, and gemini mcp list then showed the server.

After that you ask for a video in plain words, and Gemini writes the edit and sends it to Shotstack. The MCP server docs list what the server can do, and our guide to connecting Shotstack to your AI tools with MCP has the setup for other clients.

Which way should you use?

You wantUse
One clip for an idea or a postThe Gemini app
A finished video with your title and musicThe Python script
The same video for every row of a listThe second Python script
To describe a video in a terminal and let an agent build itGemini CLI with the Shotstack MCP server

Make finished videos with Gemini and Shotstack

Gemini can make videos. What it makes is a clip. With a short Python script, that clip becomes a finished video with your text and music, and a list of prompts becomes a set of videos that match.

Sign up for a free Shotstack API key and render your first Gemini video.

Frequently asked questions (FAQs)

Can Gemini make videos for free?

Not in the Gemini app. Google’s help page says a personal account needs a Google AI plan. Google’s announcement of Gemini Omni says the model is also “rolling out at no cost to users on YouTube Shorts and YouTube Create App”.

Can Gemini edit a video I already have?

Yes, in some regions. The help page lists “Video to Video Edit: Upload a video and instruct the model to apply edits”, with a note that uploading a video for edits isn’t available in the EEA, Switzerland, the United Kingdom and some US states.

What happened to Veo in the Gemini API?

Google shut it down. Its deprecations page lists October 22, 2026 as the shutdown date for the three Veo 3.1 preview models, with gemini-omni-1.2-flash as the replacement. Code that still calls a Veo 3.1 preview model in the Gemini API needs to move.

Can I make a vertical Gemini video for Shorts or Reels?

Yes. In the Gemini app you choose the aspect ratio before the video is made. On Shotstack the model makes 16:9 and 9:16 clips, so a vertical video is one setting.

Keep reading

Start free

  • Unlimited developer sandbox
  • No credit card required