Stability AI
The Stability AI AddOn is only available for Superpowers and Enterprise plans.
AI Stable Diffusion XL AddOn Text-to-Image
The Stability AI AddOn converts text to images. This feature allows your end users to submit descriptions of what they would like to see in their AI-generated images, and to also submit negative prompts of what they do not want to see in their image. Once they submit the prompt and negative prompt, they'll receive an AI-generated image that they can use directly within their designs. Visit the AI-generated white label end user guide to learn more about how this feature works for your application's end users.
How to activate
This section discusses the prerequisites and steps you need to take to get started with this feature.
Prerequisites
Stability AI API key
Stability AI addOn installed in the Beefree SDK Developer Console
Take the following steps to activate this feature:
Log in to the Beefree SDK Developer Console.
Navigate to the application you'd like install the addOn in.
Install the Stability AI addOn.
Provide the requested details.
Save your changes.
The addOn is now activated.
Configuration settings
The Stability AI text-to-image AddOn uses a new handle.
This handle is ai-image-generation
.
Consider the following settings when configuring this feature in your code:
imagesAvailable
number
Images available.
If not provided images are not counted and the user can generate an infinite number of images.
imagesUsed
number
The images used.
isGenerationDisabled
boolean
Disable the generation.
False by default.
upsellTrigger
number
Represents the number of remaining images that will show the upsell CTA.
Default is 3.
isUpsellEnabled
boolean
Enable or disable the upsell.
Default is false.
folderName
string
The name of the folder where the images will be saved.
Default is “AI Generated Images".
Sample code
This section includes sample code you can use to configure this AddOn.
Last updated