Blog

Nano Banana 2 Video Generator (2026): Keyframes and Code

Unicorn API Team · · 10 min read

Nano Banana 2 video generator workflow: a still keyframe turned into a video clip by a separate video model

If you searched for a nano banana 2 video generator, here is the short answer before anything else: Nano Banana 2 does not generate video. It is Google’s Gemini image model, and it produces still images. What it does extremely well is make the starting frames that video models animate, and that is why its name shows up on so many “AI video” sites. This post explains what the model is, how the image-to-video workflow actually works, what it costs per frame, and how to build it yourself with a few API calls.

Is there a Nano Banana 2 video generator?

Not from Google, and not as a single model. When a site advertises a nano banana 2 video generator, it is almost always doing one of two things:

  • Using Nano Banana 2 for the first frame. You type a prompt or upload a photo, Nano Banana 2 makes or edits a still image, and a separate video model turns that still into a short clip. This is called image-to-video: a video model takes an image as the opening frame and invents the motion that follows.
  • Using the brand as a label. Some platforms put “Nano Banana” in their product name because it is a popular search term, then run unrelated video models underneath. The video you get has nothing to do with Google’s image model.

Neither approach is wrong. The first one is genuinely useful, because the quality of an AI video depends heavily on the quality of its first frame. A clean, well-composed keyframe (the still image that defines what a shot looks like at a given moment) gives the video model less to guess about. Bad lighting, warped hands or garbled text in the first frame tend to get worse once the frame starts moving.

So the useful way to think about a nano banana 2 video generator is as a two-stage pipeline: Nano Banana 2 handles composition, realism and consistency, and a video model handles motion. Once you see it that way, you can pick each stage on its own merits instead of paying a bundled price for a black box.

What is Nano Banana 2?

Nano Banana 2 is Google’s current Gemini image model, released on February 26, 2026, as the successor to the image generator that went viral under the codename “Nano Banana”. The original Nano Banana was Gemini 2.5 Flash Image, a model known for quick, natural-looking images and conversational edits.

Google Nano Banana 2 keeps that editing style and adds higher resolutions and much more reference capacity. Here is how it compares with its siblings on Unicorn API:

ModelResolutionsMax reference imagesPrice per imageAspect ratios
Nano Banana 2 Lite1K104 credits16:9, 1:1, 9:16, 21:9, 4:3, 3:2, 2:3
Nano Banana 21K, 2K, 4K148 / 12 / 18 credits16:9, 1:1, 9:16, 21:9, 4:3, 3:2, 2:3
Nano Banana Pro1K, 2K, 4K818 / 18 / 24 credits16:9, 1:1, 9:16, 21:9, 4:3
Nano BananaSet via image_size34 credits16:9, 1:1, 9:16, 21:9, 4:3

Three features matter most for video work:

  • Up to 14 reference images. A reference image is a picture you pass alongside the prompt so the model can copy a face, product, outfit or setting. For video, this is how you keep the same character across every shot.
  • Vertical and widescreen ratios. 9:16 covers Shorts, Reels and TikTok; 16:9 covers YouTube and most editors; 21:9 gives a cinematic letterbox. Generating the keyframe in the ratio of the final video avoids cropping later.
  • Strong text rendering and edits. Signs, labels and title cards come out legible, and you can edit an existing frame (“same shot, now at night”) instead of regenerating from scratch.
Diagram showing Nano Banana 2 producing a still image that feeds a separate video model
Nano Banana 2 produces the frame; a video model produces the motion.

How the Nano Banana 2 video workflow actually works

A working nano banana 2 video generator pipeline has four stages. Each one is a separate decision, and keeping them separate is what gives you control.

  1. Collect references. Gather a few clean images of your subject: a character sheet, product shots from several angles, a location photo. These go into the ref_images field on every keyframe request.
  2. Generate keyframes. Write one prompt per shot and generate a still for each with Nano Banana 2, using the same references and the same aspect ratio throughout. Review them, regenerate the weak ones, and edit details.
  3. Animate each keyframe. Send each approved still to an image-to-video model with a short motion prompt (“slow push-in, snow drifting, fox lifts its head”). The video model keeps the first frame and invents what happens next.
  4. Edit. Cut the clips together, add sound and titles. AI video clips are short, so a finished piece is usually several clips stitched together.

The big advantage of doing this yourself is that the expensive step (video) only runs on frames you have already approved. Images are cheap and fast to iterate; video generation costs more per attempt and takes longer. Spending your iteration budget on stills first is the single biggest cost saving in AI video.

Unicorn API gives you both halves under one key: the image models listed in this post and the video models in the full model catalog. For the animation step specifically, our walkthrough of Seedance 2.0 image to video covers motion prompts and settings for turning a still into a clip.

Generating consistent keyframes with the API

Every Unicorn API media model uses the same pattern: you POST /v1/jobs with a model id and an input object, get back a job id, then poll GET /v1/jobs/{id} until the status is "succeeded". The image URL is in job.outputs[0].url. Create a key on the API keys page and export it as UNICORN_API_KEY.

