{
  "name": "ویدیوی محصول از روی یک عکس",
  "nodes": [
    {
      "parameters": {
        "formTitle": "ساخت ویدیوی محصول",
        "formFields": {
          "values": [
            {
              "fieldLabel": "لینک عکس محصول (https)",
              "requiredField": true
            },
            {
              "fieldLabel": "توضیح کوتاه حرکت و حس ویدیو",
              "requiredField": true
            }
          ]
        },
        "options": {}
      },
      "id": "71bc6a87-c722-499f-86c9-3a5018abeeb9",
      "name": "فرم ورودی",
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.2,
      "position": [
        0,
        0
      ],
      "webhookId": "1428cd80-5d9d-4611-861b-458260da4856"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://nabegheapi.ir/v1/videos",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ model: 'nabeghe/video-cheap', prompt: $json['توضیح کوتاه حرکت و حس ویدیو'], duration: 5, aspect_ratio: '9:16', first_frame_url: $json['لینک عکس محصول (https)'] }) }}",
        "options": {
          "timeout": 900000,
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "id": "8fe14f96-dd13-4ca3-bc4e-3dd4ef86562b",
      "name": "ساخت ویدیو (Nabeghe API)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "nabeghe-api",
          "name": "Nabeghe API"
        }
      }
    },
    {
      "parameters": {
        "operation": "sendVideo",
        "chatId": "YOUR_CHAT_ID",
        "binaryData": true,
        "additionalFields": {
          "caption": "🎬 ویدیوی محصول آماده شد"
        }
      },
      "id": "174d4607-4068-4303-af27-ab899f19f7be",
      "name": "تحویل در تلگرام",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        480,
        0
      ],
      "credentials": {
        "telegramApi": {
          "id": "telegram",
          "name": "Telegram Bot"
        }
      }
    }
  ],
  "connections": {
    "فرم ورودی": {
      "main": [
        [
          {
            "node": "ساخت ویدیو (Nabeghe API)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ساخت ویدیو (Nabeghe API)": {
      "main": [
        [
          {
            "node": "تحویل در تلگرام",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false,
    "source": "nabeghemarket.ir/automation"
  },
  "pinData": {},
  "tags": []
}