Nodes Browser

ComfyDeploy: How Load Image From Base64 URI works in ComfyUI?

What is Load Image From Base64 URI?

Nodes: LoadImageFromBase64. Loads an image and its transparency mask from a base64-encoded data URI for easy API connection.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for Load Image From Base64 URI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI Node: Base64 To Image

Loads an image and its transparency mask from a base64-encoded data URI. This is useful for API connections as you can transfer data directly rather than specify a file location.

image

You can test with the following image:

Frame 279 (1)

The data URI is:

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABvElEQVQ4EaXBQWoTYQCG4febRLpN14JOahWmiCZdCd2IFxAvYDInsJ6gR7B4gYwn8AgVpAtFnIq104boZKAguLDdVUr6f05olVJm1+cR1yQu/NrzCwWeAj3MogFRE5eZf4ws3onaz28eCQaAgCMHXkdmJ4hjLhMxMKImgU2qw10PJEaAED4VS91EUxoc7jqTGCAMVDdX1FW151zQY05ktxKlNChzx60FcqBjIATS7n1lKgsbMCAg7SbKaDDZ9TCKGFGTOAJWu4mm+r7v34ZFGzAv765okwbjwqUgFmBzPBP9JNFU47FfhcC6hIOp/pzQ7/d1zBVF4TiKeAs8tBGiPAk8UVE4dsQW4jYGw5fTwLN+oilX5KU7C6fkNrEEwWyKWlE4nrXJHegg5soH97REg68H3kBs2EiiFLW8cEybHNNhLmLYX9YbGuRjD4ERF0Tt08QDTCZhQxVFPF5dUkWDjwfOWi2e2wjYEbUPE5dATM0ie3RHKQ22x+7diPhsELUAqbYnHkqMuBAihp5Rtdr4bIZabRzOiDG9SKwzJ7DJ1paV6v0Pb8nEgXMREPhPzAljzpmqBdnasjJq4pr+AuEWzU4x7NF4AAAAAElFTkSuQmCC