How to upload pictures with incremental names for each iteration?

Hi,
I want to automate the process of uploading pictures to reflect tech website. Please do a google search of reflect tech.
I have about a 1000 frames of a video which needs to be uploaded, swapped and downloaded individually. How can I automate this entire process? Any help is appreciated.

Uploading images is no problem with UI.Vision. Have you tried it yet? If so, where did you get stuck?

To get started, see Automating File Uploads

Thanks for your response.
Yes I’ve tried uploading it but the macro fails when the dialog box opens. It does not select any image. Also I want to select a different file on each iteration of the process. How can I upload files with incremental names in a loop?

This is what my process looks like. It fails when the dialog box opens. Also, how can I put this in a loop and increment the 1 in the filename in parenthesis pic (1).jpg

   {
      "Name": "ref",
      "CreationDate": "2019-8-3",
      "Commands": [
        {
          "Command": "open",
          "Target": "https://reflect.tech/faceswap/my",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "id=dropzone",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "xpath=/html/body/input",
          "Value": ""
        },
        {
          "Command": "XType",
          "Target": "xpath=/html/body/input",
          "Value": "C:\\Users\\me\\Pictures\\pic (1).jpg"
        },
        {
          "Command": "click",
          "Target": "xpath=//*[@id=\"app\"]/div/main/div/div/div/div/div[2]/div/div/div[1]/div[1]/div",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "xpath=//*[@id=\"dropzone\"]/div/span/span[2]",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "xpath=/html/body/input",
          "Value": ""
        },
        {
          "Command": "XType",
          "Target": "xpath=/html/body/input",
          "Value": "C:\\Users\\me\\Pictures\\test.jpg"
        },
        {
          "Command": "click",
          "Target": "xpath=//*[@id=\"app\"]/div/main/div/div/div/div/div[2]/div/div/div[3]/div/div/div[2]/div[1]/div/img",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "link=Download@POS=2",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "xpath=//*[@id=\"app\"]/div/main/div/div/div/div/div[1]/span",
          "Value": ""
        },
        {
          "Command": "click",
          "Target": "xpath=//*[@id=\"app\"]/div/main/div/div/div/div/div[1]/span",
          "Value": ""
        }
      ]
    }

See Incrementing each loop - #3 by ulrich