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 👇
Accounts required
- Huggingface.co account (free)
- Cloudflare.com account (free - used for storage; but can be swapped easily e.g. GDrive)
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.