> For the complete documentation index, see [llms.txt](https://infinitypbr.gitbook.io/magic-pig-games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitypbr.gitbook.io/magic-pig-games/other/ai-service-integrations/open-ai-chatgpt-and-dall-e/dall-e.md).

# Dall-E

v1.0

{% embed url="<https://www.youtube.com/watch?v=xbwm9D5zwAw>" %}

Select menu `Window/AI Service Integrations/Dall-E Image Generation` to load the window, or right-click an `String` field, `List`, or `Array` in your project and select `Dall-E/Image Generator`

{% hint style="success" %}
Generating `Texture2D` or `Sprite` images via the context menu will populate the `field`, `list` or `array` you selected, and the generated image will be set as a `Sprite` or `Texture2D` depending on the field type.
{% endhint %}

## Dall-E Settings

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FfxNORZrzq2s5Z1KlxUKs%2FScreenshot%202025-07-09%20at%2010.40.10%E2%80%AFPM.png?alt=media&amp;token=07fad052-014b-479c-b355-6a4105fec040" alt=""><figcaption></figcaption></figure>

You can create multiple images at once from the same prompt, and select the model you'd like. For image resolution, you can choose from a few pre-set options.

## Prompt

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2Fsj6uwwycOQ9StySfxBIa%2FScreenshot%202025-07-09%20at%2010.40.19%E2%80%AFPM.png?alt=media&amp;token=d7fbd682-cfbd-4fe6-8569-a84f663c7630" alt=""><figcaption></figcaption></figure>

You must provide content in the "Image to Create" field, and you can provide an optional style description as well. You can also put the style description in the "Image to Create" field, but the [**Dall-E History Window**](/magic-pig-games/other/ai-service-integrations/open-ai-chatgpt-and-dall-e/dall-e/dall-e-history-window.md) will organize previous prompts by both fields, so if you use a consistent Style Description, you will be able to see all images created using that description.

## Export Options

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FnsNd9y2mT2YBbpidyRqN%2FScreenshot%202025-07-09%20at%2010.44.08%E2%80%AFPM.png?alt=media&amp;token=5454117e-b858-4ee1-a588-ab83b43a739a" alt=""><figcaption></figcaption></figure>

You can choose the Root Folder and Naming Pattern for your generated images. Use the variables in the strings to automate the organization.

## Generate Images

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FEqPn8q2hT7yar9UrpDPu%2FScreenshot%202025-07-09%20at%2010.44.27%E2%80%AFPM.png?alt=media&amp;token=6fef35db-1c89-4edb-8046-5ae481585f0f" alt=""><figcaption></figcaption></figure>

Images generated will display. Click them to load them in the [**Image Viewer**](/magic-pig-games/other/ai-service-integrations/image-viewer.md). Click the image in the viewer to close the viewer.

## Style Reference with ChatGPT

You can select an existing image, and ask ChatGPT to describe it, with the result added to the Style Description automatically.

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FzuloAdcCQ9tzE7xvSDOT%2FScreenshot%202025-07-09%20at%2010.40.37%E2%80%AFPM.png?alt=media&amp;token=9eb86884-0dc1-49c1-814e-45fc70dab42c" alt=""><figcaption></figcaption></figure>

Often the description provided will help Dall-E produce images with a similar look and feel — even if the subject doesn't match!

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FUipVNT6TgGTa7ocRyEMd%2FScreenshot%202025-07-09%20at%2010.43.57%E2%80%AFPM.png?alt=media&amp;token=39433658-b881-4012-9187-da2cbadf8575" alt="" width="563"><figcaption></figcaption></figure>
