Skip to content
Esta página aún no está disponible en tu idioma, así que se muestra en inglés.

VEO3 Video Generation

Asynchronous processing mode, returns task ID for subsequent queries

Toda la documentación
POST/v1/videos/generations
  • Supports multiple generation modes including text-to-video and image-to-video
  • Supports 4K resolution output
  • Generated video links are valid for 24 hours, please save them promptly

Note

Model name compatibility note: This endpoint also accepts the aliases veo3.1-fast-ext (equivalent to veo3.1-fast), veo3.1-quality-ext (equivalent to veo3.1-quality), and veo3.1-lite-ext (equivalent to veo3.1-lite). Each alias is interchangeable with its model and produces identical results.

Ejemplos de solicitudes

# model can be "veo3.1-fast", or the compatible alias "veo3.1-fast-ext"
curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "veo3.1-fast",
    "prompt": "Dolphins leaping in the azure ocean",
    "duration": 8,
    "aspect_ratio": "16:9",
    "image_urls": ["https://cdn.example.com/doc/9998238783208208-9972597b-255d-4e7e-9649-e6ee38a837aa-image_task_01K88B53MTK41PP5KGDTG2PA5P_0.png"]
  }'

Authorization

Authorizationstringrequired

All API endpoints require Bearer Token authentication

Get your API Key:

Visit the API Key Management Page to get your API Key

Add to the request header:

text
Authorization: Bearer YOUR_API_KEY

Request Parameters

modelstringrequireddefault: veo3.1-fast

Video generation model name

Available models:

  • veo3.1-fast - Fast generation model, suitable for quick previews and iterations (compatible alias veo3.1-fast-ext)
  • veo3.1-quality - High quality generation model, suitable for final production (compatible alias veo3.1-quality-ext)
  • veo3.1-lite - Lightweight generation model, suitable for low-cost batch generation (compatible alias veo3.1-lite-ext)

Example: "veo3.1-fast"

Note

For backward compatibility, the aliases veo3.1-fast-ext (for veo3.1-fast), veo3.1-quality-ext (for veo3.1-quality) and veo3.1-lite-ext (for veo3.1-lite) remain usable.

nsfw_checkbooleandefault: false

Whether to run content moderation before submitting the video task.

  • true: use omni-moderation-latest to review prompts and input images
  • false or omitted: do not send a moderation request, adding no moderation cost or latency (default)
promptstringrequired

Text description for video generation

durationinteger

Video duration in seconds

Fixed value: 8 (VEO3 only supports 8 seconds duration)

aspect_ratiostring

Video aspect ratio

Supported formats:

  • 16:9 (Landscape)
  • 9:16 (Portrait)
generation_typestring

Video generation type

Supported types:

  • frame - Frame-to-video (FL mode)
  • reference - Reference image-to-video

If not specified, defaults based on image count: 2 images for frame-to-video, 3 images for reference image-to-video

Note: veo3.1-quality model does not support reference mode

Warning

veo3.1-lite model does not support this parameter, do not pass it

image_urlsarray\

Array of reference image URLs for image-to-video generation

Supports publicly accessible image URLs (http:// or https://)

Example: ["https://example.com/image.jpg"]

Limitations:

  • Maximum 3 images
  • For frame-to-video mode: first image is the start frame, second image is the end frame
  • Maximum file size: 10MB
  • Supported formats: .jpeg, .jpg, .png, .webp

Warning

veo3.1-lite model does not support this parameter, do not pass it

resolutionstring

Video resolution

Supported values:

  • 720p (Default)
  • 1080p
  • 4k
enable_gifboolean

Enable GIF output format. Default: false

Note: GIF and 1080p/4k resolution cannot be used simultaneously

official_fallbackbooleandefault: false

Whether to use official channel as fallback

  • false: Do not use (default)
  • true: Use official channel

Warning

veo3.1-lite model does not support this parameter, do not pass it

Response

codeinteger

Response status code

dataarray

Response data array

Properties

statusstring

Task status

  • submitted - Submitted
task_idstring

Unique task identifier

Respuestas

{
  "code": 200,
  "data": [
    {
      "status": "submitted",
      "task_id": "task_01K8SGYNNNVBQTXNR4MM964S7K"
    }
  ]
}

¿Has encontrado un problema en esta documentación? Escribe a support@apisea.ai.