π¬ Generate AI videos from text or images with Veo 3 API and VietVid.com
β‘ 1,694 views Β· π¬ Content Creation & Video
Description
Veo 3 Video Generator via VietVid.com API (n8n)
Overview
This workflow leverages the VietVid.com Veo3 model to generate AI videos from simple text descriptions or optional images.
Users interact via a form interface, inputting a prompt (e.g., a scene description), choosing aspect ratio and model, then the system automatically submits the request to the VietVid API, monitors the generation status in real time, and retrieves the final video output.
Itβs ideal for content creators, marketers, and developers exploring text-to-video AI creation, supporting intelligent video generation with minimal setup.
Prerequisites
- A VietVid.com account and API key: Register at VietVid.com to obtain your free or paid API key.
- An active n8n instance (cloud or self-hosted) with HTTP Request, Wait, and form submission capabilities.
- Basic knowledge of AI prompts for video generation to achieve optimal results.
Setup Instructions
1. Obtain API Key
- Register at VietVid.com and generate your API key.
- Store it securelyβdo not share publicly.
2. Configure the Form
- In the Form Trigger node, ensure the following fields are available:
text_promptβ video description (e.g., βA serene mountain landscape at sunset with birds flyingβ)ImageURL [optional]β optional image input for image-to-videoapi_Tokenβ your VietVid API keyaspect_Ratio [16:9,9:16]β dropdown to select ratiomodelβ choose betweenveo3andveo3_fast
3. Test the Workflow
- Click Execute Workflow in n8n.
- Access the generated form URL.
- Submit your prompt, API key, and options.
- The workflow will poll the VietVid API every 10 seconds until the video is ready.
4. Handle Outputs
- The final Set node formats and displays the video links:
720p_linkβ always available when ready.1080p_linkβ available only for 16:9 aspect ratio.
Customization Tips
- Enhance prompts: Add details like style (realistic, cinematic, animated), duration, actions, and camera/lighting for better results.
- Stability: Fix the
seedsvalue (e.g.,50000) for more consistent characters. - Webhook Response: Add a Webhook Response node to return a clean JSON payload for frontend integrations.
- Adjust polling delay: Modify Wait node (8β15s) if needed to balance speed vs. API calls.
π Nodes Used
HTTP Request, n8n Form Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File