# Dall-E 3 (image generation) Node

### Overview&#x20;

The DALL-E 3 Node enables your flow to generate high-quality images using OpenAI's DALL-E 3 model. This advanced image generation node offers enhanced capabilities including better prompt interpretation, more detailed outputs, and additional customization options compared to its predecessor. The node supports both **OpenAI** and **Azure OpenAI** providers.

Usage cost: 2 credits

Configuration Settings

1. **Model Selection**
   * Model\*: Select DALL-E 3 model from available providers
   * Supported Providers:
     * OpenAI
     * Azure OpenAI
2. **Image Generation**
   * Prompt\*: Text description of the image to generate
   * Quality\*: Image quality setting
     * Standard: Regular quality, faster generation
     * HD: Higher detail and clarity, longer generation time
   * Size\*: Output resolution options
     * 1024x1024: Square format
     * 1792x1024: Landscape format
     * 1024x1792: Portrait format
   * Style\*: Image rendering style
     * Vivid: Enhanced colors and contrast
     * Natural: More photorealistic appearance

### Outputs

* `image` (Image): Generated image object for use in subsequent nodes
* `base64_image` (string): Base64-encoded image data

### Best Practices

1. **Prompt Engineering**
   * Provide detailed, clear descriptions
   * Include specific visual elements:
     * Subject matter and composition
     * Art style and medium
     * Lighting and atmosphere
     * Color palette and mood
   * Use natural language rather than keyword lists
   * Specify important details first
   * Example prompt structure:
     * "A professional photograph of \[subject] in \[setting], \[lighting], \[style]"
2. **Quality Selection**
   * Use Standard quality for:
     * Rapid prototyping
     * Draft versions
     * Cost-effective generation
   * Use HD quality for:
     * Final deliverables
     * Detailed artwork
     * Professional content
3. **Size Selection**
   * Choose 1024x1024 for:
     * Social media posts
     * Profile pictures
     * Universal compatibility
   * Choose 1792x1024 for:
     * Landscape photography
     * Banner images
     * Wide-format content
   * Choose 1024x1792 for:
     * Mobile content
     * Story formats
     * Vertical layouts
4. **Style Selection**
   * Use Vivid for:
     * Digital art
     * Marketing materials
     * Eye-catching visuals
   * Use Natural for:
     * Product photography
     * Realistic scenarios
     * Professional documentation

### Common Issues

* API rate limiting and quotas
* Generation timeouts with HD quality
* Network issues during image retrieval


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.waterflai.ai/studio/studio-builders/flow-components-nodes/dall-e-3-image-generation-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
