메인 콘텐츠로 건너뛰기
OpenAI DALL·E 2 노드 스크린샷 OpenAI DALL·E 2는 ComfyUI 파트너 노드 시리즈의 일부로, 사용자가 OpenAI의 DALL·E 2 모델을 통해 이미지를 생성할 수 있도록 합니다. 이 노드는 다음을 지원합니다:
  • 텍스트-to-image 생성
  • 이미지 편집 기능 (마스크를 통한 인페인팅)

노드 개요

OpenAI DALL·E 2 노드는 OpenAI의 이미지 생성 API를 통해 동기식으로 이미지를 생성합니다. 텍스트 프롬프트를 받아 설명과 일치하는 이미지를 반환합니다.
To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the Partner Nodes Overview section of the documentation to understand the specific requirements for using the Partner Nodes.
Make sure your ComfyUI is updated.Workflows in this guide can be found in the Workflow Templates. If you can’t find them in the template, your ComfyUI may be outdated. (Desktop version’s update will delay sometime)If nodes are missing when loading a workflow, possible reasons:
  1. You are not using the latest ComfyUI version (Nightly version)
  2. Some nodes failed to import at startup

매개변수 설명

필수 매개변수

매개변수설명
prompt생성하고자 하는 이미지의 내용을 설명하는 텍스트 프롬프트

위젯 매개변수

매개변수설명옵션/범위기본값
seed이미지 생성을 위한 시드 값 (현재 백엔드에서는 구현되지 않음)0부터 2^31-1까지0
size출력 이미지 크기”256x256”, “512x512”, “1024x1024""1024x1024”
n생성할 이미지 수1부터 8까지1

선택적 매개변수

매개변수설명옵션/범위기본값
image이미지 편집을 위한 선택적 참조 이미지임의의 이미지 입력없음
mask지역 인페인팅을 위한 선택적 마스크마스크 입력없음

사용 방법

워크플로우 예시

이 파트너 노드는 현재 두 가지 워크플로우를 지원합니다:
  • 텍스트 to 이미지
  • 인페인팅
이미지 to 이미지 워크플로우는 지원되지 않습니다

텍스트 to 이미지 예시

아래 이미지는 간단한 텍스트 to 이미지 워크플로우를 포함하고 있습니다. 해당 이미지를 다운로드하여 ComfyUI에 드래그해 워크플로우를 로드해 보세요. ComfyUI openai-dall-e-2 워크플로우 해당 예시는 매우 간단합니다. ComfyUI openai-dall-e-2 워크플로우 예시 OpenAI DALL·E 2 노드를 로드하고, prompt 노드에 생성하고자 하는 이미지의 설명을 입력한 뒤, Save Image 노드를 연결한 후 워크플로우를 실행하기만 하면 됩니다.

인페인팅 워크플로우

DALL·E 2는 이미지 편집 기능을 지원하며, 마스크를 사용해 교체할 영역을 지정할 수 있습니다. 아래는 간단한 인페인팅 워크플로우 예시입니다:

1. 워크플로우 파일 다운로드

아래 이미지를 다운로드해 ComfyUI에 드래그하여 해당 워크플로우를 로드하세요. ComfyUI openai-dall-e-2 워크플로우 다음 이미지를 입력으로 사용하겠습니다: ComfyUI openai-dall-e-2 워크플로우 입력

2. 워크플로우 파일 사용법

ComfyUI openai-dall-e-2 워크플로우 예시 이 워크플로우는 비교적 간단하므로, 직접 해당 워크플로우를 수동으로 구현하고 싶다면 아래 단계를 따라 해보세요:
  1. Load Image 노드를 사용해 이미지를 로드하세요
  2. 로드된 이미지 노드를 오른쪽 클릭한 뒤 MaskEditor를 선택하세요
  3. 마스크 에디터에서 붓을 사용해 다시 그려야 할 영역을 그려주세요
  4. 로드된 이미지를 OpenAI DALL·E 2 노드의 image 입력에 연결하세요
  5. 마스크를 OpenAI DALL·E 2 노드의 mask 입력에 연결하세요
  6. prompt 노드에서 프롬프트를 수정하세요
  7. 워크플로우를 실행하세요
참고사항
  • 이미지 편집 기능을 사용하려면 이미지와 마스크를 모두 제공해야 합니다(둘 다 필수).
  • 마스크와 이미지는 반드시 같은 크기여야 합니다.
  • 큰 이미지를 입력하면 노드가 자동으로 이미지를 적절한 크기로 조정합니다.
  • API가 반환하는 URL은 짧은 시간 동안 유효하니 결과를 신속히 저장하세요.
  • 각 생성에는 크레딧이 소모되며, 이미지 크기와 수량에 따라 요금이 부과됩니다.

FAQ

Please update your ComfyUI to the latest version (the latest commit or the latest desktop version). We may add more API support in the future, and the corresponding nodes will be updated, so please keep your ComfyUI up to date.
Please note that you need to distinguish between the nightly version and the release version. In some cases, the latest release version may not be updated in time compared to the nightly version. Since we are still iterating quickly, please ensure you are using the latest version when you cannot find the corresponding node.
API access requires that your current request is based on a secure network environment. The current requirements for API access are as follows:
  • The local network only allows access from 127.0.0.1 or localhost, which may mean that you cannot use the Partner Nodes in a ComfyUI service started with the --listen parameter in a LAN environment.
  • Able to access our API service normally (a proxy service may be required in some regions).
  • Your account does not have enough credits.
  • Currently, only 127.0.0.1 or localhost access is supported.
  • Ensure your account has enough credits.
Partner Nodes require credits for API calls to closed-source models, so they do not support free usage.
Please refer to the following documentation:
  1. Comfy Account: Find the User section in the settings menu to log in.
  2. Credits: After logging in, the settings interface will show the credits menu. You can purchase credits in SettingsCredits. We use a prepaid system, so there will be no unexpected charges.
  3. Complete the payment through Stripe.
  4. Check if the credits have been updated. If not, try restarting or refreshing the page.
Currently, we do not support refunds for credits. If you believe there is an error resulting in unused balance due to technical issues, please contact support.
Credits are not intended to be used as a negative balance or credit line. However, due to race conditions where partner nodes don’t always report costs before execution, a single execution may consume more credits than your remaining balance and temporarily result in a negative balance after completion. When your balance is negative, you will not be able to run Partner Nodes until you top up and restore a positive balance. Please ensure you have enough credits before making API calls.
Please visit the Credits menu after logging in to check the corresponding credits.
Currently, the Partner Nodes are still in the testing phase and do not support this feature yet, but we have considered adding it.
Yes, the expiration depends on the type of credits:
  • Monthly credits: Expire at the end of your billing period
  • Top-up credits: Expire 1 year from the date of purchase
No, your credits cannot be transferred to other users and are limited to the currently logged-in account, but we do not restrict the number of devices that can log in.
We do not limit the number of devices that can log in; you can use your account anywhere you want.
Email a request to support@comfy.org and we will delete your information