Use this comprehensive n8n workflow to automate high-quality image-to-video generation using the Wan 2.5 model on Replicate. Features smart polling logic and robust error handling.
Download this n8n workflow template and start using it instantly.
Generating high-fidelity videos using AI models like Wan 2.5 is often an asynchronous process, requiring status checks (polling) until the output is ready. This efficient n8n workflow solves this complexity entirely. It manages the entire process: taking a seed image and detailed prompt, initiating the video creation via the Replicate API, and implementing a robust checking loop. By using this n8n template, you eliminate the need to manually monitor API calls. The workflow handles success, failure, and the necessary waiting periods, returning a clean JSON object containing the final video URL or detailed error messages. This is an essential n8n workflow for scaling AI-driven media creation.
This powerful n8n workflow begins when the 'Manual Trigger' n8n trigger is activated.
wan-video/wan-2.5-i2v model endpoint. This initial request starts the video generation and returns a unique prediction ID.To use this video generation n8n workflow, follow these setup steps:
YOURREPLICATEAPI value with your actual Replicate API token.Seed_image value with the publicly accessible URL of the image you wish to animate.Prompt value with detailed instructions for the video's motion and action (avoiding double quotes to prevent JSON parsing issues). Manual Trigger (n8n trigger): Starts the execution of this specific n8n workflow, ideal for testing and single-run generations.
Set API Token (n8n node): Essential configuration node for storing the Replicate API key, used dynamically by subsequent HTTP Request nodes.
Add Seed Image and Prompt (n8n node): A Set node used to define the core inputs (Seed_image URL and detailed Prompt) that drive the AI video generation.
Create Video (HTTP Request n8n node): Sends the initial generation request to wan-video/wan-2.5-i2v. Key configuration includes setting the Authorization header using the API token and specifying the input image and prompt in the JSON body.
Check Status (HTTP Request n8n node): Polls the Replicate API using prediction ID interpolation: https://api.replicate.com/v1/predictions/{{ $('Create Video').item.json.id }}. It is crucial for retrieving the video output status.
Is Complete? (IF n8n node): Core flow control logic. Checks if $json.status equals 'succeeded' to determine if the video is ready.
Has Failed? (IF n8n node): Checks if $json.status equals 'failed', directing the n8n workflow to error handling if the generation failed.
Wait 90s (n8n node): Implements the necessary delay in the polling loop when the video is still processing, preventing excessive API calls.
$json.output field.Automate lead enrichment using GPT-4o-mini and HubSpot. This n8n workflow filters business emails, scores leads 1-10 using AI, and updates your CRM automatically. Get this n8n template now.

Use this powerful n8n workflow to capture Typeform leads, validate emails, qualify contacts based on a score threshold, sync data instantly with Vero, and automate follow-up communication via Gmail and Slack. Find more n8n templates here.

Automate Typeform quiz submissions directly into KlickTipp. This powerful n8n workflow cleans data, maps custom fields, and dynamically creates or applies tags using a complex n8n node structure.

Use this n8n workflow to automatically fetch US stock earnings data via Finnhub, summarize it using Google Gemini, and deliver scheduled reports to Telegram. Find more advanced n8n templates here.

An essential n8n workflow for marketing operations. Automatically generate UTM links, create QR codes, save data to Airtable, and schedule AI-driven executive reports from Google Analytics using an n8n node.

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos







































