Task: Upload an image to IPFS to get a CID (Web3)

n8n workflow:
{"meta":{"instanceId":"82a17fa4a0b8e81bf77e5ab999d980f392150f2a9541fde626dc5f74857b1f54"},"nodes":[{"id":"8e290ac2-fad9-4b70-a9fb-a4e5ad73a237","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[480,269],"parameters":{"width":509,"height":427,"content":"## Upload an image from an URL to IPFS (via nft.storage) and get a CID for that image.\n- Useful for storing NFT assets in a decentralised manner\n- can also be used with other files"},"typeVersion":1},{"id":"d0c74fbc-0ee2-4b30-bdfa-a017d05439fe","name":"When clicking \"Execute Workflow\"","type":"n8n-nodes-base.manualTrigger","position":[600,500],"parameters":{},"typeVersion":1},{"id":"339f65bd-115c-4cd9-84e7-afe869f9a3b7","name":"Download image from URL","type":"n8n-nodes-base.httpRequest","position":[1200,500],"parameters":{"url":"=URL OF YOUR IMAGE YOU WANT TO MINT","options":{}},"typeVersion":4.1},{"id":"888d6e2d-a8a4-4f8a-a1bd-d4665371b23b","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[1140,420],"parameters":{"height":281,"content":"- Put here the location of the image "},"typeVersion":1},{"id":"20f45fba-4397-4147-94ba-feadb0b9c8ae","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[1520,420],"parameters":{"width":237,"height":281,"content":"- Do not forget to add your credentials (api key via NFT.storage)"},"typeVersion":1},{"id":"1569fe2c-8709-4e81-ae4e-48c2d51fc9fa","name":"Upload image to IPFS","type":"n8n-nodes-base.httpRequest","maxTries":5,"position":[1600,500],"parameters":{"url":"https://api.nft.storage/upload/","options":{"bodyContentType":"raw"},"requestMethod":"POST","authentication":"genericCredentialType","jsonParameters":true,"sendBinaryData":true,"genericAuthType":"httpHeaderAuth"},"credentials":{"httpHeaderAuth":{"id":"iE3jYGF7IbtSlZBw","name":"your NFT.storage api key"}},"retryOnFail":true,"typeVersion":2,"waitBetweenTries":5000}],"connections":{"Download image from URL":{"main":[[{"node":"Upload image to IPFS","type":"main","index":0}]]},"When clicking \"Execute Workflow\"":{"main":[[{"node":"Download image from URL","type":"main","index":0}]]}}}