Quick overview
This workflow collects a video prompt (and optional reference image URL) via an n8n form, sends a generation request to the Pollo API for Google Veo 3.1, polls the task status until it succeeds, and returns the finished video URL and related metadata.
How it works
- Receives a form submission containing a prompt, optional image_url, model_path, and Pollo API key from https://api.pollo.ai/api-keys.
- Sends a POST request to the Pollo API generation endpoint for the selected model (for example, google/veo3-1) with the prompt and optional reference image.
- Waits 10 seconds and then queries the Pollo API task status endpoint using the returned taskId.
- Repeats the wait-and-check loop until the generation status is reported as succeed.
- Outputs a simplified result containing the task ID, status, generated video URL, media type, and credit usage.
Setup
- Create a Pollo API account and provide a valid API key (x-api-key) in the form submission.
- Configure the form fields (prompt, image_url, model_path, api_key) and set model_path to the Pollo model route you want to use (for example, google/veo3-1).
- If using image_url, ensure the referenced image URL is publicly accessible so Pollo can fetch it during generation.