Learn how to use the OpenAI DALL·E 2 API node to generate images in ComfyUI
Parameter | Description |
---|---|
prompt | Text prompt describing the image content you want to generate |
Parameter | Description | Options/Range | Default Value |
---|---|---|---|
seed | Seed value for image generation (currently not implemented in the backend) | 0 to 2^31-1 | 0 |
size | Output image dimensions | ”256x256”, “512x512”, “1024x1024" | "1024x1024” |
n | Number of images to generate | 1 to 8 | 1 |
Parameter | Description | Options/Range | Default Value |
---|---|---|---|
image | Optional reference image for image editing | Any image input | None |
mask | Optional mask for local inpainting | Mask input | None |
OpenAI DALL·E 2
node, input the description of the image you want to generate in the prompt
node, connect a Save Image
node, and then run the workflow.
Load Image
node to load the imageMaskEditor
image
input of the OpenAI DALL·E 2 nodemask
input of the OpenAI DALL·E 2 nodeprompt
nodeWhy can't I find the API nodes?
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.Why can't I use / log in to the API Nodes?
127.0.0.1
or localhost
, which may mean that you cannot use the API Nodes in a ComfyUI service started with the --listen
parameter in a LAN environment.Why can't I use API node even after logging in, or why does it keep asking me to log in while using?
127.0.0.1
or localhost
access is supported.Can API Nodes be used for free?
How to purchase credits?
User
section in the settings menu to log in.Settings
→ Credits
. We use a prepaid system, so there will be no unexpected charges.Are unused credits refundable?
Can credits go negative?
Where can I check usage and expenses?
Is it possible to use my own API Key?
Do credits expire?
Can credits be transferred or shared?
Can I use the same account on different devices?
How can I request for my account or information to be deleted??