
- 텍스트-to-image 생성
- 이미지 편집 기능 (마스크를 통한 인페인팅)
노드 개요
OpenAI DALL·E 2 노드는 OpenAI의 이미지 생성 API를 통해 동기식으로 이미지를 생성합니다. 텍스트 프롬프트를 받아 설명과 일치하는 이미지를 반환합니다.매개변수 설명
필수 매개변수
| 매개변수 | 설명 |
|---|---|
prompt | 생성하고자 하는 이미지의 내용을 설명하는 텍스트 프롬프트 |
위젯 매개변수
| 매개변수 | 설명 | 옵션/범위 | 기본값 |
|---|---|---|---|
seed | 이미지 생성을 위한 시드 값 (현재 백엔드에서는 구현되지 않음) | 0부터 2^31-1까지 | 0 |
size | 출력 이미지 크기 | ”256x256”, “512x512”, “1024x1024" | "1024x1024” |
n | 생성할 이미지 수 | 1부터 8까지 | 1 |
선택적 매개변수
| 매개변수 | 설명 | 옵션/범위 | 기본값 |
|---|---|---|---|
image | 이미지 편집을 위한 선택적 참조 이미지 | 임의의 이미지 입력 | 없음 |
mask | 지역 인페인팅을 위한 선택적 마스크 | 마스크 입력 | 없음 |
사용 방법
워크플로우 예시
이 파트너 노드는 현재 두 가지 워크플로우를 지원합니다:- 텍스트 to 이미지
- 인페인팅
이미지 to 이미지 워크플로우는 지원되지 않습니다
텍스트 to 이미지 예시
아래 이미지는 간단한 텍스트 to 이미지 워크플로우를 포함하고 있습니다. 해당 이미지를 다운로드하여 ComfyUI에 드래그해 워크플로우를 로드해 보세요.
해당 예시는 매우 간단합니다.

OpenAI DALL·E 2 노드를 로드하고, prompt 노드에 생성하고자 하는 이미지의 설명을 입력한 뒤, Save Image 노드를 연결한 후 워크플로우를 실행하기만 하면 됩니다.
인페인팅 워크플로우
DALL·E 2는 이미지 편집 기능을 지원하며, 마스크를 사용해 교체할 영역을 지정할 수 있습니다. 아래는 간단한 인페인팅 워크플로우 예시입니다:1. 워크플로우 파일 다운로드
아래 이미지를 다운로드해 ComfyUI에 드래그하여 해당 워크플로우를 로드하세요.
다음 이미지를 입력으로 사용하겠습니다:
2. 워크플로우 파일 사용법

Load Image노드를 사용해 이미지를 로드하세요- 로드된 이미지 노드를 오른쪽 클릭한 뒤
MaskEditor를 선택하세요 - 마스크 에디터에서 붓을 사용해 다시 그려야 할 영역을 그려주세요
- 로드된 이미지를 OpenAI DALL·E 2 노드의
image입력에 연결하세요 - 마스크를 OpenAI DALL·E 2 노드의
mask입력에 연결하세요 prompt노드에서 프롬프트를 수정하세요- 워크플로우를 실행하세요
- 이미지 편집 기능을 사용하려면 이미지와 마스크를 모두 제공해야 합니다(둘 다 필수).
- 마스크와 이미지는 반드시 같은 크기여야 합니다.
- 큰 이미지를 입력하면 노드가 자동으로 이미지를 적절한 크기로 조정합니다.
- API가 반환하는 URL은 짧은 시간 동안 유효하니 결과를 신속히 저장하세요.
- 각 생성에는 크레딧이 소모되며, 이미지 크기와 수량에 따라 요금이 부과됩니다.
FAQ
Why can't I find the Partner Nodes?
Why can't I find the Partner Nodes?
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.
Why can't I use / log in to the Partner Nodes?
Why can't I use / log in to the Partner Nodes?
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.1orlocalhost, which may mean that you cannot use the Partner Nodes in a ComfyUI service started with the--listenparameter 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.
Why can't I use Partner Node even after logging in, or why does it keep asking me to log in while using?
Why can't I use Partner Node even after logging in, or why does it keep asking me to log in while using?
- Currently, only
127.0.0.1orlocalhostaccess is supported. - Ensure your account has enough credits.
Can Partner Nodes be used for free?
Can Partner Nodes be used for free?
Partner Nodes require credits for API calls to closed-source models, so they do not support free usage.
How to purchase credits?
How to purchase credits?
Please refer to the following documentation:
- Comfy Account: Find the
Usersection in the settings menu to log in. - Credits: After logging in, the settings interface will show the credits menu. You can purchase credits in
Settings→Credits. We use a prepaid system, so there will be no unexpected charges. - Complete the payment through Stripe.
- Check if the credits have been updated. If not, try restarting or refreshing the page.
Are unused credits refundable?
Are unused credits refundable?
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.
Can credits go negative?
Can credits go negative?
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.
Where can I check usage and expenses?
Where can I check usage and expenses?
Please visit the Credits menu after logging in to check the corresponding credits.
Is it possible to use my own API Key?
Is it possible to use my own API Key?
Currently, the Partner Nodes are still in the testing phase and do not support this feature yet, but we have considered adding it.
Do credits expire?
Do credits expire?
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
Can credits be transferred or shared?
Can credits be transferred or shared?
Can I use the same account on different devices?
Can I use the same account on different devices?
We do not limit the number of devices that can log in; you can use your account anywhere you want.
How can I request for my account or information to be deleted??
How can I request for my account or information to be deleted??
Email a request to support@comfy.org and we will delete your information