VEO Studio by NCPVEO Studio by NCP
← All guidesGuides

Veo 3 API in n8n: a bulk video workflow, step by step

Updated · By Sajid Ali, founder of Veo Studio

Veo 3 API in n8n: a bulk video workflow, step by step
Short answer

In n8n the Veo 3 API takes five nodes: an HTTP Request that asks for the video, a Wait of 5 seconds, a second HTTP Request that asks for its status, an IF node that loops back until the video is done, and a node that saves the MP4. For bulk work, send the prompts through Loop Over Items in batches of 4, which is how many videos a plan runs at the same time.

What you need before you start

The five nodes

  1. HTTP Request: method POST, URL https://api.veostudio.net/v1/videos, header Authorization = Bearer YOUR_API_KEY, and a JSON body with model, prompt and aspect_ratio.
  2. Wait: 5 seconds.
  3. HTTP Request: method GET, URL https://api.veostudio.net/v1/videos/{{ $json.video.id }}, same header as before.
  4. IF on {{ $json.video.done }}: false goes back to the Wait node, true carries on.
  5. A second IF on {{ $json.video.success }}: on true you use {{ $json.video.download_url }}, on false you read {{ $json.video.error }}.
What goes in the body of the first HTTP Request node
{
  "model": "veo-3.1-lite",
  "prompt": "{{ $json.prompt }}",
  "aspect_ratio": "9:16"
}

From one video to a whole sheet

  1. Read the rows with a Google Sheets node, one prompt per row.
  2. Add Loop Over Items with a batch size of 4. Every plan runs 4 generations at the same time, so a batch of 4 never asks for more than you're allowed.
  3. Inside the loop, run the five nodes above.
  4. After the second IF, download the file with an HTTP Request node (response format: file) and send it to Google Drive, S3 or your own disk.
  5. Write the result link or the error back to the row. That way a second run can skip the rows that are already done.

Save the file in the same run. We keep the download link and the file for a limited time, and the reply tells you until when in expires_at.

Three mistakes that waste videos

The same thing in Make

Make uses the same two calls. Use an HTTP: Make a request module for the POST, then a Sleep module, then a second HTTP module for the GET. To check again, add a Repeater or a router with a filter on video.done. And set the scenario to process a few bundles at a time, not the whole sheet.

Images and consistent characters

Images work the same way: POST to /images with a Nano Banana model, then ask for /images/{id}. Want one character to look the same across many clips? Upload a reference image once with /uploads, then pass its id in images and a name in image_names (this is the ingredients mode). The fields are listed in the API documentation.

Questions

Is there an n8n node for Veo 3?

You don't need a special one. The standard HTTP Request node does the job, because the API is plain HTTPS and JSON.

How many videos can one workflow make in a day?

With 4 generations at the same time and one to three minutes per video, that's about 80 to 240 videos an hour. The monthly count depends on your plan: 2,000, 4,000 or unlimited.

Why does my workflow make every video twice?

Because two branches feed the same node, and it runs once for each. Put the steps in one chain, or merge the branches before the node that asks for the video.

Can I use a webhook instead of asking again and again?

The API is built around asking for the video by its id. In n8n a Wait node and an IF node do that with no code.

Veo 3 API

A Veo 3.1 API key at one fixed monthly price. 2,000 videos and 2,000 images for USD 35 a month, or unlimited videos and images for USD 100. No per-second billing.

More guides