Back to Catalog

Create images from text prompts using HeraNathalie model and Replicate

Yaron BeenYaron Been
722 views
2/3/2026
Official Page

This workflow provides automated access to the Digitalhera Heranathalie 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 other generation tasks within your n8n automation workflows.

Overview

This workflow automatically handles the complete other generation process using the Digitalhera Heranathalie 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: Advanced AI model for automated processing and generation tasks.

Key Capabilities

  • Specialized AI model with unique capabilities
  • Advanced processing and generation features
  • Custom AI-powered automation tools

Tools Used

  • n8n: The automation platform that orchestrates the workflow
  • Replicate API: Access to the Digitalhera/heranathalie AI model
  • Digitalhera Heranathalie: The core AI model for other 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 Other 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

  • Specialized Processing: Handle specific AI tasks and workflows
  • Custom Automation: Implement unique business logic and processing
  • Data Processing: Transform and analyze various types of data
  • AI Integration: Add AI capabilities to existing systems and workflows

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 #aiprocessing #dataprocessing #machinelearning #artificialintelligence #aitools #automation #digitalart #contentcreation #productivity #innovation

Create Images from Text Prompts using Replicate

This n8n workflow demonstrates how to generate images from text prompts using the Replicate API, specifically leveraging the heranathalie model. It provides a basic structure to initiate an image generation request and then retrieve the results once the process is complete.

What it does

This workflow simplifies the process of interacting with Replicate for image generation:

  1. Manual Trigger: The workflow starts when manually executed, allowing you to initiate image generation on demand.
  2. Edit Fields (Set): This node is typically used to prepare or define the input data for the image generation, such as the text prompt. (Note: The provided JSON does not include specific field definitions for this node, so you would configure it with your desired prompt and other parameters).
  3. HTTP Request (Replicate API Call): It makes an HTTP POST request to the Replicate API to create a new image generation job.
  4. Wait: The workflow pauses for a specified duration to allow the image generation process on Replicate to complete.
  5. If: This node checks the status of the image generation job.
    • True Branch: If the job is complete, it proceeds to fetch the results.
    • False Branch: If the job is not yet complete (or failed), it might loop back or handle the error. (Note: The provided JSON shows the "If" node but no subsequent connections, implying further steps for success/failure would be added here).
  6. HTTP Request (Get Image Result): If the job is successful, this node makes another HTTP GET request to the Replicate API to retrieve the generated image(s).
  7. Code: This node can be used for custom JavaScript logic, such as parsing the API response, extracting image URLs, or formatting data for subsequent actions.

Prerequisites/Requirements

  • n8n Instance: A running n8n instance.
  • Replicate Account: An account with Replicate and an API key.
  • Replicate Model: Access to the heranathalie image generation model on Replicate.

