Stable Diffusion Web UI
The Stable Diffusion web UI piece in ZBrain Flow connects to your local or hosted Stable Diffusion interface, allowing you to generate AI images from text prompts. This action is ideal for workflows that involve visual generation, content automation, or creative experimentation.
How to use Stable Diffusion Web UI in ZBrain Flow
Select Stable Diffusion web UI as your connection
Click the '+' button in your Flow and search for Stable Diffusion Web UI.
Select it and choose the action ‘Text to Image’.
How to connect to your Stable Diffusion web UI
Before using the Stable Diffusion web UI, you first need to connect to the UI. The steps involved in it are:
From the ‘Connection’ dropdown, select ‘Create Connection.’
A pop-up window appears where you need to do the following:
In the ‘Connection Name’ field, enter a label for your connection
In the ‘Stable Diffusion web UI API base URL’ field, provide your Web UI endpoint
Click ‘Save’ to create the connection.
How to configure the text-to-image action
In the ‘Prompt’ field, enter a text description of the image you want to generate.
In the ‘Model’ field, select the model to be used for image generation.
Under ‘Advanced parameters’, add any optional key-value pairs based on your model’s capabilities. This can include fields like:
‘steps’
‘cfg_scale’
‘width’ and ‘height’
‘negative_prompt’
Refer to your Web UI’s API documentation for valid parameter names and formats.
Last updated