This is an n8n community node. It lets you use Stability AI in your n8n workflows.
Stability AI is an API for AI generated images.
n8n is a fair-code licensed workflow automation platform.
Installation Operations Credentials Compatibility Usage Resources Version history
This project is still in development and currently only works locally. Follow these steps to install n8n locally:
- Install n8n globally using npm:
npm install n8n -g
- Clone this repository and navigate into it.
- Run
npm install
to install the necessary dependencies. - Run
npm run build
to build the package. - Run
npm link
to link the package to your local n8n instance.
There's no custom directory in ~/.n8n local installation. You have to create custom directory manually and run npm init
# In ~/.n8n directory run
mkdir custom
cd custom
npm init
Add n8n-nodes-stabiity-ai to community node settings. Follow the installation guide in the n8n community nodes documentation.
Text to image generation
You need an API key to use this node. You can get one by signing up at Stability AI and creating a new API key in the account settings.
This node has been tested with n8n version 1.31.2.
The output of this node is a base64 encoded image.
- Text to image generation
- Basic text to image generation
- Add negative prompt option
- Add style options
- Basic settings (cfg, steps, seed)
- Add image size options
- Image to image generation
- Image upscale
- Image to image with masking
- Image to video generation
- Image to image with Inpainting (remove and replace objects from images)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
This project is licensed under the MIT License.