Skip to content
1.7 KB
Raw Blame

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

Screenshot 2025-07-29 at 3 23 33 PM

Free n8n JSON workflow

Modal application

Instructions

  1. Install python3 and venv
  2. Create a new virtual environment with python3 -m venv .venv
  3. Activate the virtual environment with source .venv/bin/activate
  4. Install modal with pip install modal
  5. Download the python application and put it in the same directory
  6. Run modal deploy flux_kontext_dev_modal.py to deploy the application
  7. Copy the URL of the deployed application
  8. Add the URL to your n8n workflow in the Configure me node and run the workflow

Additional resources

Watch the video

Run Flux Kontext 100% FREE without having a GPU - n8n automation