# AI-Generated Images

## AI-Generated Images Overview

With this feature, you can easily and quickly create AI-generated images using the builder and add them to your email, page, or popup designs. Powered by Stable Diffusion from Stability AI, this model is famous for its accuracy and its ability to produce stunning visuals. This is particularly beneficial for anyone who needs high-quality images for their designs.

## Prerequisites

Prior to using this feature, ensure you have the following:

* Stability AI AddOn Activated and available in the builder

## How to use

Take the following steps to use AI to generate images and add them to your designs within the builder.

1. Enter your design.
2. Navigate to the section of your design you'd like to an an AI-generated image to.
3. Drag and drop the **Image** content block on to the canvas where you'd like your image to appear.
4. Click on the **Image** content block on the canvas.

   You will notice the **Content Properties** appear inside the panel located on the right-hand side of the screen.
5. Click the **Create with AI** button.
6. Complete the following required information:
   1. **Prompt:** A description of what you'd like the image to be of.
   2. **Negative prompt:** A description of what you do not want included in the image.
   3. **Aspect ratio:** You can select 1:1, 4:3, 3:2, or 16:9.&#x20;
   4. **Style:** The type of style you'd like to apply to your image.
   5. **Advanced Options** (Optional): You can set the CGF tolerance and the Steps.\*
7. Click **Generate image**

The AI-generated image will appear after a few seconds. You can decide to apply the image, to regenerate it, or you can edit the prompts and settings to generate a new image.

\*Reference the following definitions to understand the impact of setting CFG tolerance and steps when submitting your prompt to create an image.

* **CFG Tolerance:** Controls how closely the AI should adhere to the prompt. Higher values lead to more accurate interpretations, while lower values allow for more creative freedom.
* **Steps:** The number of processing iterations the AI will perform. More steps typically result in higher-quality and more detailed images, but take longer to generate.

The following video provides a visual example on how to use the **Create with AI** image option.

{% embed url="<https://drive.google.com/file/d/1lFfHk-b3ekseIiqkE0WVGdZMUE8YSl5R/view?usp=sharing>" %}


---

# 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.beefree.io/end-user-guide/ai-tools-for-content-creation/ai-generated-images.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.
