Veo 3.1 extend video validation error - Files API

Hey,

I’m trying to implement VEO 3.1 extend video capability for my project. Here’s the step by step workflow:

  • A process is responsible of generating videos. After it generates a video using VEO 3.1, it saves it to GCS.
  • When using extend video capability, another process downloads the generated file from GCS and uploads it using files API for model to use. When I use the uri of the uploaded file as video parameter for extend video API, I’m getting an error response:

VideoGenExtend Error: {“error”:{“code”:400,“message”:“Input video must be a video that was generated by VEO that has been processed.”,“status”:“INVALID_ARGUMENT”}}

Can you confirm if the error is related to using a different uri (from files api) that is not from video generation result ? If so, it doesn’t make sense because the generated videos have 2 days retention period.

Hi @Okan , Welcome to forum!!!

Thanks for reaching out to us. Could you please confirm whether you’re passing the original VEO-generated video reference into the extend video API, or a URI from a video that was downloaded and re-uploaded?

Thanks.