- Installation
- Settings
- Stability.ai APIs

Troubleshooting: If you are having trouble saving images, the issue may be the "mod_security" limit on your server. You may need to change the "SecRequestBodyLimit" setting in your ModSecurity configuration to increase the limit and allow larger image files to be uploaded (min. 10MB). If you do not know how to do this, please contact your hosting provider.

## Installation

The first thing you need to do when you want to install a new WordPress plugin is to login to your site admin page. Once there, go to Plugins -> Add New. Click "Upload Plugin" button and upload the zip file from your local hard drive.

## Settings

##### User Roles

Select which user roles are allowed to use the ai tools. Admins are always allowed. For more information about WordPress user roles and capabilities click here...

If you need to edit default WordPress roles or add new ones, you can use User Role Editor plugin.

##### Stability.ai API Key

You can create an account by visiting dreamstudio.ai. Access to your API keys can then be managed through DreamStudio's account page. All DreamStudio accounts are assigned a default API key on creation.To find your key, first navigate to your profile picture in the upper right hand corner and click on it.

In the `API Keys` panel you'll see a listing of all active API keys for your account.

Copy the contents of any key you'd like to use by clicking `Copy`.

Paste the API key to "Stability.ai API key" field.

Your API key needs to be kept secret. Someone could drain your credits if your key is compromised. If you suspect your key has been leaked, first create a new one from your account page, and then delete the old one as shown below.

Credits are required to use the API. All new users are granted 25 free credits upon creating an account. Your 25 initial free credits represent approximately 50 images with the API's default settings.

After depleting your free credits, additional credits can be purchased via your DreamStudio Account page. Credits can be purchased on the DreamStudio Account page in any desired amount, with a minimum $10 purchase for 1000 credits.

##### Output Format

The format of the generated images.

##### Remaining Credits

Show or hide remaining credit amount.

## Stability.ai APIs

#### Generate New Image

Stability.ai represents the best quality achievable at high speed on text-to-image generation. No prompt engineering is required! Try asking for a style, a scene, or a character, and see what you get.

Prompt: What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.

Negative Prompt: A blurb of text describing what you do not wish to see in the output image. This is an advanced feature.

Aspect Ratio: Controls the aspect ratio of the generated image.

Style Preset: Guides the image model towards a particular style.

Seed: A specific value that is used to guide the 'randomness' of the generation. This is an optional field.

#### Image Editing Services

Remove Background: The Remove Background service accurately segments the foreground from an image and implements and removes the background.

Upscaler: Fast Upscaler service enhances image resolution by 4x using predictive and generative AI. This lightweight and fast service (processing in ~1 second) is ideal for enhancing the quality of compressed images, making it suitable for social media posts and other applications.

Outpaint: The Outpaint service inserts additional content in an image to fill in the space in any direction. Compared to other automated or manual attempts to expand the content in an image, the Outpaint service should minimize artifacts and signs that the original image has been edited.

Reimagine: This service extracts stylistic elements from an input image (control image) and uses it to guide the creation of an output image based on the prompt. The result is a new image in the same style as the control image.

Replace: Users can leverage a search prompt to identify an object in simple language to be replaced. The service will automatically segment the object and replace it with the object requested in the prompt.

Recolor: The Search and Recolor service provides the ability to change the color of a specific object in an image using a prompt. The Search and Recolor service will automatically segment the object and recolor it using the colors requested in the prompt.

## Need a Customization?

We partner with Codeable to provide a trusted resource for hiring top quality premium (paid) WordPress support. For anything that falls outside of the features our plugin offers, you can get a free quote from Codeable.