2025-04-02 17:29:55 +09:00
2025-04-02 17:17:09 +09:00
2025-04-02 17:17:09 +09:00
2025-04-02 17:17:09 +09:00
2025-04-02 17:17:09 +09:00
2025-04-02 17:06:04 +09:00
2025-04-02 17:29:55 +09:00

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.

S
Description
No description provided
Readme MIT
920 KiB
Languages
Python 100%