A single keyframe with curl

curl -X POST https://api.unicornapi.net/v1/jobs \
  -H "Authorization: Bearer $UNICORN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-2",
    "input": {
      "prompt": "A red fox resting in a snowy forest at dawn, soft light, highly detailed, wide establishing shot",
      "resolution": "2K",
      "aspect_ratio": "16:9"
    }
  }'

# Then poll with the returned id:
curl https://api.unicornapi.net/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $UNICORN_API_KEY"

A full storyboard in Python

This script generates one keyframe per shot, passing the same reference images and aspect ratio to every request so the subject and framing stay consistent. Check the API documentation for the accepted formats of ref_images; the example uses public image URLs.

import os
import time
import requests

API = "https://api.unicornapi.net"
HEADERS = {
    "Authorization": f"Bearer {os.environ['UNICORN_API_KEY']}",
    "Content-Type": "application/json",
}

# Shared settings keep every frame consistent.
REFS = [
    "https://example.com/refs/fox-front.jpg",
    "https://example.com/refs/fox-side.jpg",
    "https://example.com/refs/forest-location.jpg",
]
STYLE = "photorealistic, soft dawn light, cool blue shadows, shallow depth of field"

SHOTS = [
    "Wide establishing shot of a snowy pine forest at dawn, a red fox curled up at the base of a tree",
    "Medium shot: the same red fox lifts its head and looks toward the camera",
    "Close-up of the fox's face, snowflakes on its fur, eyes alert",
    "The fox trotting away through deep snow, leaving tracks, seen from behind",
]


def run_job(model, input_):
    r = requests.post(f"{API}/v1/jobs", headers=HEADERS,
                      json={"model": model, "input": input_})
    r.raise_for_status()
    job = r.json()
    while job["status"] != "succeeded":
        if job["status"] in ("failed", "canceled", "error"):
            raise RuntimeError(f"Job {job['id']} ended with status {job['status']}")
        time.sleep(3)
        r = requests.get(f"{API}/v1/jobs/{job['id']}", headers=HEADERS)
        r.raise_for_status()
        job = r.json()
    return job["outputs"][0]["url"]


keyframes = []
for i, shot in enumerate(SHOTS, start=1):
    url = run_job("nano-banana-2", {
        "prompt": f"{shot}. {STYLE}",
        "ref_images": REFS,
        "resolution": "2K",
        "aspect_ratio": "16:9",
    })
    keyframes.append(url)
    print(f"Shot {i}: {url}")

Four shots at 2K cost 48 credits (4 × 12). Once you are happy with them, each URL in keyframes becomes the input image for your image-to-video step.

Drafting cheaply first

Swap the model id to "nano-banana-2-lite" and drop the resolution field while you are still working out composition. Lite costs 4 credits per image, accepts up to 10 references and supports the same aspect ratios, so your drafts translate directly to the full model. When a prompt is right, rerun it on Nano Banana 2 at 2K or 4K for the final frame.

If you would rather test prompts by hand before scripting, the browser playground runs the same models, and if you work in Cursor or Claude Code you can call the API from your editor through the agents integration.

Four-step pipeline from reference images to keyframes to image-to-video to final edit
A practical keyframe-first pipeline for AI video.

Nano Banana 2 vs Pro (and Lite) for video keyframes

“Nano banana 2 vs pro” is one of the most common follow-up questions, and the names make it confusing: Pro sounds like the upgrade, but Nano Banana 2 is the newer model. Here is how they compare for a nano banana 2 video generator workflow specifically.

NeedBest pickWhy
Fast, cheap draftsNano Banana 2 Lite4 credits per image, same aspect ratios as Nano Banana 2
Consistent character across many shotsNano Banana 2Up to 14 reference images, the most in the family
Vertical 9:16 or 3:2 / 2:3 framesNano Banana 2 or LitePro does not offer 3:2 or 2:3
Title cards and heavy on-screen textNano Banana Pro or Nano Banana 2Both render text well; Pro is built around high-fidelity text
4K mastersNano Banana 218 credits at 4K versus 24 for Pro

For most video work, Nano Banana 2 is the sensible default: it holds more references, costs less at every resolution and covers more aspect ratios. Pro earns its place when a specific frame carries dense typography and you want a second opinion. Since both share the same input fields (prompt, ref_images, resolution, aspect_ratio), switching is a one-line change.

It is also worth knowing the non-Google options in the same API. GPT Image 2.5 Flare accepts up to 16 reference images and adds a 3:4 ratio, at 6, 10 or 16 credits for 1K, 2K or 4K. GPT Image 2.5 Sunburst costs the same and trades speed for tighter control. Grok Imagine 2 leans towards vivid, stylised images at 4 credits each, which can suit animated or illustrated videos. GPT Image 1.5 is the option when you need a transparent background, for example a logo or product you will composite over footage. Mixing models across a single video usually shows, so pick one for the hero shots and stay with it.

