Generate Image (Stable Diffusion): Custom Function
Build a MindStudio AI that asks the app user for a description of an image, and then automatically generate that image.
What is Stable Diffusion?
Stable Diffusion is a text-to-image generator.
What Can I Do With MindStudio and Stable Diffusion?
Build a MindStudio AI that asks the app user for a description of an image, and then automatically generate that image.
What is Required for This Custom Function?
Stable Diffusion account.
Stable Diffusion API Key. See Get Stable Diffusion API Key.
Generate Image (Stable Diffusion) Custom Function.
Get Stable Diffusion API Key
Login to your Stable Diffusion account.
Navigate to API Keys.
Select Create API Key.
Select the Copy to Clipboard icon.
Store the API key for the API Key setting in MindStudio’s Stable Diffusion Custom Function.
Configuration
API Key
Enter your Stable Diffusion API key.
Prompt
Enter the prompt that describes the image to generate. Optionally, reference a Variable that stores the prompt. Example:
Output Variable
Enter the Variable in which to store the returned Stable Diffusion image URL. Note to not use double curly braces when entering the Variable name into the Output Variable setting. Example:
Last updated