Episode 19: Run FLUX.1 Kontext [dev] with modal.com
In this video, we show you how to use Modal’s serverless GPU infrastructure with n8n to do image generation with Flux Kontext Dev for free.
|
📚 Join our Skool community for support, premium content and more!
Be part of a growing community and help us create more content like this |
|
Free n8n JSON workflow
Modal application
Instructions
- Install python3 and venv
- Create a new virtual environment with
python3 -m venv .venv - Activate the virtual environment with
source .venv/bin/activate - Install modal with
pip install modal - Download the python application and put it in the same directory
- Run
modal deploy flux_kontext_dev_modal.pyto deploy the application - Copy the URL of the deployed application
- Add the URL to your n8n workflow in the
Configure menode and run the workflow
