{
  "name": "XinoAPI video",
  "nodes": [
    {
      "id": "run-manually",
      "name": "Run manually",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {},
      "retryOnFail": false
    },
    {
      "id": "submit-one-video",
      "name": "Submit one video",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.xinoapi.com/v1/videos",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "options": {
          "timeout": 120000
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "doubao-seedance-2-0-260128"
            },
            {
              "name": "prompt",
              "value": "Slow camera movement. Keep the subject consistent."
            },
            {
              "name": "seconds",
              "value": "5"
            },
            {
              "name": "size",
              "value": "720p"
            },
            {
              "name": "metadata",
              "value": "{\"resolution\": \"720p\", \"ratio\": \"16:9\", \"content\": [{\"type\": \"image_url\", \"role\": \"first_frame\", \"image_url\": {\"url\": \"https://YOUR_PUBLIC_IMAGE_HOST/source.jpg\"}}]}"
            }
          ]
        }
      },
      "retryOnFail": false
    }
  ],
  "connections": {
    "Run manually": {
      "main": [
        [
          {
            "node": "Submit one video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}
