Create images from text prompts using Flux Kontext Pro and Replicate
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Code
n8n-nodes-base.code
What it does
This workflow provides automated access to the Black Forest Labs Flux Kontext Pro AI model through the Replicate API. It saves you time by eliminating the need to manually interact with AI models and provides a seamless integration for image generation tasks within your n8n automation workflows. Overview This workflow automatically handles the complete image generation process using the Black Forest Labs Flux Kontext Pro model. It manages API authentication, parameter configuration, request processing, and result retrieval with built-in error handling and retry logic for reliable automation. Model Description: A state-of-the-art text-based image editing model that delivers high-quality outputs with excellent prompt following and consistent results for transforming images through natural language Key Capabilities - High-quality image generation from text prompts - Advanced AI-powered visual content creation - Customizable image parameters and styles Tools Used - n8n: The automation platform that orchestrates the workflow - Replicate API: Access to the Black Forest Labs/flux-kontext-pro AI model - Black Forest Labs Flux Kontext Pro: The core AI model for image generation - Built-in Error Handling: Automatic retry logic and comprehensive error management How to Install 1. Import the Workflow: Download the .json file and import it into your n8n instance 2. Configure Replicate API: Add your Replicate API token to the 'Set API Token' node 3. Customize Parameters: Adjust the model parameters in the 'Set Image Parameters' node 4. Test the Workflow: Run the workflow with your desired inputs 5. Integrate: Connect this workflow to your existing automation pipelines Use Cases - Content Creation: Generate unique images for blogs, social media, and marketing materials - Design Prototyping: Create visual concepts and mockups for design projects - Art & Creativity: Produce artistic images for personal or commercial use - Marketing Materials: Generate eye-catching visuals for campaigns and advertisements Connect with Me - Website: https://www.nofluff.online - YouTube: https://www.youtube.com/@YaronBeen/videos - LinkedIn: https://www.linkedin.com/in/yaronbeen/ - Get Replicate API: https://replicate.com (Sign up to access powerful AI models) n8n automation ai replicate aiautomation workflow nocode imagegeneration aiart texttoimage visualcontent aiimages generativeart flux machinelearning artificialintelligence aitools automation digitalart contentcreation productivity innovation