google/gemini-omni-flash/edit
Gemini Omni Flash Edit by Google - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/rungoogle/gemini-omni-flash/editInput Schema
2 parameters · 1 required · 1 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | A simple instruction describing the edit. Simple prompts work best; add "Keep everything else the same." to preserve the rest of the scene. Voice editing is not supported. · Max length: 20000 |
video | string | Optional | URL of the video to edit. Note: editing uploaded videos is not available for users in the European Economic Area (EEA), Switzerland, and the United Kingdom. |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/gemini-omni-flash/edit",
"video": "https://static.sandbase.ai/examples/google/gemini-omni-flash/edit/input_video_0.mp4",
"prompt": "Make this video anime. Keep everything else the same."
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Gemini Omni Flash Edit
google/gemini-omni-flash/edit transforms existing footage through conversational natural-language instructions, changing visual content or applying effects while retaining useful structure from the source. Gemini Omni Flash combines multimodal understanding with video generation, supporting coherent scenes, real-world physical behavior, character continuity, and synchronized audio in one creative process. This combination makes the model a practical choice when the creative outcome depends on those qualities rather than on a generic media conversion.
For production work, the video editing workflow is intended for rapid conversational iteration, allowing the creative brief to refine action, composition, sound, and narrative intent instead of rebuilding the asset through separate tools. The result is most reliable when the source material and creative brief clearly describe the intended subject, progression, visual or sonic character, and the qualities that must remain unchanged.
Highlights
Instruction-led video revision. Applies a written change to supplied video material, letting teams refine an existing sequence instead of regenerating the concept from scratch.
Source-motion continuity. Retains the useful timing and movement of the input while incorporating the requested visual transformation.
Targeted creative restyling. Supports changes to scene appearance, subject treatment, mood, or visual language while the original clip remains the structural reference.
Iteration on selected footage. Fits review workflows where a promising take already exists and the next step is a controlled alternative rather than a new shot.
Pricing
| Source video length | Price |
|---|---|
| Per second | $0.130 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
Prompt Guide
For generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"prompt": "Make this video anime. Keep everything else the same.",
"video": "https://static.sandbase.ai/examples/google/gemini-omni-flash/edit/input_video_0.mp4"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | google/gemini-omni-flash/edit |
| Inputs | prompt, video |
| Required inputs | prompt |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |

