Gemini Omni 1.1 Flash · Video Editing
gemini-omni-1.1-flash-previewGenerate and edit video with Gemini Omni 1.1 Flash · Video Editing from Vertex AI through one Spiral API key. Edits a short source video of 3 to 10 seconds from a written instruction, returning a new video with the requested changes. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
Edits keep the source's length and resolution: $0.132 per second at 720p ($0.0439 at 360p, $0.198 at 1080p, $0.395 at 4K), plus $0.0113 per second of source video. Text: $1.95 per 1M tokens. Reasoning: $11.70 per 1M tokens.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 1 hour
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 200 MB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
input required | JSON | — | One user turn: the source video, then the edit instruction. |
response_format | JSON | — | Configuration for the video output. The edited video is returned inline. |
generation_config | JSON | — | Configuration parameters for the model interaction. |
system_instruction | text | — | System instruction for the interaction. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "vertex",
"model": "gemini-omni-1.1-flash-preview",
"input": {
"input": [
{
"type": "user_input",
"content": [
{
"uri": "<uri>",
"type": "video"
},
{
"text": "<text>",
"type": "text"
}
]
}
]
}
}'Frequently asked questions
How much does Gemini Omni 1.1 Flash · Video Editing cost?
Edits keep the source's length and resolution: $0.132 per second at 720p ($0.0439 at 360p, $0.198 at 1080p, $0.395 at 4K), plus $0.0113 per second of source video. Text: $1.95 per 1M tokens. Reasoning: $11.70 per 1M tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Gemini Omni 1.1 Flash · Video Editing through an API?
Send `POST /v1/runs` with `"provider": "vertex"`, `"model": "gemini-omni-1.1-flash-preview"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Vertex AI to use Gemini Omni 1.1 Flash · Video Editing?
No. Spiral runs it on its own Vertex AI account and charges your Spiral balance.
Can my AI agent use Gemini Omni 1.1 Flash · Video Editing?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.