{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        -1339.9900218572304,
        594.0730808726646
      ],
      "scale": 0.859661434219261
    },
    "frontendVersion": "1.27.10",
    "links_added_by_ue": [],
    "ue_links": []
  },
  "groups": [
    {
      "bounding": [
        1980,
        -270,
        294.080078125,
        397.6000061035156
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Upload image"
    },
    {
      "bounding": [
        2300,
        -270,
        410,
        550
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Option1 - Pad image"
    },
    {
      "bounding": [
        2300,
        290,
        410,
        643.5999755859375
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "Option 2 - Crop image"
    }
  ],
  "id": "7c8957c7-9b5c-4d4e-80dd-f35ac181264e",
  "last_link_id": 28,
  "last_node_id": 26,
  "links": [
    [
      7,
      14,
      0,
      7,
      0,
      "VIDEO"
    ],
    [
      9,
      12,
      0,
      16,
      0,
      "IMAGE"
    ],
    [
      22,
      12,
      0,
      22,
      0,
      "IMAGE"
    ],
    [
      25,
      22,
      0,
      18,
      0,
      "IMAGE"
    ],
    [
      26,
      16,
      0,
      24,
      0,
      "IMAGE"
    ],
    [
      28,
      22,
      0,
      14,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 16,
      "inputs": [
        {
          "link": 9,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 5,
      "outputs": [
        {
          "links": [
            26
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2310,
        -200
      ],
      "properties": {
        "Node name for S&R": "ResizeAndPadImage",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.63"
      },
      "size": [
        270,
        130
      ],
      "type": "ResizeAndPadImage",
      "widgets_values": [
        720,
        1280,
        "white",
        "lanczos"
      ]
    },
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": 25,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 8,
      "outputs": [],
      "pos": [
        2310,
        550
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.63"
      },
      "size": [
        390,
        370
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 24,
      "inputs": [
        {
          "link": 26,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 7,
      "outputs": [],
      "pos": [
        2310,
        -20
      ],
      "properties": {
        "Node name for S&R": "PreviewImage",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.63"
      },
      "size": [
        390,
        290
      ],
      "type": "PreviewImage",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": 7,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [],
      "pos": [
        3180,
        -230
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.60"
      },
      "size": [
        630,
        1218
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/OpenAI-Sora",
        "auto",
        "auto"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 17,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [],
      "pos": [
        2750,
        -380
      ],
      "properties": {
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        }
      },
      "size": [
        390,
        90
      ],
      "title": "Note: Video size settings",
      "type": "Note",
      "widgets_values": [
        "- Sora-2: Supports 720 x 1280, 1280 x 720.\n- Sora-2 Pro: Supports 720 x 1280, 1280 x 720, 1024 x 1792, 1792 x 1024"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 6,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [],
      "pos": [
        1580,
        -240
      ],
      "properties": {
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        }
      },
      "size": [
        380,
        210
      ],
      "title": "Note：About API Node",
      "type": "MarkdownNote",
      "widgets_values": [
        "[About API Node](https://docs.comfy.org/tutorials/partner-nodes/overview) - [Pricing](https://docs.comfy.org/tutorials/partner-nodes/pricing)\n \nTo use the API, you must be in a secure network environment:\n\n- Allows access from `127.0.0.1` or `localhost`.\n\n- Use our API Node in website services starting with `https`\n\n- Make sure you can normally connect to our API services (some regions may need a proxy).\n\n- Make sure you are logged in in the settings and that your account still has enough credits to cover the consumption of API calls.\n\n- On non-whitelisted sites or local area networks (LANs), please try to [log in using an API Key](https://docs.comfy.org/interface/user#logging-in-with-an-api-key).\n"
      ]
    },
    {
      "flags": {},
      "id": 12,
      "inputs": [],
      "mode": 4,
      "order": 2,
      "outputs": [
        {
          "links": [
            9,
            22
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        1990,
        -200
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.62"
      },
      "size": [
        274.080078125,
        314
      ],
      "type": "LoadImage",
      "widgets_values": [
        "api_openai_sora_video_input_image.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 22,
      "inputs": [
        {
          "link": 22,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 4,
      "order": 6,
      "outputs": [
        {
          "links": [
            25,
            28
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2310,
        360
      ],
      "properties": {
        "Node name for S&R": "ImageScale",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.63"
      },
      "size": [
        270,
        130
      ],
      "type": "ImageScale",
      "widgets_values": [
        "nearest-exact",
        720,
        1280,
        "center"
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 14,
      "inputs": [
        {
          "link": 28,
          "name": "image",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            7
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        2750,
        -230
      ],
      "properties": {
        "Node name for S&R": "OpenAIVideoSora2",
        "cnr_id": "comfy-core",
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        },
        "ver": "0.3.63"
      },
      "size": [
        390,
        330
      ],
      "type": "OpenAIVideoSora2",
      "widgets_values": [
        "sora-2",
        "A giraffe doing 3 backflips with shouting \"I must be more  careful than I am with my workflows\"",
        "720x1280",
        8,
        1309790869,
        "randomize"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 23,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [],
      "pos": [
        1980,
        190
      ],
      "properties": {
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        }
      },
      "size": [
        300,
        100
      ],
      "title": "Note：Image Size",
      "type": "MarkdownNote",
      "widgets_values": [
        "**The input image size must match the video size.** \n\nIf your input image doesn't match the video size, please select the pad image or crop the image to ensure your input image matches the video size."
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 26,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        1980,
        -390
      ],
      "properties": {
        "ue_properties": {
          "input_ue_unconnectable": {},
          "version": "7.1",
          "widget_ue_connectable": {}
        }
      },
      "size": [
        300,
        100
      ],
      "title": "Note",
      "type": "MarkdownNote",
      "widgets_values": [
        "You can select all the nodes, then use Ctrl-B to enable it and make it an image-to- video workflow."
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}