Hi, I’m trying out the Veo 2 API to generate videos, but I’m having trouble specifying the number of videos I want. By default, it seems to generate 2, but I only want to generate 1. I’m passing the numberOfVideos parameter in the JSON, but it doesn’t seem to be recognizing it.
I’ve attached the JSON I’m using. Could someone help me determine what’s going wrong or if I’m using the parameter incorrectly?
Thanks!
{
"instances": [
{
"prompt": "A cinematic video of an artist painting a canvas in a cozy studio. The camera slowly moves around the painter as they mix colors on a palette and apply brush strokes with focus and emotion. Natural light comes through a large window, casting soft shadows. The atmosphere is calm and inspiring, with subtle background music."
}
],
"parameters": {
"aspectRatio": "9:16",
"personGeneration": "allow_adult",
"durationSeconds": 5,
"numberOfVideos": 1
}
}