Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Generate VEO 3.1 videos through PoYo’s official model family. The generation models support text-to-video, image-to-video, first/last-frame video, and generation_type driven three-image generation depending on the selected model.

Models

  • veo3.1-fast-official - Fast official generation with 4, 6, or 8 second duration options
  • veo3.1-lite-official - Lightweight official generation
  • veo3.1-quality-official - Higher-quality official generation with 4K support

Input modes

Generation Models

  • No image_urls: text-to-video
  • One image: image-to-video
  • Two images: first/last-frame video; veo3.1-lite-official supports this mode at 8 seconds only
  • Three images: generation_type: "reference", fixed at 8 seconds
  • veo3.1-lite-official supports at most two images and does not support generation_type: "reference"

Required parameters

  • prompt: required text prompt

Optional parameters

  • image_urls: optional image URL array for generation models
  • generation_type: optional frame or reference; if omitted, PoYo infers the mode from image_urls; two images on veo3.1-lite-official still require duration: 8
  • duration: generation models support 4, 6, or 8; generation_type: "reference" with three image_urls supports 8 only; veo3.1-lite-official with two image_urls supports 8 only; veo3.1-lite-official with resolution: "1080p" supports 8 only
  • aspect_ratio: 16:9 or 9:16; auto is also supported for image-to-video and first/last-frame generation
  • resolution: 720p, 1080p, or 4k where supported; veo3.1-lite-official does not support 4k
  • sound: true by default; set false for silent output

Authorizations

Authorization
string
header
required

All API endpoints require Bearer Token authentication.

Create an API key: sign in to PoYo, open Dashboard → API Key at poyo.ai/dashboard/api-key, and click to create a key.

Add it to the request header:

Body

application/json
model
enum<string>
required

VEO 3.1 official model identifier

Available options:
veo3.1-fast-official,
veo3.1-lite-official,
veo3.1-quality-official
input
object
required

Input parameters for generation

callback_url
string<uri>

Webhook callback URL for result notifications

Example:

"https://your-domain.com/callback"

Response

Task submitted successfully

code
enum<integer>
required

Business status code. 200 means success; any other value means the request failed. Always check this field: some validation errors return HTTP 200 with code: 400 in the body.

  • 200: Success
  • 400: Invalid request parameters
  • 401: Missing or invalid API key
  • 402: Insufficient credits
  • 403: Permission denied
  • 404: Resource not found
  • 408: Request timeout
  • 429: Rate limit exceeded
  • 500: Internal server error
  • 502: Upstream service error
  • 503: Service unavailable

See Error Codes for details.

Available options:
200,
400,
401,
402,
403,
404,
408,
429,
500,
502,
503
Example:

200

data
object
required