Skip to main content
POST
Submit Gemini Omni 1.2 Flash Video Edit Task
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Gemini Omni 1.2 Flash Video Edit changes an existing clip of up to 15 seconds from a text instruction, such as new lighting, weather, style or objects, while the source motion and framing carry through. Output resolution ranges from 360p to 4k. Gemini Omni 1.2 Flash is part of Google’s Gemini Omni video lineup. Vidgo exposes it as four model IDs: Text to Video, Image to Video, Reference to Video and Video Edit.

Models

  • google/gemini-omni-1.2-flash/video-edit — Video editing with Gemini Omni 1.2 Flash, source video up to 15 seconds, 360p to 4K.

Features

  • Three fields: prompt, video_url and resolution.
  • Output length and framing follow the source video.
  • Four resolutions: 360p, 720p, 1080p, 4k.

Required parameters

  • prompt (string): Editing instructions, 1–20,000 characters after trimming.
  • video_url (string): Public HTTP(S) URL of the source video, up to 15 seconds and 100 MB.

Optional parameters

  • resolution (string): 360p, 720p, 1080p or 4k. Default 720p.

Duration

The edited video has the same length as the source video.

Output

The finished task returns one MP4 video in the files array of Query Task Status and the callback payload.

Examples

  • Relight: turn a bright midday cove into a rose-gold sunset while the sea otter keeps its motion and framing, 720p (result).

Notes

  • The source video is downloaded and measured at submission; it runs up to 15 seconds and must contain a video track.
  • This model ID accepts prompt, video_url and resolution in input; other fields return 400. Put model and callback_url at the request root.
  • Credits are reserved at submission and equal the source video length (rounded up to whole seconds) times the per-second rate of the chosen resolution. A failed task is refunded in full. See the pricing page for current rates.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"google/gemini-omni-1.2-flash/video-edit"

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required