{
  "name": "Generate animated human videos from images & audio with Bytedance Omni Human",
  "nodes": [
    {
      "id": "a27d21be-85f6-4861-b171-02f5813a86ec",
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        720,
        320
      ]
    },
    {
      "id": "5aacea0f-f368-4560-ab02-dbf67bb5279a",
      "name": "Set API Key",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        320
      ]
    },
    {
      "id": "a76aff79-65d8-4006-9fb0-957cc16e5add",
      "name": "Create Prediction",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1168,
        320
      ]
    },
    {
      "id": "cceb0e47-075b-4496-a1ab-50f7d8b53c6a",
      "name": "Extract Prediction ID",
      "type": "n8n-nodes-base.code",
      "position": [
        1376,
        320
      ]
    },
    {
      "id": "ac9a728c-bb4f-4ea4-b904-cc4e652e73e4",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1600,
        320
      ]
    },
    {
      "id": "cb46c49f-01f7-4e22-87f0-1c2714c0a1a1",
      "name": "Check Prediction Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1824,
        320
      ]
    },
    {
      "id": "58563eb1-ebfe-4841-ac43-a463590cc9db",
      "name": "Check If Complete",
      "type": "n8n-nodes-base.if",
      "position": [
        2048,
        320
      ]
    },
    {
      "id": "b31379db-429e-4f48-83f0-3e2b3f3fd6f3",
      "name": "Process Result",
      "type": "n8n-nodes-base.code",
      "position": [
        2288,
        224
      ]
    },
    {
      "id": "864755cc-f19f-4a35-8097-2ab11790e2e2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        16
      ],
      "parameters": {
        "width": 438,
        "height": 511,
        "content": "## ⚡ Section 1: Start & Authenticate\n\n* **▶️ On clicking ‘execute’** → Manual trigger to start the workflow.\n* **🔑 Set API Key** → Stores your Replicate API key so future requests are authorized.\n\n**B"
      }
    },
    {
      "id": "2ff9a17f-1ce7-4932-9dad-db46413afe58",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1168,
        -224
      ],
      "parameters": {
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tip"
      }
    },
    {
      "id": "751e2e91-cc96-42fc-bfff-db65ffc2184b",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1168,
        112
      ],
      "parameters": {
        "width": 1289,
        "height": 1822,
        "content": "# Generate Animated Human Videos from Images & Audio with Bytedance Omni Human\n\nBuilt with **n8n + Replicate**\n\nThis workflow takes an **image** + **audio**, sends them to Bytedance’s **omni-human mod"
      }
    },
    {
      "id": "db376164-d0e6-49e0-a64b-e97ce592989a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1104,
        -224
      ],
      "parameters": {
        "width": 246,
        "height": 751,
        "content": "## 🛠️ Section 2: Send Video Generation Request\n\n* **📡 Create Prediction** → Makes a POST request to Replicate with:\n\n  * `image`: input image URL\n  * `audio`: input audio URL\n  * Model version: `7ec44"
      }
    },
    {
      "id": "6e8ca2ba-693d-4a69-ad9e-dbf910b10ea4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -48
      ],
      "parameters": {
        "width": 806,
        "height": 575,
        "content": "## 🔍 Section 3: Track the Prediction\n\n* **📦 Extract Prediction ID** → Saves `predictionId`, `status`, and `predictionUrl` for polling.\n* **⏳ Wait** → Pauses 2 seconds between status checks (to avoid s"
      }
    },
    {
      "id": "ea5059e5-2169-4a57-a95e-f4793a385ddb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2192,
        -176
      ],
      "parameters": {
        "width": 310,
        "height": 703,
        "content": "## 📽️ Section 4: Process & Return Results\n\n* **📦 Process Result** → Cleans the API response, returning:\n\n  * `status`\n  * `video_url` (generated video)\n  * `metrics`\n  * `created_at` & `completed_at`\n"
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Check Prediction Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set API Key": {
      "main": [
        [
          {
            "node": "Create Prediction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check If Complete": {
      "main": [
        [
          {
            "node": "Process Result",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Prediction": {
      "main": [
        [
          {
            "node": "Extract Prediction ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Prediction ID": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Set API Key",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Prediction Status": {
      "main": [
        [
          {
            "node": "Check If Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}