API docs / Video models

Gemini Omni 1.2 Flash (Image to video) API

Animate one still into a coherent shot, with an optional end frame and synchronized audio.

Model id
google/gemini-omni-flash/v1.2/image-to-video
Provider
Google
Output
Video
Price
From 77 credits per run, the same as on voor.ai. Options such as length or resolution can change it.

Request

POST https://voor.ai/v1/generations with "model": "google/gemini-omni-flash/v1.2/image-to-video". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.

curl https://voor.ai/v1/generations \
  -H "Authorization: Bearer $VOOR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "google/gemini-omni-flash/v1.2/image-to-video",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light",
    "first_frame": [
      "https://example.com/input.png"
    ]
  },
  "callback_url": "https://example.com/webhooks/voor"
}'

# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $VOOR_API_KEY"

Input parameters

NameTypeDetails
promptrequiredstring

The text prompt describing how the first image should be animated or interpolated into the optional end image.

Up to 20000 characters

first_framerequiredarray of URLs

URL of the first frame to animate.

Up to 1 files · Accepts image/*

last_framearray of URLs

Optional URL of the end frame. When provided, the model interpolates between the two images in their listed order and the duration is capped at 10 seconds.

Up to 1 files · Accepts image/*

aspect_ratiostring

The aspect ratio of the generated video.

Default: 16:9

One of: 16:9, 9:16

resolutionstring

The resolution of the generated video.

Default: 360p

One of: 360p, 720p, 1080p, 4k

duration_secondsnumber

The duration of the generated video, in seconds. At most 10 seconds when an end image is provided.

Default: 8

Min 3 · Max 15