8
n8n 한국어amn8n.com

Fal.ai Wan 2.2와 AWS S3를 통해 얼굴 교체로 심층 가공 비디오 생성

고급

이것은자동화 워크플로우로, 16개의 노드를 포함합니다.주로 If, Set, Wait, AwsS3, Merge 등의 노드를 사용하며. Fal.ai Wan 2.2와 AWS S3를 사용하여 얼굴 교체로 심층 가공 비디오를 생성하세요

사전 요구사항
  • AWS Access Key와 Secret
  • 대상 API의 인증 정보가 필요할 수 있음

카테고리

-
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "95b5cfe1f2ffa7210a71181a6323e6e62761b9dc8adde0fe359164f3b68c0daf",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "073ccc86-cbe3-486a-bd65-e86766334ac5",
      "name": "Fal.ai Animate Request1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        336,
        640
      ],
      "parameters": {
        "url": "https://queue.fal.run/fal-ai/wan/v2.2-14b/animate/replace",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "video_url",
              "value": "={{ $json.Video_URL }}"
            },
            {
              "name": "image_url",
              "value": "={{ $json.Image_URL }}"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "9Q9Lcvaao4pwx1Cw",
          "name": "Fal.ai Key"
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "02e67b2b-32a6-4cb9-95b5-bf4c003e6fd6",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        -112,
        544
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "983df8ae-2727-4f17-baa0-7de3687e66a8",
              "name": "Video_URL",
              "type": "string",
              "value": "=https://n8n-marketplace.s3.us-east-1.amazonaws.com/{{ $('On form for S3').item.json.Video[0].filename }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "0e24c0e3-5441-4984-82d2-6e868c0ea96c",
      "name": "Edit Fields3",
      "type": "n8n-nodes-base.set",
      "position": [
        -112,
        736
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "983df8ae-2727-4f17-baa0-7de3687e66a8",
              "name": "Image_URL",
              "type": "string",
              "value": "=https://n8n-marketplace.s3.us-east-1.amazonaws.com/{{ $('On form for S3').item.json.Image[0].filename }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "adc6f12a-1819-49e2-b8b4-71796ce17194",
      "name": "병합",
      "type": "n8n-nodes-base.merge",
      "position": [
        112,
        640
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineByPosition"
      },
      "typeVersion": 3.2
    },
    {
      "id": "8dbec768-8afc-4454-8101-92e50522e3e4",
      "name": "Get Video Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        784,
        576
      ],
      "parameters": {
        "url": "=https://queue.fal.run/fal-ai/wan/requests/{{ $json.request_id }}/status",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "9Q9Lcvaao4pwx1Cw",
          "name": "Fal.ai Key"
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "c7211176-fcce-48f9-a815-f4e1925ce89d",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1008,
        640
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.status }}",
              "value2": "COMPLETED"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "25275875-e329-42b0-b949-d98a8780193e",
      "name": "Get Final Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1232,
        640
      ],
      "parameters": {
        "url": "=https://queue.fal.run/fal-ai/wan/requests/{{ $json.request_id }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "9Q9Lcvaao4pwx1Cw",
          "name": "Fal.ai Key"
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "9bf0f066-7457-4c0c-9e97-7f975383296c",
      "name": "대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        560,
        640
      ],
      "webhookId": "16e0e8fa-477f-40f5-8d56-4bbe5ad3dd7c",
      "parameters": {
        "unit": "minutes",
        "amount": 1
      },
      "typeVersion": 1.1
    },
    {
      "id": "9a8c2e31-54b5-44c8-ab4c-c31b64857948",
      "name": "Upload Video1",
      "type": "n8n-nodes-base.awsS3",
      "position": [
        -336,
        544
      ],
      "parameters": {
        "fileName": "={{ $json.Video[0].filename }}",
        "operation": "upload",
        "bucketName": "n8n-marketplace",
        "additionalFields": {},
        "binaryPropertyName": "Video"
      },
      "credentials": {
        "aws": {
          "id": "Qgww0HLZ5WpHbq2R",
          "name": "sandy4v AWS account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "3ffe6642-89bb-428a-af58-d41b034ed109",
      "name": "Upload Image1",
      "type": "n8n-nodes-base.awsS3",
      "position": [
        -336,
        736
      ],
      "parameters": {
        "fileName": "={{ $json.Image[0].filename }}",
        "operation": "upload",
        "bucketName": "n8n-marketplace",
        "additionalFields": {},
        "binaryPropertyName": "Image"
      },
      "credentials": {
        "aws": {
          "id": "Qgww0HLZ5WpHbq2R",
          "name": "sandy4v AWS account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "7cbaae7f-5b31-4c0f-9950-b4fdf36bc794",
      "name": "On form for S3",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -832,
        624
      ],
      "webhookId": "69576610-16a8-4058-80be-ac3c0db7598e",
      "parameters": {
        "options": {},
        "formTitle": "Input",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "Video",
              "requiredField": true
            },
            {
              "fieldType": "file",
              "fieldLabel": "Image",
              "requiredField": true
            }
          ]
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "cd5fb29d-aab9-41de-a90c-3d570a316afe",
      "name": "메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        400
      ],
      "parameters": {
        "color": 4,
        "width": 400,
        "height": 528,
        "content": "## Form Entry\n1. Upload Video - face from this video will be swapped with the \n2. Image - This is the source that will be used to swap the character in the video"
      },
      "typeVersion": 1
    },
    {
      "id": "883b98db-8517-4990-b6e7-ea5a1e889ad7",
      "name": "메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -448,
        400
      ],
      "parameters": {
        "color": 6,
        "width": 528,
        "height": 528,
        "content": "## Public Storage\nVideo and Images stored on a publicly accesssible URL"
      },
      "typeVersion": 1
    },
    {
      "id": "a6ae45f1-9a31-4bbd-adf5-86b4f8083c57",
      "name": "메모2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        384
      ],
      "parameters": {
        "color": 4,
        "width": 1216,
        "height": 624,
        "content": "## Wan 2.2 model is called via HTTP node via the Fal.ai \n* (You can use Replicateai also)\n"
      },
      "typeVersion": 1
    },
    {
      "id": "fd5f1cd9-10f8-4abb-8f48-742ae23fee53",
      "name": "메모3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1312,
        528
      ],
      "parameters": {
        "color": 5,
        "width": 2800,
        "height": 320,
        "content": "## Enterprise Setup\n**AWS S3** Bucket storage used here"
      },
      "typeVersion": 1
    },
    {
      "id": "e2603964-af07-4f43-b3b3-7693f4a68715",
      "name": "메모5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2048,
        80
      ],
      "parameters": {
        "width": 672,
        "height": 1312,
        "content": "\n# Title\n## Replace the face in the Video with the Image avatar using Fal.ai\n\n### **Description**\n\n## Who's it for?\n\nThis workflow is for content creators, marketers, and developers who want to automatically generate animated images from videos. It's particularly useful for creating engaging social media posts, dynamic ad creatives, or unique visual content for websites and presentations without needing complex video editing software.\n\n## How it works / What it does\n\nThis workflow automates the process of creating an animated image by replacing the subject in a video with a provided image. It starts with a form where you upload a video and an image. These files are then uploaded to an AWS S3 bucket to be publicly accessible. The workflow sends these file URLs to the Fal.ai API to begin the animation process. It then periodically checks the status of the animation job and, once completed, retrieves the final animated video.\n\n## How to set up\n\n1.  **Configure AWS S3 Credentials:** Make sure your AWS S3 credentials are set up in n8n to allow for file uploads.\n2.  **Set up Fal.ai Credentials:** You'll need an API key from Fal.ai. Add this as an HTTP header credential in n8n.\n3.  **Form Trigger:** The workflow is initiated by submitting a form. You can use the provided form trigger to upload your video and image files.\n4.  **Activate the Workflow:** Once your credentials are in place, activate the workflow. It will then be ready to receive form submissions.\n\n## Requirements\n\n*   Enterprise accounts - An active AWS account with S3 bucket permissions.\n*   Personal Setup - Cloudinary account for object storage \n*   A Fal.ai account and API key.\n*   An n8n instance.\n\n## 💬 Need Help or Want to Learn More?\n\n* Join my **Skool community** for n8n + AI automation tutorials, live Q&A sessions, and exclusive workflows:  \n👉 https://www.skool.com/n8n-ai-automation-champions\n\n---\n\n**Template Author:** Sandeep Patharkar  \n**Category:** Content Generation / Content Marketing \n**Difficulty:** Intermediate  \n**Estimated Setup Time:** ⏱️ 20 minutes"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "c7211176-fcce-48f9-a815-f4e1925ce89d": {
      "main": [
        [
          {
            "node": "25275875-e329-42b0-b949-d98a8780193e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "8dbec768-8afc-4454-8101-92e50522e3e4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "073ccc86-cbe3-486a-bd65-e86766334ac5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "02e67b2b-32a6-4cb9-95b5-bf4c003e6fd6": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0e24c0e3-5441-4984-82d2-6e868c0ea96c": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "3ffe6642-89bb-428a-af58-d41b034ed109": {
      "main": [
        [
          {
            "node": "0e24c0e3-5441-4984-82d2-6e868c0ea96c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9a8c2e31-54b5-44c8-ab4c-c31b64857948": {
      "main": [
        [
          {
            "node": "02e67b2b-32a6-4cb9-95b5-bf4c003e6fd6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7cbaae7f-5b31-4c0f-9950-b4fdf36bc794": {
      "main": [
        [
          {
            "node": "9a8c2e31-54b5-44c8-ab4c-c31b64857948",
            "type": "main",
            "index": 0
          },
          {
            "node": "3ffe6642-89bb-428a-af58-d41b034ed109",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8dbec768-8afc-4454-8101-92e50522e3e4": {
      "main": [
        [
          {
            "node": "c7211176-fcce-48f9-a815-f4e1925ce89d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "073ccc86-cbe3-486a-bd65-e86766334ac5": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

고급

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
고급
노드 수16
카테고리-
노드 유형8
난이도 설명

고급 사용자를 위한 16+개 노드의 복잡한 워크플로우

저자
Sandeep Patharkar | ai-solutions.agency

Sandeep Patharkar | ai-solutions.agency

@sandy4v

AI and automation enthusiast with a strong background in building intelligent workflows. As an AWS Certified Solutions Architect, I design secure, scalable, cost-effective cloud solutions. Passionate about integrating AI to streamline processes and solve real-world challenges. Always eager to collaborate, share knowledge, and empower the community to push the boundaries of cloud and AI.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34