Vertex AIVideo to videoAvailable now
gemini-omni-1.1-flash-preview
gemini-omni-1.1-flash-preview is a video to video tool from Vertex AI that runs in the background and returns video. Pay as you go from $0.00000195 per token, with one API key.
Try itfrom $0.00000195 / token
Pricing
About $4.180914 per run for a 10-second video, the maximum. $22.75 per 1M video output tokens, $11.70 per 1M text output tokens, $1.95 per 1M input tokens. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 3600s
- Largest inline input
- 1024 KB
- Largest input file
- 200 MB
- Largest output
- 4768 MB
- Outputs per run
- 4
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": {}
}
}'