How to Run FLUX on WordPress

FLUX is one of the strongest open image-model families available, and it’s the default workhorse in StudioUI’s image studio. There are three ways to run it on a WordPress site, depending on whether you want zero setup, your own API billing, or your own GPU. This guide covers all three paths and which to choose.

The three ways to run FLUX

  • Hosted (Free tier) — FLUX runs on hosted GPUs, billed per image in credits. Zero setup, no keys, no hardware.
  • Bring your own BFL key (Pro) — use your own Black Forest Labs API key so FLUX generations bill to your BFL account with no per-generation StudioUI fee.
  • Self-host via ComfyUI (Pro) — run a FLUX checkpoint on your own GPU through ComfyUI for private, fee-free generation.

FLUX Turbo vs standard

StudioUI’s hosted catalogue offers a fast FLUX Turbo path at 50 credits per image and a higher-quality standard image at 100 credits. Turbo is for iterating quickly and cheaply; standard is for when base quality matters more than speed. The live cost is always shown on the generate button, so you choose with the price in front of you.

Path A — Run hosted FLUX (fastest start)

  1. Install StudioUI and connect your site to hosted compute with a one-time connect code.
  2. Embed the studio on a page with [studioui_studio].
  3. Generate — FLUX Turbo at 50 credits or standard at 100. The image lands in your media library.

No keys, no GPU. This is the right path for most sites starting out.

Path B — Bring your own BFL key

  1. Activate StudioUI Pro ($149/yr) to expose the provider-key fields.
  2. Paste your Black Forest Labs (BFL) API key into its field in settings and save. Keys are stored server-side and never exposed to visitors.
  3. Map FLUX image generation to your BFL key. Generations now bill to your BFL account at their rates, with no StudioUI per-generation fee.

Path C — Self-host FLUX on ComfyUI

  1. Install a FLUX checkpoint in ComfyUI on your GPU machine, plus any custom nodes the workflow needs.
  2. Start ComfyUI listening on a reachable address (default port 8188, launched with --listen).
  3. In StudioUI Pro, switch the image backend to self-hosted ComfyUI and enter the endpoint, e.g. http://YOUR-GPU-HOST:8188.
  4. Generate one image while watching the ComfyUI console to confirm the job runs on your hardware. No per-generation fees.

Getting good results from FLUX

FLUX rewards descriptive, natural-language prompts over keyword soup — write what you want as a clear sentence describing subject, setting, lighting and style, rather than a comma-pile of tags. Use the studio’s creativity dial to control how literally it follows you: lower for faithful, predictable output; higher to let FLUX interpret. A practical loop is to explore with Turbo (50 credits) at a higher creativity to find a direction, then lock the prompt and finish on standard (100 credits) at a lower creativity for a clean final. Attach a reference image when you need the output to echo an existing look.

Troubleshooting

  • BFL auth error — key wrong, expired, or lacking access to the FLUX model requested. Re-copy and check your BFL dashboard.
  • Self-host job errors — missing FLUX checkpoint or custom node in ComfyUI; the console names what’s absent.
  • Self-host job never arrives — reachability/firewall; confirm the WordPress server can hit port 8188.
  • Slower than expected — standard FLUX is heavier than Turbo; use Turbo for iteration and standard for finals.

FAQ

What’s the difference between FLUX Turbo and standard?

Turbo (50 credits) is faster and cheaper for iterating; standard (100 credits) trades speed for base quality. Both are FLUX; pick per task.

Do I need Pro to run FLUX?

No — hosted FLUX works on the Free tier, billed in credits. Pro is only needed for the BYO-BFL-key or self-host paths.

Is my BFL key safe in WordPress?

Yes — it’s stored server-side and used to call BFL from your server. Visitors never see or touch it.

Can I self-host FLUX for free generation?

Self-hosting removes per-generation fees — you pay your own GPU and power instead. It needs StudioUI Pro and a capable GPU.

Which path should I choose?

Start hosted. Move to BYO-BFL-key if you already have a BFL account, or self-host if you have a GPU and generate at high volume.

Run FLUX your way

Install StudioUI to run hosted FLUX in minutes, or go Pro to bring your own BFL key or self-host FLUX on ComfyUI — all behind one studio on your WordPress site.

Install free · More on FLUX · Use your own key

Related in guides & tutorials

Explore more