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

Path Parameters

string
required
Original video task IDThis is the task_id returned from the video generation API. The original video task status must be success

Authorization

string
required
All API endpoints require Bearer Token authenticationGet your API Key:Visit the API Key Management Page to get your API KeyAdd to the request header:

Request Parameters

string
required
Video model name, must match the model used for the original videoSupported models:
  • veo3.1-fast - Fast version (compatible alias veo3.1-fast-ext)
  • veo3.1-quality - High quality version (compatible alias veo3.1-quality-ext)
Example: "veo3.1-fast"
For backward compatibility, the aliases veo3.1-fast-ext (for veo3.1-fast) and veo3.1-quality-ext (for veo3.1-quality) remain usable.
boolean
default:"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)
string
required
Continuation prompt describing the content for the extended portion
boolean
Whether to return only the extended portion of the video
  • true - Only returns the extended video
Default: false
string
Aspect ratio for the extended videoSupported values:
  • 16:9
  • 9:16
string
Video resolutionSupported values:
  • 720p (default)
  • 1080p
  • 4k

Important Notes

Model must match: The model used for extension must be the same as the one used to generate the original video. Videos generated with veo3.1-fast must also use veo3.1-fast for extension.
Only completed videos supported: The original video task status must be success.
task_id in URL: This is the task_id returned from the first step of video generation (not the upstream ID).

Response

integer
Response status code
object[]
Response data array