> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Images Setup

> Generate state of the art images in various shapes and form with AI Images feature of Davinci AI.

## Introduction

Davinci AI’s AI Images features unlocks advanced image generation capabilities for your platform. With access to cutting edge solutions for 5 different AI Vendors, you can create varous types of AI images.

### List of AI Images vendors

<Card title="Supported AI vendors and models">
  * Google - Nano Banana Pro
  * Google - Nano Banana
  * OpenAI - Dalle 3 HD
  * OpenAI - Dalle 3
  * OpenAI - Dalle 2
  * Stability - Stable Diffusion Ultra
  * Stability - Stable Diffusion Core
  * Stability - Stable Diffusion 3.5 Large
  * Stability - Stable Diffusion 3.5 Large Turbo
  * Stability - Stable Diffusion 3.5 Medium
  * Stability - SDXL 1.0
  * Stability - Stable Diffusion v1.6
  * Midjourney - Fast
  * Midjourney - Relax
  * Midjourney - Turbo
  * Fal AI - FLUX.1 \[pro]
  * Fal AI - FLUX.1 \[schnell]
  * Fal AI - FLUX.1 \[dev]
  * Clipdrop
</Card>

<Card title="Supported Cloud Storages">
  * Local Server Storage
  * Amazon S3
  * Google Cloud Storage
  * Wasabi Cloud
  * Storj
  * Cloudflare R2
  * Dropbox
</Card>

## Setup AI Images

To be able to use AI Images feature, follow these steps to setup integration.

<Steps>
  <Step title="Step 1: Configure AI Image Vendors">
    Star with configuration of preferred cloud vendors. AI Images supports **OpenAI**, **Stable Diffusion**, **Midjourney** (Paid), **Fal AI**, **Clipdrop** vendors. <br />
    You can configure and enable any comination of these vendors.
    <Note>You can activate only 1 vendor or all of them at the same time as needed</Note>
    <Warning>Please note that only the models of the activated vendor(s) will be available for your users.</Warning>

    ### Configure preferred AI Images Vendors

    Use each link to get a detailed step by step guide for setting AI Image vendors including the ones that come as extensions.

    <CardGroup cols={2}>
      <Card title="OpenAI" horizontal href="/integrations/ai/openai">
        Setup OpenAI models
      </Card>

      <Card title="Stability AI" horizontal href="/integrations/ai/stability">
        Setup Stability AI models
      </Card>

      <Card title="Midjourney" horizontal href="/extensions/midjourney">
        Setup Midjourney models `(Extension)`
      </Card>

      <Card title="Fal AI" horizontal href="/extensions/flux">
        Setup FLUX models `(Extension)`
      </Card>

      <Card title="Clipdrop" horizontal href="/extensions/clipdrop">
        Setup Clipdrop model `(Extension)`
      </Card>
    </CardGroup>
  </Step>

  <Step title="Step 2">
    After you configured vendors and included their APIs go to the **Admin Panel** -> **AI Settings** -> **General AI Settings** and scroll down to **AI Image Settings** section.

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/1.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=1614824d782589a25d041456db9e9ae7" width="1058" height="296" data-path="images/core/images/1.png" />

    1. Turn on **AI Image Feature** checkbox.
    2. Under **AI Image Vendors** dropdown, inlcude list of AI vendors that you want your users to have access to. You can also control it via Subscription Plan in case if you have Extended License.
       <Note>Only models of the enabled vendors will be visible for your end users</Note>
  </Step>

  <Step title="Step 3">
    You can also select the default storage where the generated results will be stored under **Default Storage for AI Images**.
    <Warning>In case if you plan to use cloud storage to store results, make sure it is properly configured first.</Warning>

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/2.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=ef12d2f9c51f6555463e3cf3fade7ecd" width="499" height="259" data-path="images/core/images/2.png" />
  </Step>

  <Step title="Step 4">
    You can also set image task credits for each model under **Set AI Image Model Credits** button.
    <Note>It contains only models that come natively with the script, the ones that come as extensions needs to be configured on those extension setup pages respectively.</Note>
  </Step>

  <Step title="Step 5">
    If you want your free tier users to also have access to models, go to **Admin Panel** -> **AI Settings** -> **Free Trial Features** tab and turn on **AI Image Feature Access (for Non-Subscrbers)** checkbox.

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/3.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=acf2c6e7845feab67bb65944b46c6ab9" width="325" height="71" data-path="images/core/images/3.png" />

    <Note>For Subscribers, you can list completely different models and limit free tier users with only few AI vendor access.</Note>
  </Step>

  <Step title="Step 6">
    <Check>
      Congratulations! You have successfully completed the AI Images setup process.
    </Check>
  </Step>
</Steps>

## How to Use AI Images

After you have configured your respective AI vendors and setup rest of the settings as explained, go to **User Panel** -> **AI Images** tab.

1. On the right side menu panel, you can see your control panel.

<img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/5.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=53aced04e4040b4b790747eb315ac955" width="302" height="684" data-path="images/core/images/5.png" />

2. You can set following settings on the control panel:

* Change your image model
* Set number of images to generated
* Set image resolution
* Set image style
* Set image lighthing style
* Set image medium
* Set image mood
* Select image artist name

3. Next, enter your image prompt that you want to generate and click on the **Generate** button.

<img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/6.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=5bc68a3f93b57611f94c70fbe57344fa" width="853" height="256" data-path="images/core/images/6.png" />

4. And you can see your image generated, if you click on **View** button, you can see all the details and settings related to that image.

<img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/7.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=ed6e5285df53fff63b3d4ed44a879c72" width="1156" height="629" data-path="images/core/images/7.png" />

## How to Create Image Prompts

You can also create default prompts that everyone would be able to use. To create one, follow the intructions below.

1. Go to the **Admin Panel** -> **AI Management** -> **AI Image Prompts** tab, and click on **Create New Prompt** button.

<img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/8.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=22594958a16697ab44cd8a95b0838594" width="477" height="208" data-path="images/core/images/8.png" />

2. Provide prompt **Title** and the **Prompt** itself and click on **Create** button.

<img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/9.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=478134a32f56658657358a643c86c56d" width="910" height="443" data-path="images/core/images/9.png" />

3. That is it, now your prompt is available under AI Images page. Simply click on the **Prompts** link there, and it will show you the list of created prompts.

<img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/core/images/10.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=ceb1477fcf4c5b3f258a7f92c78b297a" width="851" height="479" data-path="images/core/images/10.png" />
