Generate video using Gemini API with Veo2 model

I was trying to generate video using Veo2 in Gemini API following the example in https://ai.google.dev/gemini-api/docs/video#generate-from-text

The output I got in the colab is something like this , which shows an empty video_bytes and mime_type and an error uri https://generativelanguage.googleapis.com/download/v1beta/files/v816uahzbnr0:download?alt=media

what is wrong with this code?

Hi @Ji_Xu , Welcome to the forum.

Could you please confirm if your API is a paid one?