Model
Trends
.ai
Model
Trends
.ai
최고의 오픈 소스 AI 모델

ComfyUI의 Load Image 노드

Load Image reads a picture from the ComfyUI input folder (or an upload) and outputs an IMAGE tensor plus a MASK taken from the alpha channel, the starting point for img2img, inpainting, ControlNet and IP-Adapter graphs.
노드 팩: ComfyUI core
카테고리: 이미지
이 페이지는 아직 번역되지 않아 영어로 표시됩니다.

Load Image이(가) 하는 일

Load Image is how pixels enter a graph. It lists the files in ComfyUI/input, lets you upload a new file with the button or by dragging it onto the node, and outputs the picture as an IMAGE (a float tensor in the 0-1 range, shape batch x height x width x 3). The second output, MASK, is built from the transparency of the file: transparent pixels become 1 (masked), opaque pixels 0. A JPEG without alpha gives an all-black mask of the same size.
Right-click the node and choose "Open in MaskEditor" to paint a mask over the picture. The editor saves a copy of the file with the painted area as transparency (clipspace folder), so the MASK output carries your painting. That is the usual route for inpainting: Load Image -> MASK -> Set Latent Noise Mask or VAE Encode (for Inpainting).

입력

이름
타입
의미
image
COMBO/upload
A file from ComfyUI/input or a file you upload. PNG, JPEG, WebP and most formats PIL can open.

출력

이름
타입
의미
IMAGE
IMAGE
The picture as a tensor. Connect it to VAE Encode, ControlNet preprocessors, IP-Adapter, upscalers or Save Image.
MASK
MASK
Alpha channel as a mask (1 where the picture is transparent or painted in the mask editor).
AD
설치는 건너뛰세요: 클라우드에 미리 설치된 ComfyUI 워크플로
BitVector는 완성된 ComfyUI 워크플로를 자체 GPU에서 실행합니다. 설치 없음, 누락 노드 없음, 빨간 박스 없음. 휴대폰이나 노트북에서 열고 1분 안에 생성하세요.

Load Image 사용법

  1. Add the node (search "Load Image") and press "choose file to upload" or drop a file onto it.
  2. For img2img, connect IMAGE to VAE Encode and the resulting LATENT to KSampler with denoise around 0.5.
  3. For inpainting, right-click the node, open the Mask Editor, paint the area, save, and connect MASK to Set Latent Noise Mask.
  4. For ControlNet, connect IMAGE to the preprocessor (Canny, Depth, OpenPose) before Apply ControlNet.
  5. Keep the input size close to the model resolution; resize with Upscale Image first if it is huge.

설정과 팁

  • EXIF orientation is honoured, so phone photos load upright.
  • The node caches the file; if you overwrite a file with the same name, pick it again or press R to reload.
  • Loading a 4000 px photo straight into VAE Encode uses a lot of VRAM. Scale it down first.
  • Transparent PNGs from Photoshop give a ready-made MASK without the editor.
  • Batch several images with Load Image Batch (WAS) or the core Image Batch node when you need more than one.

Load Image 문제 해결

Prompt outputs failed validation: Invalid image file

원인
The workflow refers to a file name that is not in your input folder (a shared workflow), or the upload failed.

해결 방법
Upload the picture again with the button; the name in the widget must match a file in ComfyUI/input. Shared workflows always need their input images re-uploaded.

MASK output is empty / inpainting changes nothing

원인
The picture has no transparency and nothing was painted in the Mask Editor, so the mask is all zeros.

해결 방법
Open the Mask Editor from the right-click menu, paint the area and save; or feed a mask from Load Image (as Mask) or a segmentation node.

The whole picture is masked instead of the painted area

원인
The mask is inverted for the node that uses it, or the image has a fully transparent alpha channel.

해결 방법
Insert an Invert Mask node, or flatten the picture to remove the alpha before uploading.

Upload button does nothing or the browser hangs

원인
The file is very large or the server blocks uploads (for example when started with --disable-metadata or behind a proxy that limits body size).

해결 방법
Copy the file into ComfyUI/input manually and pick it from the dropdown after pressing R.

AD
이 워크플로를 휴대폰에서 실행하세요
이 페이지의 모든 워크플로는 모델과 커스텀 노드까지 갖춘 채 BitVector에 미리 설치되어 있습니다. 하나 고르고 프롬프트를 입력하면 끝. 설정 제로, 다운로드 없음.

Load Image에 관한 질문

Can I load an image from a URL?

Not with the core node. Custom packs (WAS, LoadImageFromUrl) add that; or download the file into the input folder.

Why are my colours slightly different after Load Image -> Save Image?

The pipeline converts to 8-bit RGB. Colour profiles are not applied, so wide-gamut or CMYK files shift. Convert to sRGB first.

What size should the picture be?

Any size works, but VAE Encode needs multiples of 8 pixels and large pictures cost VRAM. Most models like 1024 px on the long edge.

관련 노드

VAE Encode and VAE Encode (for Inpainting)
ComfyUI core
VAE Encode converts a pixel IMAGE into a LATENT for img2img; VAE Encode (for Inpainting) does the same while blanking the masked area so an inpainting model can repaint it.
Load Image (as Mask)
ComfyUI core
Load Image (as Mask) turns one channel of a picture (alpha, red, green or blue) into a MASK, so black-and-white mask files or painted layers can drive inpainting and compositing.
Save Image
ComfyUI core
Save Image writes the IMAGE tensor to ComfyUI/output as a PNG, with the whole workflow embedded in the file metadata so the picture can be dragged back into ComfyUI to restore the graph.
Apply ControlNet
ComfyUI core
Apply ControlNet attaches a guide image and a loaded ControlNet to the positive and negative CONDITIONING with strength and start/end percentages, so the sampler follows edges, depth or pose from the guide.
Upscale Image and Upscale Image By
ComfyUI core
Upscale Image (ImageScale) and Upscale Image By resize an IMAGE with classic interpolation (nearest, bilinear, bicubic, lanczos, area) to an exact size or by a factor, with no AI model involved.
AD
노드 고치기에 지치셨나요? 클라우드에 맡기세요
BitVector는 수백 개의 ComfyUI 워크플로를 빠른 클라우드 GPU에 설치하고 업데이트하고 테스트해 둡니다. Python도, CUDA 오류도, VRAM 한계도 없습니다. 어떤 브라우저에서든 됩니다.

더 많은 ComfyUI 노드

CLIP Text Encode (Prompt)
ComfyUI core
CLIP Text Encode turns a text prompt into CONDITIONING using the model text encoder. One node holds the positive prompt, a second one the negative prompt.
ComfyUI Manager
ComfyUI-Manager
ComfyUI Manager is the extension that installs, updates and fixes custom node packs and models from inside the interface, resolves missing nodes in imported workflows and snapshots your setup.
KSampler
ComfyUI core
KSampler runs the denoising loop: it takes the model, prompts and a latent and produces the finished latent image, controlled by seed, steps, cfg, sampler, scheduler and denoise.
Load Checkpoint
ComfyUI core
Load Checkpoint (CheckpointLoaderSimple) opens a .safetensors or .ckpt model file and hands out the three parts every workflow needs: the diffusion MODEL, the CLIP text encoder and the VAE.
VAE Decode
ComfyUI core
VAE Decode converts the sampled LATENT into a pixel IMAGE with the VAE; VAE Decode (Tiled) does the same in tiles for very large images.
Empty Latent Image
ComfyUI core
Empty Latent Image creates the blank latent canvas (width, height, batch_size) that text-to-image sampling starts from; dimensions must be multiples of 8 and match the model family.