Flux AI Image Generator

Nodes

2cf69bf8-d025-41db-983e-898d5f3acf5a111c9d79-048d-495f-956f-be64cf7e66589c37fa7f-8da8-447f-886c-c8b0d3c3533c3b9f1b78-6b80-4575-aa6c-966987000389

Created by

MaMax Tkacz

Last edited 10 days ago

Easily generate images with Black Forest's Flux Text-to-Image AI models using Hugging Face’s Inference API. This template serves a webform where you can enter prompts and select predefined visual styles that are customizable with no-code. The workflow integrates seamlessly with Hugging Face's free tier, and it’s easy to modify for any Text-to-Image model that supports API access.

Try it

Curious what this template does? Try a public version here: https://devrel.app.n8n.cloud/form/flux

Set Up

Watch this quick set up video 👇 Flux Generator

Accounts required

Key Features:

  • Text-to-Image Creation: Generates unique visuals based on your prompt and style.
  • Hugging Face Integration: Utilizes Hugging Face’s Inference API for reliable image generation.
  • Customizable Visual Styles: Select from preset styles or easily add your own.
  • Adaptable: Swap in any Hugging Face Text-to-Image model that supports API calls.

Ideal for:

  • Creators: Rapidly create visuals for projects.
  • Marketers: Prototype campaign visuals.
  • Developers: Test different AI image models effortlessly.

How It Works:

You submit an image prompt via the webform and select a visual style, which appends style instructions to your prompt. The Hugging Face Inference API then generates and returns the image, which gets hosted on Cloudflare S3. The workflow can be easily adjusted to use other models and styles for complete flexibility.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!