Veo 3.1 Fast API

Veo 3.1 Fast: Google video with native audio, lower latency

google/veo-3.1-fast
GoogleVideo clips

About this model

Veo 3.1 Fast is the lower-latency variant of Google’s Veo 3.1 video model. Google documents Veo 3.1 as producing 8-second videos at 720p, 1080p or 4K with natively generated audio, from text prompts or images.

Fast is meant for iteration and quicker turnaround; the standard Veo 3.1 is the choice when you want the highest quality from the family.

Clips are short, so plan longer videos as several generations.

Use cases

  • Quick video drafts
  • Short clips with synced sound
  • Image-to-video animation

Input and output

Input
Text prompt, optional image
Output
Video with audio
Developer
Google
Type
Video clips

Veo 3.1 Fast request example

Use https://gatelum.com/v1 as the base URL and pass google/veo-3.1-fast in the model field. You create the key in your account after signing up.

# Requires jq.
(
set -e

job=$(
curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/videos' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "google/veo-3.1-fast",
  "prompt": "Waves slowly rolling onto a sandy beach, aerial view",
  "seconds": 5
}
JSON
)
job_id=$(printf '%s\n' "$job" | jq -er '.id')

while :; do
  case "$(printf '%s\n' "$job" | jq -er '.status')" in
    processing) sleep 5 ;;
    succeeded) printf '%s\n' "$job" | jq -r '.url'; break ;;
    *) printf '%s\n' "$job" >&2; exit 1 ;;
  esac
  job=$(curl --silent --show-error --fail-with-body \
    --header 'Authorization: Bearer glt_YOUR_KEY' \
    'https://gatelum.com/v1/videos/'"$job_id")
done
)