4Z API

Video generation veo_3_1

Endpoint: POST https://4zapi.com/v1/video/generations

VEO unified video · Veo 3.1 generation (POST /v1/video/generations); poll with GET /v1/video/query after submit.

Parameters

  • Content-Type (header, string): Request body Content-Type, usually application/json
  • Authorization (header, string): Bearer API Key

Request body (application/json)

  • model (string, required): Model name. Enum: veo_3_1 veo_3_1-fast veo-3.0-generate-001 veo-3.0-fast-generate-001 ["veo_3_1", "veo_3_1-fast", "veo-3.0-generate-001", "veo-3.0-fast-generate-001"]
  • prompt (string, required): Video content description (required)
  • image: Reference image for image-to-video (optional; URL or base64)
  • metadata (object): Veo generation parameters (passed through to upstream parameters)

Request example

{
  "metadata": {
    "aspectRatio": "16:9",
    "durationSeconds": 6
  },
  "model": "veo_3_1-fast",
  "prompt": "A close up of two people staring at a cryptic drawing on a wall"
}