8
n8n 한국어amn8n.com

만비디오/만2.2 문장을 비디오로 빠르게 생성 - 비디오 생성기

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 15개의 노드를 포함합니다.주로 If, Set, Code, Wait, HttpRequest 등의 노드를 사용하며. 만2.2 문서로 비디오 빠른 버전과 Replicate를 사용하여 텍스트 설명에서 비디오 생성

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "65350a60-dd89-44bb-b5ac-6936a0c03e0f",
    "model_name": "wan-2.2-t2v-fast",
    "model_type": "video",
    "version_id": "17eacc978d91e78a88d808d66d3bc7cbc7f8a2248ace0c48cab8105ad1a68509",
    "model_owner": "wan-video",
    "generated_at": "2025-08-01T14:50:46.569212"
  },
  "name": "wan-video/wan-2.2-t2v-fast - Video Generator",
  "nodes": [
    {
      "id": "e5387e13-d9c5-4bd1-b050-96671c4e8f1d",
      "name": "수동 트리거",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -896,
        -176
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "740ad8a9-694f-4c8e-a319-33a46c5bbe18",
      "name": "API 토큰 설정",
      "type": "n8n-nodes-base.set",
      "position": [
        -608,
        -80
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "api_token",
              "name": "api_token",
              "type": "string",
              "value": "YOUR_REPLICATE_API_TOKEN"
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "55231f68-fff7-463a-9dbe-9fe8dcc093b4",
      "name": "비디오 매개변수 설정",
      "type": "n8n-nodes-base.set",
      "position": [
        -288,
        -128
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "api_token",
              "name": "api_token",
              "type": "string",
              "value": "={{ $('Set API Token').item.json.api_token }}"
            },
            {
              "id": "seed",
              "name": "seed",
              "type": "number",
              "value": -1
            },
            {
              "id": "prompt",
              "name": "prompt",
              "type": "string",
              "value": "A person walking through a magical forest with glowing particles"
            },
            {
              "id": "go_fast",
              "name": "go_fast",
              "type": "boolean",
              "value": true
            },
            {
              "id": "num_frames",
              "name": "num_frames",
              "type": "number",
              "value": 81
            },
            {
              "id": "resolution",
              "name": "resolution",
              "type": "string",
              "value": "480p"
            },
            {
              "id": "aspect_ratio",
              "name": "aspect_ratio",
              "type": "string",
              "value": "16:9"
            },
            {
              "id": "sample_shift",
              "name": "sample_shift",
              "type": "number",
              "value": 12
            },
            {
              "id": "frames_per_second",
              "name": "frames_per_second",
              "type": "number",
              "value": 16
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "a9bf88cc-03c6-4889-98eb-9eeda9a70d62",
      "name": "비디오 예측 생성",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -64,
        -128
      ],
      "parameters": {
        "url": "https://api.replicate.com/v1/predictions",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "neverError": true,
              "responseFormat": "json"
            }
          }
        },
        "jsonBody": "={\n  \"version\": \"wan-video/wan-2.2-t2v-fast:17eacc978d91e78a88d808d66d3bc7cbc7f8a2248ace0c48cab8105ad1a68509\",\n  \"input\": {\n    \"seed\": {{ $json.seed }},\n    \"prompt\": \"{{ $json.prompt }}\",\n    \"go_fast\": {{ $json.go_fast }},\n    \"num_frames\": {{ $json.num_frames }},\n    \"resolution\": \"{{ $json.resolution }}\",\n    \"aspect_ratio\": \"{{ $json.aspect_ratio }}\",\n    \"sample_shift\": {{ $json.sample_shift }},\n    \"frames_per_second\": {{ $json.frames_per_second }}\n  }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.api_token }}"
            },
            {
              "name": "Prefer",
              "value": "wait"
            }
          ]
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "0eb18982-e683-4e29-ad78-28e1f898ff4a",
      "name": "5초 대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        160,
        -128
      ],
      "webhookId": "d2c4ca16-0eb2-45b4-8a2d-eec2f99df89c",
      "parameters": {
        "unit": "seconds",
        "amount": 5
      },
      "typeVersion": 1
    },
    {
      "id": "04ec4bc0-3a12-4f71-89ce-93ae51b71c28",
      "name": "상태 확인",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        384,
        -128
      ],
      "parameters": {
        "url": "=https://api.replicate.com/v1/predictions/{{ $('Create Video Prediction').item.json.id }}",
        "options": {
          "response": {
            "response": {
              "neverError": true,
              "responseFormat": "json"
            }
          }
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $('Set API Token').item.json.api_token }}"
            }
          ]
        }
      },
      "typeVersion": 4.1
    },
    {
      "id": "de675a2a-8987-4466-82c5-19406440071c",
      "name": "완료 여부?",
      "type": "n8n-nodes-base.if",
      "position": [
        528,
        -240
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 1,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "c93d7ba1-0ef9-4087-aa10-389cb2a2c6bd",
              "operator": {
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "succeeded"
            }
          ]
        }
      },
      "typeVersion": 2
    },
    {
      "id": "5f5f5ff5-ab7a-4eb2-996a-138fb870069d",
      "name": "실패 여부?",
      "type": "n8n-nodes-base.if",
      "position": [
        848,
        -80
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 1,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "d1bfd044-3a07-4c18-b55f-72d192596139",
              "operator": {
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "failed"
            }
          ]
        }
      },
      "typeVersion": 2
    },
    {
      "id": "5b182dbe-d1df-4c67-87e9-c3a4881d9952",
      "name": "10초 대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        720,
        128
      ],
      "webhookId": "51a05aef-e220-406d-8c2c-e59c82c3e26e",
      "parameters": {
        "unit": "seconds",
        "amount": 10
      },
      "typeVersion": 1
    },
    {
      "id": "4aacc07f-ab95-43a5-8403-c499093acf9c",
      "name": "성공 응답",
      "type": "n8n-nodes-base.set",
      "position": [
        832,
        -320
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "success-response",
              "name": "response",
              "type": "object",
              "value": "={{ { success: true, video_url: $json.output, prediction_id: $json.id, status: $json.status, message: 'Video generated successfully' } }}"
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "7601e4ae-ea85-456d-940b-50fefea59531",
      "name": "오류 응답",
      "type": "n8n-nodes-base.set",
      "position": [
        1344,
        144
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "error-response",
              "name": "response",
              "type": "object",
              "value": "={{ { success: false, error: $json.error || 'Video generation failed', prediction_id: $json.id, status: $json.status, message: 'Failed to generate video' } }}"
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "2b42d638-98bf-4c2b-9093-d80e4fae80dc",
      "name": "결과 표시",
      "type": "n8n-nodes-base.set",
      "position": [
        1552,
        -144
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "final-result",
              "name": "final_result",
              "type": "object",
              "value": "={{ $json.response }}"
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "2d61ac0d-754a-47d2-9502-7cd2a7170c62",
      "name": "요청 로그",
      "type": "n8n-nodes-base.code",
      "position": [
        160,
        -320
      ],
      "parameters": {
        "jsCode": "// Log generation details for monitoring\nconst data = $input.all()[0].json;\n\nconsole.log('wan-video/wan-2.2-t2v-fast Request:', {\n  timestamp: new Date().toISOString(),\n  prediction_id: data.id,\n  model_type: 'video'\n});\n\nreturn $input.all();"
      },
      "typeVersion": 2
    },
    {
      "id": "a9b9530c-24f3-4d98-a9aa-298b1a854753",
      "name": "고정 메모9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        -304
      ],
      "parameters": {
        "color": 4,
        "width": 580,
        "height": 320,
        "content": "=======================================\n        WAN-2.2-T2V-FAST GENERATOR\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n======================================="
      },
      "typeVersion": 1
    },
    {
      "id": "7389b08d-8305-47aa-b03b-10e67a6e87ae",
      "name": "고정 메모4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        48
      ],
      "parameters": {
        "color": 4,
        "width": 589,
        "height": 1958,
        "content": "## 🤖 **WAN-VIDEO/WAN-2.2-T2V-FAST - VIDEO GENERATION WORKFLOW**\n\n**🔥 Powered by Replicate API and n8n Automation**\n\n---\n\n### 📝 **Model Overview**\n\n- **Owner**: wan-video\n- **Model**: wan-2.2-t2v-fast\n- **Type**: Video Generation\n- **API Endpoint**: https://api.replicate.com/v1/predictions\n\n**🎯 What This Model Does:**\nA very fast and cheap PrunaAI optimized version of Wan 2.2 A14B text-to-video\n\n---\n\n### 📋 **Parameter Reference**\n\n**🔴 Required Parameters:** prompt\n**🔵 Optional Parameters:** seed, go_fast, num_frames, resolution, aspect_ratio, sample_shift, frames_per_second\n\n**📖 Detailed Parameter Guide:**\n- **seed** (integer): Random seed. Leave blank for random\n- **prompt** (string): Prompt for video generation\n- **go_fast** (boolean): Go fast (Default: True)\n- **num_frames** (integer): Number of video frames. 81 frames give the best results (Default: 81)\n- **resolution** (string): Resolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px (Default: 480p)\n- **aspect_ratio** (string): Aspect ratio of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px (Default: 16:9)\n- **sample_shift** (number): Sample shift factor (Default: 12)\n- **frames_per_second** (integer): Frames per second. Note that the pricing of this model is based on the video duration at 16 fps (Default: 16)\n\n---\n\n### 🔧 **Workflow Components Explained**\n\n**🎯 Manual Trigger**\n- Starts the workflow execution\n- Click to begin video generation process\n\n**🔐 Set API Token** \n- Configures your Replicate API authentication\n- Replace 'YOUR_REPLICATE_API_TOKEN' with your actual token\n- Essential for accessing the wan-video/wan-2.2-t2v-fast model\n\n**⚙️ Set Video Parameters**\n- Configures all input parameters for the model\n- Includes both required and optional parameters\n- Pre-filled with sensible defaults for testing\n\n**🚀 Create Video Prediction**\n- Sends the generation request to Replicate API\n- Uses the video parameters you configured\n- Returns a prediction ID for status tracking\n\n**⏳ Wait & Status Checking Loop**\n- Waits 5 seconds then checks prediction status\n- Continues checking until completion or failure\n- Implements intelligent retry logic with 10-second delays\n\n**✅ Success/Error Handling**\n- Routes successful completions to success response\n- Handles failures gracefully with error details\n- Returns structured JSON response with URLs/errors\n\n**📊 Logging & Monitoring**\n- Logs all requests for debugging and monitoring\n- Tracks timestamps and prediction IDs\n- Helps identify issues during development\n\n---\n\n### 🌟 **Key Benefits**\n\n- **🎨 Instant Video Generation**: Transform ideas into videos using state-of-the-art AI\n- **🔄 Automated Workflow**: Handles the complete generation pipeline automatically\n- **🛡️ Error Resilience**: Built-in retry logic and comprehensive error handling\n- **📈 Production Ready**: Includes logging, monitoring, and structured responses\n- **🔧 Customizable**: Easy to modify parameters and extend functionality\n- **⚡ Efficient Processing**: Optimized API calls with intelligent status checking\n\n---\n\n### 🚀 **Quick Start Instructions**\n\n1. **🔑 Get Your API Key**\n   - Sign up at https://replicate.com\n   - Navigate to your account settings\n   - Copy your API token\n\n2. **🔧 Configure the Workflow**\n   - Replace 'YOUR_REPLICATE_API_TOKEN' with your actual token\n   - Adjust parameters in the 'Set Video Parameters' node\n   - Customize the prompt or other inputs as needed\n\n3. **▶️ Execute the Workflow**\n   - Click the 'Manual Trigger' to start\n   - Monitor the execution in the n8n interface\n   - Check logs for detailed execution information\n\n4. **📥 Get Your Results**\n   - Successful generations return a URL to your video\n   - Download or use the generated content as needed\n   - Results are available immediately upon completion\n\n---\n\n### 🔍 **Troubleshooting Guide**\n\n**Common Issues:**\n- **Invalid API Token**: Ensure your Replicate token is valid and has sufficient credits\n- **Parameter Validation**: Check that required parameters match expected types\n- **Generation Timeout**: Some videos take longer - monitor the logs\n- **Output Format**: Verify the model returns the expected output format\n\n**Best Practices:**\n- Test with default parameters first\n- Monitor your Replicate usage and billing\n- Keep API tokens secure and never commit them to code\n- Use appropriate parameter values for your use case\n\n---\n\n**🔗 Additional Resources:**\n- Model Documentation: https://replicate.com/wan-video/wan-2.2-t2v-fast\n- Replicate API Docs: https://replicate.com/docs\n- n8n Documentation: https://docs.n8n.io\n\n---"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "versionId": "1",
  "connections": {
    "0eb18982-e683-4e29-ad78-28e1f898ff4a": {
      "main": [
        [
          {
            "node": "04ec4bc0-3a12-4f71-89ce-93ae51b71c28",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5b182dbe-d1df-4c67-87e9-c3a4881d9952": {
      "main": [
        [
          {
            "node": "04ec4bc0-3a12-4f71-89ce-93ae51b71c28",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5f5f5ff5-ab7a-4eb2-996a-138fb870069d": {
      "main": [
        [
          {
            "node": "7601e4ae-ea85-456d-940b-50fefea59531",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "5b182dbe-d1df-4c67-87e9-c3a4881d9952",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2d61ac0d-754a-47d2-9502-7cd2a7170c62": {
      "main": [
        [
          {
            "node": "0eb18982-e683-4e29-ad78-28e1f898ff4a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "04ec4bc0-3a12-4f71-89ce-93ae51b71c28": {
      "main": [
        [
          {
            "node": "de675a2a-8987-4466-82c5-19406440071c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "de675a2a-8987-4466-82c5-19406440071c": {
      "main": [
        [
          {
            "node": "4aacc07f-ab95-43a5-8403-c499093acf9c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "5f5f5ff5-ab7a-4eb2-996a-138fb870069d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "740ad8a9-694f-4c8e-a319-33a46c5bbe18": {
      "main": [
        [
          {
            "node": "55231f68-fff7-463a-9dbe-9fe8dcc093b4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7601e4ae-ea85-456d-940b-50fefea59531": {
      "main": [
        [
          {
            "node": "2b42d638-98bf-4c2b-9093-d80e4fae80dc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e5387e13-d9c5-4bd1-b050-96671c4e8f1d": {
      "main": [
        [
          {
            "node": "740ad8a9-694f-4c8e-a319-33a46c5bbe18",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4aacc07f-ab95-43a5-8403-c499093acf9c": {
      "main": [
        [
          {
            "node": "2b42d638-98bf-4c2b-9093-d80e4fae80dc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a9bf88cc-03c6-4889-98eb-9eeda9a70d62": {
      "main": [
        [
          {
            "node": "2d61ac0d-754a-47d2-9502-7cd2a7170c62",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 콘텐츠 제작, 멀티모달 AI

유료인가요?

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

워크플로우 정보
난이도
중급
노드 수15
카테고리2
노드 유형7
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Yaron Been

Yaron Been

@yaron-nofluff

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34