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

# Stable Diffusion (Image Generation)

Here are some quick steps to use Stable Diffusion to generate images on TypingMind:

## Step 1: Get Stable Diffusion API Key

* Go to [https://platform.stability.ai/account/keys](https://platform.stability.ai/account/keys) to get the API key from Stability AI.

<Note>
  By default, You will have 25 Free Credits, check here for more details: [https://platform.stability.ai/pricing](https://platform.stability.ai/pricing)

  If your usage exceeds the free credits, you will need to purchase more credits here: [https://platform.stability.ai/account/credits](https://platform.stability.ai/account/credits)
</Note>

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/plugins/stable-diffusion-(image-generation)/Untitled.png" alt="Untitled" />

# Step 2: Set up on TypingMind

* Open **Plugin settings** (click on the plugin icon, choose “Stable diffusion” plugin to open settings, and switch to the Settings tab)
* Enter the generated API key within the Setting tab of Stable Diffusion Image (v2 or v3)
* Click Save
* Enter your prompt so it can generate images properly based on your description.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/plugins/stable-diffusion-(image-generation)/Untitled%201.png" alt="Untitled" />

<Note>
  Stable Diffusion v2 and Stable Diffusion v3 are all available on TypingMind
</Note>