What a Nano Banana 2 video generator costs

Unicorn API prices everything in credits. Monthly plans give you credits at $0.01 each (Starter $25, Creator $50, Studio $100, Pro $200 per month), and top-up credits cost $0.015 each and never expire. Details are on the pricing page.

Worked example: a 30-second product teaser

Say you are making a short teaser built from six shots. A realistic keyframe budget looks like this:

StepModel and settingImagesCredits
Composition draftsNano Banana 2 Lite24 (4 per shot)96
Final keyframesNano Banana 2 at 2K672
Fix-ups and editsNano Banana 2 at 2K448
Title cardNano Banana 2 at 4K118
Total images35234

That is $2.34 of image generation on a monthly plan, or $3.51 if you pay with top-ups. The animation step is billed on top, per clip, by whichever video model you choose. Video pricing varies by model, duration and resolution, so rather than estimating, ask the API: POST /v1/models/price returns the exact cost of a request before you run it. Building that check into your script is a cheap way to avoid a surprise when someone sets duration or resolution higher than intended.

Two settings move the image bill the most. The first is n: every price is per output, so "n": 4 at 2K costs 48 credits, not 12. The second is resolution: 4K costs 50% more than 2K on Nano Banana 2. If your video model outputs a lower resolution than your keyframe anyway, a 4K still buys you very little.

Common mistakes when using Nano Banana 2 for video

  • Expecting the image model to animate. No prompt will make Nano Banana 2 return a clip. If a tool claims to be a nano banana 2 video generator, check which video model it uses for motion, because that model decides how the clip moves.
  • Mismatched aspect ratios. Generating a 1:1 keyframe and then asking for a 9:16 video forces the video model to invent or crop half the frame. Set aspect_ratio to the final format from the first draft.
  • Changing references between shots. Consistency comes from sending the same reference set every time. Swapping or dropping references halfway through a storyboard is the usual cause of a character’s face drifting.
  • Describing motion in the image prompt. “The fox leaps across the frame” produces a blurred, awkward still. Describe a single moment in the image prompt and save motion for the video prompt.
  • Overpaying for resolution. Draft at 1K or on Lite, finalise at 2K, and reserve 4K for frames that will be used as stills or cropped heavily.
  • Composing frames that are hard to animate. Very busy scenes, many small faces or tangled hands give the video model lots of chances to fail. Simple, readable compositions with a clear subject animate best.
  • Trusting a bundled site’s price per video. Bundled “credits per video” plans often hide how many attempts it takes to get a usable clip. Iterating on stills first, where each attempt costs a few cents, keeps the number of video attempts low.

Getting started

The fastest path from a search for a nano banana 2 video generator to an actual video is short. Create a key on the keys page, run the Python script above with your own shots and references, review the frames, and send the approved ones to an image-to-video model from the catalog. Because every model sits behind the same key and the same job endpoints, swapping Nano Banana 2 for Lite, Pro or a GPT Image model is a change to one string, and the whole pipeline lands on one bill.

If you are still choosing between image models for the keyframe stage, our comparison of Seedream 4.5 vs Nano Banana Pro walks through how two other strong options handle realism, text and cost.

Frequently asked questions

Can Nano Banana 2 generate video?

No. Nano Banana 2 is Google's Gemini image model. It outputs still images at 1K, 2K or 4K. Sites that sell a Nano Banana 2 video generator pair it with a separate video model: Nano Banana 2 makes the starting frame, and an image-to-video model animates it. You can run the same two-step workflow yourself through one API.

What is Nano Banana 2?

Nano Banana 2 is Google's current Gemini image model, released on February 26, 2026. It generates and edits images with strong realism and legible text, at 1K, 2K or 4K resolution, and accepts up to 14 reference images. On Unicorn API it costs 8 credits per image at 1K, 12 at 2K and 18 at 4K.

What is the difference between Nano Banana 2 and Nano Banana Pro?

Nano Banana Pro focuses on high-fidelity images with accurate text rendering and accepts up to 8 reference images. Nano Banana 2 is the newer model, accepts up to 14 references and costs less: 8 credits at 1K versus 18 for Pro. Pro also supports fewer aspect ratios. For video keyframes, Nano Banana 2 is usually the better default.

How much does it cost to make video keyframes with Nano Banana 2?

Each image costs 8 credits at 1K, 12 at 2K and 18 at 4K. A six-shot storyboard at 2K costs 72 credits, which is $0.72 on a monthly plan or $1.08 with top-up credits. The video model that animates those frames is billed separately, and you can get its exact price before running it.

Is Nano Banana 2 free to use?

Google offers Nano Banana 2 inside its own apps with usage limits, and many third-party sites hand out free trial credits. For production or API use you pay per image. On Unicorn API there is no separate subscription to Google: you pay credits from a monthly plan or from top-ups that never expire.