Turn a text prompt into an image with FLUX through Hugging Face
Generate a FLUX.1-dev image from a prompt in Node.js with one Hugging Face token, routed to a provider for you.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- Hugging Face access tokenHF_TOKENGet key
Make a fine-grained token with the "Make calls to Inference Providers" permission.
$
npx wirestack add hugging-face-flux-text-to-image-node@2Revision 2, checked Nov 8, 2026. Installs exactly
@huggingface/inference 4.13.32, creates the files and adds the key names to your .env. It shows everything first and asks before changing anything.Adapt to my stackProShowing the original (Node.js). Pick your stack to see it rewritten.
Free accounts can open one adapted integration a month. Sign in to try it.
