Skip to main content

Generate videos from images with Wan 2.2 I2V A14B AI model

Workflow preview

Workflow preview
100%
Generate videos from images with Wan 2.2 I2V A14B AI model preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Generate Videos from Images with Wan 2.2 I2V A14B AI Model Overview This workflow connects n8n with Replicate’s Wan Video model to generate video content from an image + prompt . It handles: ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yaron Been.

Original n8n.io source

1.1 Workflow description

Title
Generate videos from images with Wan 2.2 I2V A14B AI model
Workflow name
Generate videos from images with Wan 2.2 I2V A14B AI model

Generate Videos from Images with Wan 2.2 I2V A14B AI Model

🌍 Overview

This workflow connects n8n with Replicate’s Wan-Video model to generate video content from an image + prompt. It handles:

  • 🔑 API authentication
  • 📤 Sending a generation request
  • ⏳ Polling until completion
  • 📥 Returning a downloadable video link

🟢 Section 1: Start & Authentication

🔗 Nodes: 1️⃣ On clicking 'execute' (Manual Trigger) ▶️ Starts the workflow manually when you click Execute Workflow.

2️⃣ Set API Key 🔑 Stores your Replicate API Key securely inside n8n.

  • Value: YOUR_REPLICATE_API_KEY

💡 Beginner Benefit: ✅ No need to hardcode API keys in every request ✅ Easy to swap keys for different accounts


🔵 Section 2: Send Video Generation Request

🔗 Nodes: 3️⃣ Create Prediction (HTTP Request) 📤 Sends a request to Replicate API → /v1/predictions

  • Model: wan-video/wan-2.2-i2v-a14b

  • Input Parameters:

    • 📝 prompt → your text description
    • 🖼️ image → input video/image URL
    • 🎲 seed → reproducibility
    • 🎞️ num_frames → 81 frames
    • sample_shift → 5
    • ⚙️ sample_steps → 30
    • 🎬 frames_per_second → 16

4️⃣ Extract Prediction ID (Code) 🆔 Pulls out the prediction ID + status from Replicate’s response. This ID is needed for polling until the video finishes generating.

💡 Beginner Benefit: ✅ Automates the API call to generate video ✅ Extracts ID → avoids manual copy-paste


🟣 Section 3: Polling & Status Check

🔗 Nodes: 5️⃣ Wait (2 sec) ⏳ Adds a short delay before checking progress.

  • Prevents API spam

6️⃣ Check Prediction Status (HTTP Request) 🔄 Calls Replicate API → /v1/predictions/{id}

  • Checks whether the video is still processing or finished

7️⃣ Check If Complete (IF Node) ❓ Compares status → succeeded or not

  • ✅ If complete → goes to Process Result
  • ❌ If not → loops back to Wait and tries again

💡 Beginner Benefit: ✅ Automatic re-checking → you don’t need to refresh manually ✅ Works until result is ready


🟡 Section 4: Process Final Result

🔗 Nodes: 8️⃣ Process Result (Code) 📥 Once complete, extracts:

  • ✅ Status
  • 🎞️ Output video URL
  • 📊 Generation metrics
  • ⏱️ Timestamps (created_at, completed_at)
  • 🧩 Model used

Final output = direct video URL you can download/share 🎥


📊 Final Overview

Section What Happens Why It’s Useful
🟢 Auth Manual Trigger + API Key Secure, easy start
🔵 Send Create Prediction + Extract ID Kicks off video generation
🟣 Poll Wait + Check Status + IF Auto-checks progress until done
🟡 Result Process Result Gives final video link + metadata

🚀 Why This Workflow Rocks

  • 🎥 Video from Image + Prompt → AI-powered video generation in minutes
  • 🔄 Fully automated → from request to final video, no manual checks
  • 🔑 Secure → API keys handled safely
  • ⚙️ Customizable → tweak frames, FPS, prompt, seed

✨ With this workflow, you’ve got a personal AI video generator inside n8n — all you need to do is provide a prompt + input image/video, and you’ll get a fresh AI video link back.


1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On clicking 'execute'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Set API Key

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 3 - Create Prediction

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Extract Prediction ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

Block 6 - Check Prediction Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Check If Complete

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 8 - Process Result

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate videos from images with Wan 2.2 I2V A14B AI model
Complexity intermediate
Nodes 14
Categories Content Creation, Multimodal AI
Author Yaron Been
Published 04 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6966/6966.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate videos from images with Wan 2.2 I2V A14B AI model do?

Generate Videos from Images with Wan 2.2 I2V A14B AI Model Overview This workflow connects n8n with Replicate’s Wan Video model to generate video content from an image + prompt . It handles: ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.