Setup/Usage

  1. Import the Workflow:
    • Copy the provided JSON code.
    • In your n8n instance, go to "Workflows".
    • Click "New" and then "Import from JSON".
    • Paste the JSON code and click "Import".
  2. Configure Credentials:
    • Locate the "HTTP Request" nodes.
    • You will need to configure a credential for Replicate (e.g., an "HTTP Basic Auth" or "API Key" credential) to authenticate your requests. This typically involves setting your Replicate API key in the Authorization header.
  3. Define Image Prompt:
    • In the "Edit Fields" (Set) node, configure the fields to include your desired text prompt for image generation. For example, you might add a field named prompt with a value like "A futuristic city at sunset, highly detailed, cyberpunk style".
  4. Configure Replicate API Endpoints:
    • In the first "HTTP Request" node, ensure the URL is set to the Replicate API endpoint for creating predictions (e.g., https://api.replicate.com/v1/predictions).
    • The request body should include the model ID (e.g., heranathalie/latent-diffusion) and your prompt.
    • In the second "HTTP Request" node (after the "If" node), the URL should be dynamic, using the id of the prediction returned by the first API call to fetch the prediction details (e.g., https://api.replicate.com/v1/predictions/{{$json.id}}).
  5. Adjust Wait Time:
    • Modify the "Wait" node's duration based on how long the heranathalie model typically takes to generate images.
  6. Add Success/Failure Logic:
    • Expand the "If" node's branches to handle successful image generation (e.g., save the image URL to a database, post to Slack) and potential failures (e.g., send an error notification).
  7. Execute the Workflow:
    • Click the "Execute Workflow" button on the "Manual Trigger" node to run the workflow.

This workflow provides a robust starting point for integrating Replicate's image generation capabilities into your automated processes.

Related Templates

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

Synchronizing WooCommerce inventory and creating products with Google Gemini AI and BrowserAct

Synchronize WooCommerce Inventory & Create Products with Gemini AI & BrowserAct This sophisticated n8n template automates WooCommerce inventory management by scraping supplier data, updating existing products, and intelligently creating new ones with AI-formatted descriptions. This workflow is essential for e-commerce operators, dropshippers, and inventory managers who need to ensure their product pricing and stock levels are synchronized with multiple third-party suppliers, minimizing overselling and maximizing profit. --- Self-Hosted Only This Workflow uses a community contribution and is designed and tested for self-hosted n8n instances only. --- How it works The workflow is typically run by a Schedule Trigger (though a Manual Trigger is also shown) to check stock automatically. It reads a list of suppliers and their inventory page URLs from a central Google Sheet. The workflow loops through each supplier: A BrowserAct node scrapes the current stock and price data from the supplier's inventory page. A Code node parses this bulk data into individual product items. It then loops through each individual product found. The workflow checks WooCommerce to see if the product already exists based on its name. If the product exists: It proceeds to update the existing product's price and stock quantity. If the product DOES NOT exist: An If node checks if the missing product's category matches a predefined type (optional filtering). If it passes the filter, a second BrowserAct workflow scrapes detailed product attributes from a dedicated product page (e.g., DigiKey). An AI Agent (Gemini) transforms these attributes into a specific, styled HTML table for the product description. Finally, the product is created in WooCommerce with all scraped details and the AI-generated description. Error Handling: Multiple Slack nodes are configured to alert your team immediately if any scraping task fails or if the product update/creation process encounters an issue. Note: This workflow does not support image uploads for new products. To enable this functionality, you must modify both the n8n and BrowserAct workflows. --- Requirements BrowserAct API account for web scraping BrowserAct n8n Community Node -> (n8n Nodes BrowserAct) BrowserAct templates named “WooCommerce Inventory & Stock Synchronization” and “WooCommerce Product Data Reconciliation” Google Sheets credentials for the supplier list WooCommerce credentials for product management Google Gemini account for the AI Agent Slack credentials for error alerts --- Need Help? How to Find Your BrowseAct API Key & Workflow ID How to Connect n8n to Browseract How to Use & Customize BrowserAct Templates How to Use the BrowserAct N8N Community Node --- Workflow Guidance and Showcase STOP Overselling! Auto-Sync WooCommerce Inventory from ANY Supplier

Madame AI Team | KaiBy Madame AI Team | Kai
600

Weekly job discovery and CV matching with Gemini 1.5 Pro and Decodo Scraper

Header 1Smart Weekly Job Discovery Powered by Decodo This workflow automates the entire search process: every week, it uses Decodo’s reliable scraping engine to scan the web for fresh opportunities in your region and industry — no manual searching, no endless scrolling. Decodo handles the heavy lifting behind the scenes: it gathers search results, opens each job link, and extracts clean, readable text from pages that are normally full of scripts and formatting noise. The workflow always receives structured, usable information ready for AI analysis. Intelligent Matching — Not Just Scraping Once the jobs are collected, the system analyzes the candidate’s CV and compares it to each posting. It evaluates: Skill alignment Experience relevance Domain match Seniority level Then it generates a Match Percentage for each role, filtering out weak options and keeping only meaningful opportunities. A Weekly Report That Feels Human Every week, the workflow sends a polished report straight to your inbox: A quick overview of the candidate’s strengths Best-fit roles sorted by match score Clear reasons why each job fits Posted dates and direct links Insights on skills and market trends It reads like a personalized career briefing — generated automatically. How to Configure It Decodo Setup Add your Decodo API credentials to n8n. The Google Search + Scraper nodes rely on Decodo’s Web Scraping API. Make sure your plan supports scraping LinkedIn/Indeed pages. AI Setup Add your Google Gemini API key. The workflow uses two Gemini models: one for summarizing, one for job-matching. You can switch to OpenAI or Claude if you prefer. CV Input Add your CV text into the workflow (or connect Google Drive/Sheets for auto-loading). The Job Matcher Agent will use this text to compute match percentages. Email Setup Add your Gmail credentials and choose where the final report should be sent. Flexible and Easy to Customize Change the search region. Target different industries. Store all job data in Notion or Google Sheets. With Decodo’s scraping pipeline at the core, the whole process stays consistent, fast, and dependable. If you need any help Get in Touch

Abdullah AlshiekhBy Abdullah Alshiekh
111