ComfyUI Extension: DalleImageNodes - OpenAI DALL·E Nodes for ComfyUI

Authored by cleanlii

Created

Updated

1 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

DalleImageNodes is a custom extension for ComfyUI that integrates OpenAI's DALL·E 3 API for: Image generation, Inpainting (image editing), Image variation. This project supports the latest OpenAI Python SDK (v1.x) and automatically handles image resizing and format requirements (RGBA, fixed sizes) based on the examples from the offical Dall-E website.

Looking for a different extension?

Custom Nodes (3)

README

DalleImageNodes - OpenAI DALL·E Nodes for ComfyUI

Overview

DalleImageNodes is a custom extension for ComfyUI that integrates OpenAI's DALL·E 3 API for:

  • Image generation
  • Inpainting (image editing)
  • Image variation

This project supports the latest OpenAI Python SDK (v1.x) and automatically handles image resizing and format requirements (RGBA, fixed sizes) based on the examples from the offical Dall-E website.


Node Previews

Image Generation

generation-screenshot

Image Editing

edit-screenshot

Image Variation

variation-screenshot


Output Examples

Example 1

example-1

Example 2

example-2


Installation

  1. Copy DalleImageNodes_async_final.py into any folder under your ComfyUI/custom_nodes/ directory.
  2. Restart ComfyUI.

Configuration

Create a config.json file in the same folder as the .py node file:

{
  "openAI_API_Key": "your-api-key"
}

This file is required for authentication with OpenAI's API.


Features

  • Text-to-image generation using DALL·E 3
  • Inpainting with prompt and mask
  • Image variation support
  • Automatic RGBA conversion and resizing
  • Batch generation
  • Fully async (based on AsyncOpenAI)

License

MIT License.

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more