Built with n8n + Replicate
This workflow takes an image + audio, sends them to Bytedance’s omni-human model, waits for processing, and returns a generated video.
Benefit: Secures your API credentials in one place for easy re-use.
📡 Create Prediction → Makes a POST request to Replicate with:
image
: input image URLaudio
: input audio URL7ec44f5140c7338b3496cbf99ee8ea391a4bc18ff5d1677a146dfc936a91f65b
Benefit: Combines visual and audio inputs to start AI-powered video generation.
📦 Extract Prediction ID → Saves predictionId
, status
, and predictionUrl
for polling.
⏳ Wait → Pauses 2 seconds between status checks (to avoid spamming the API).
🔁 Check Prediction Status → Queries Replicate using the stored prediction URL.
✅ Check If Complete → Branches:
succeeded
→ move forward.Benefit: Ensures workflow patiently waits for the video instead of timing out.
📦 Process Result → Cleans the API response, returning:
status
video_url
(generated video)metrics
created_at
& completed_at
model: bytedance/omni-human
Benefit: Gives you a neat, structured output with the generated video link ready to use.
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 image+audio 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 |