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

FieldKindDefaultDescription
input requiredJSON—One user turn: the source video, then the edit instruction.
response_formatJSON—Configuration for the video output. The edited video is returned inline.
generation_configJSON—Configuration parameters for the model interaction.
system_instructiontext—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": {}
    }
  }'