
- 텍스트 기반 이미지 생성
- 이미지 편집 기능(마스크를 통한 인페인팅)
노드 개요
OpenAI GPT-Image-1 노드는 OpenAI의 이미지 생성 API를 통해 동기식으로 이미지를 생성합니다. 텍스트 프롬프트를 입력받아 설명과 일치하는 이미지를 반환합니다. GPT-Image-1은 현재 이용 가능한 OpenAI의 가장 고급 이미지 생성 모델로, 매우 세밀하고 사실적인 이미지를 만들 수 있습니다.매개변수 설명
필수 매개변수
| 매개변수 | 유형 | 설명 |
|---|---|---|
prompt | 텍스트 | 생성하려는 이미지의 내용을 설명하는 텍스트 프롬프트 |
위젯 매개변수
| 매개변수 | 유형 | 옵션 | 기본값 | 설명 |
|---|---|---|---|---|
seed | 정수 | 0-2147483647 | 0 | 생성 결과를 제어하는 데 사용되는 난수 시드 |
quality | 옵션 | low, medium, high | low | 이미지 품질 설정, 비용 및 생성 시간에 영향 |
background | 옵션 | opaque, transparent | opaque | 반환된 이미지에 배경이 있는지 여부 |
size | 옵션 | auto, 1024x1024, 1024x1536, 1536x1024 | auto | 생성된 이미지의 크기 |
n | 정수 | 1-8 | 1 | 생성할 이미지의 수 |
선택적 매개변수
| 매개변수 | 유형 | 옵션 | 기본값 | 설명 |
|---|---|---|---|---|
image | 이미지 | 임의의 이미지 입력 | 없음 | 이미지 편집을 위한 선택적 참조 이미지 |
mask | 마스크 | 마스크 입력 | 없음 | 인페인팅을 위한 선택적 마스크 (흰색 영역이 교체됨) |
사용 예시
텍스트 기반 이미지 생성 예시
아래 이미지는 간단한 텍스트 기반 이미지 워크플로우를 포함하고 있습니다. 이미지를 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 보세요.
해당 워크플로우는 매우 간단합니다:

OpenAI GPT-Image-1 노드를 로드하고, prompt 노드에 생성하려는 이미지의 설명을 입력한 후, Save Image 노드를 연결한 다음 워크플로우를 실행하기만 하면 됩니다.
이미지 기반 이미지 생성 예시
아래 이미지는 간단한 이미지 기반 이미지 워크플로우를 포함하고 있습니다. 이미지를 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 보세요.
다음 이미지를 입력으로 사용하겠습니다:
이 워크플로우에서는 OpenAI GPT-Image-1 노드를 사용해 이미지를 생성하고, Load Image 노드를 사용해 입력 이미지를 로드한 다음, 이를 OpenAI GPT-Image-1 노드의 image 입력에 연결합니다.

여러 이미지 입력 예시
아래 이미지를 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 보세요.
다음 모자 이미지를 추가 입력 이미지로 사용하겠습니다.
해당 워크플로우는 아래 이미지와 같습니다:

Batch Images 노드를 사용해 여러 이미지를 OpenAI GPT-Image-1 노드에 로드합니다.
인페인팅 워크플로우
GPT-Image-1은 이미지 편집 기능도 지원하며, 마스크를 사용해 교체할 영역을 지정할 수 있습니다. 아래는 간단한 인페인팅 워크플로우 예시입니다: 아래 이미지를 다운로드하여 ComfyUI로 드래그해 해당 워크플로우를 로드해 보세요. 이미지 기반 이미지 생성 섹션에서 사용한 입력 이미지를 계속 사용하겠습니다.
해당 워크플로우는 아래 이미지와 같습니다:

Load Image 노드에서 마우스 오른쪽 클릭 메뉴를 통해 MaskEditor를 사용해 마스크를 그린 다음, 이를 OpenAI GPT-Image-1 노드의 mask 입력에 연결해 워크플로우를 완성합니다.
참고사항
- 마스크와 이미지는 반드시 같은 크기여야 합니다.
- 큰 이미지를 입력할 경우, 노드가 자동으로 이미지를 적절한 크기로 조정합니다.
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