Built with n8n + Replicate
This workflow takes a prompt (and optional seed), sends it to Bytedance’s seedance-1-lite model, waits for processing, and returns a generated video.
Benefit: Keeps your API credentials secure and reusable.
📡 Create Prediction → Makes a POST request to Replicate with:
prompt
: your text description of the videoseed
: (optional) controls randomness for reproducibilityb6519549e375404f45af5ef2e4b01f651d4014f3b57d3270b430e0523bad9835
Benefit: Kickstarts AI video generation from just a simple text prompt.
📦 Extract Prediction ID → Stores predictionId
, status
, and predictionUrl
for polling.
⏳ Wait → Pauses 2 seconds between checks.
🔁 Check Prediction Status → Calls Replicate to see if the video is ready.
✅ Check If Complete → Branches:
succeeded
→ continue.Benefit: Ensures the workflow patiently monitors progress without timing out.
📦 Process Result → Outputs a clean response containing:
status
video_url
(generated video)metrics
created_at
& completed_at
model: bytedance/seedance-1-lite
Benefit: Gives you structured data and the direct video link, ready to share or store.
Section | Purpose | Key Nodes | Benefit |
---|---|---|---|
⚡ Start & Auth | Initialize & secure API key | Manual Trigger, Set API Key | Keeps credentials safe |
🛠️ Send Request | Start video generation | Create Prediction | Submits prompt to Replicate |
🔍 Track Prediction | Poll status until done | Extract Prediction ID, Wait, Check Status, If | Reliable async handling |
📽️ Process Result | Format output | Process Result | Easy access to final video link |