๐ฌ Validate and submit text-to-video batches with a video provider HTTP API
โก 5 views ยท ๐ฌ Content Creation & Video
Description
Quick overview
This workflow runs manually to validate 1โ5 text-to-video briefs, optionally submits them to a video-generation provider API with idempotency keys, and outputs a review-ready manifest with job status and result URLs.
How it works
- Starts when you manually run the workflow to process a configured batch of video briefs.
- Validates each brief (job ID format/uniqueness, prompt length, allowed duration, aspect ratio, and seed) and stops if any input is invalid.
- Expands the batch into per-brief requests that include a deterministic Idempotency-Key and the provider API base URL.
- If running in demo mode, generates offline fixture results with example video URLs and marks each job as completed.
- If running in live mode, sends one POST request per brief to the provider API using HTTP Header Auth and captures the full HTTP response.
- Classifies each live response (accepted, rejected, provider error, or ambiguous) and compiles a review manifest with job metadata, provider job IDs, and any result URLs.
Setup
- Decide whether to run in demo mode (no credentials, no network calls) or live mode (real provider requests).
- For live mode, set
providerBaseUrlto your HTTPS video-generation endpoint and setallowPaidProcessing=trueafter reviewing provider pricing. - Create an n8n HTTP Header Auth credential with your provider API key/token and select it on the HTTP Request step.
- Update the configured
briefsarray to include 1โ5 jobs with supporteddurationSeconds(5/6/8/10) andaspectRatio(16:9/9:16/1:1).
Requirements
- An authorized video-generation API and an n8n HTTP Header Auth credential are required only for live mode.
Customization
- Adapt the generic request and response fields to the provider contract; adjust supported durations, aspect ratios, and the batch limit after validating provider rules.
Additional info
Created by Shisan Hua, who works on Dola AI Video: https://www.dolai.video/. This workflow uses a generic authorized provider contract and does not claim that Dola AI Video exposes a public API. Demo mode is offline and makes no paid requests.
๐ Nodes Used
HTTP Request
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File