See llms.txt for all machine-readable content.

Back to Templates

Generate Veo 3.1 AI videos from form prompts with Pollo API

Created by

Created by: Nikki || nikii
Nikki

Last update

Last update 2 days ago

Categories

Share


Quick Overview

This workflow collects a text prompt (and optional reference image URL) via an n8n form, starts a Google Veo 3.1 video generation job through the Pollo API, repeatedly polls for completion, and returns the finished video URL and related metadata.

How it works

  1. Receives a form submission containing a prompt, optional image URL(s), the Pollo model path (for example, google/veo3-1), and a Pollo API key.
  2. Sends a POST request to the Pollo API generation endpoint to create a new video generation task using the prompt and optional image input.
  3. Waits 10 seconds and then calls the Pollo API status endpoint for the returned task ID.
  4. Checks whether the generation status is succeed and, if not, waits and polls the status endpoint again.
  5. When the generation completes, outputs the task ID, status, video URL, media type, and credit usage.

Setup

  1. Create a Pollo API account and obtain an API key.
  2. In the form trigger, set the model_path value to the Pollo route you want to use (for example, google/veo3-1) and decide whether users should provide image_url.
  3. Ensure the workflow’s HTTP requests can reach https://pollo.ai from your n8n environment and then test the form submission to confirm a task ID and final URL are returned.