ComfyUI>Workflows>Flux 3 Klein Native RGBA Generation | Text to Transparent Assets

Flux 3 Klein Native RGBA Generation | Text to Transparent Assets

Workflow Name: RunComfy/Flux-3-Klein-Native-RGBA-Generation
Workflow ID: 0000...1558
Turn your text into transparent PNGs with Flux Klein. Create product concepts. Design seasonal decorations. Generate stylized RGBA assets. Inspect alpha masks and checkerboard previews. Check edges on light and dark backgrounds before compositing.

ComfyUI Flux 3 Klein Native RGBA Generation Workflow

Flux 3 Klein Native RGBA Generation workflow in ComfyUI
Want to run this workflow?
  • Fully operational workflows
  • No missing nodes or models
  • No manual setups required
  • Features stunning visuals

ComfyUI Flux 3 Klein Native RGBA Generation Examples

flux-3-klein-native-rgba-generation-1558-example_01.webp
flux-3-klein-native-rgba-generation-1558-example_02.webp
flux-3-klein-native-rgba-generation-1558-example_03.webp
flux-3-klein-native-rgba-generation-1558-example_04.webp
flux-3-klein-native-rgba-generation-1558-example_05.webp

Flux 3 Klein Native RGBA Generation: Transparent PNGs from Text in ComfyUI#

Flux 3 Klein Native RGBA Generation creates images with an alpha channel directly from text prompts. The workflow combines the FLUX 3 Image Klein Base model, DenRakEiw's transparency LoRA, and a four-channel RGBA VAE. It includes checkerboard and alpha previews and saves RGBA PNGs automatically during each run.

The validated examples include headphones, a Christmas wreath, an autumn bouquet, a retro space rocket, and a porcelain dragon. They were generated at 1024 × 1024 and inspected against checkerboard, white, and dark backgrounds. The gallery uses lossless RGBA WebP copies of the generated PNGs, with every RGBA pixel preserved and no alpha cleanup applied. These examples show uses for product concepts, seasonal decorations, and stylized assets; inspect each result's edges before compositing.

Models used in this workflow#

  • FLUX 3 Image Klein Base: flux3-image-klein-base-bf16.safetensors, loaded by UNETLoader (#1). Official model repository
  • Qwen3-VL text encoder: qwen3vl_4b_bf16.safetensors, loaded by CLIPLoader (#3) with type flux3. Official model files
  • Native RGBA transparency LoRA: flux3_klein_transparent_lora.safetensors by DenRakEiw, applied by LoraLoaderModelOnly (#2) at strength 1.0. LoRA and workflow
  • RGBA VAE: flux2_3_rgba_vae.safetensors, loaded by Flux23RGBAVAELoader_DRE (#4). The VAE originates from trmz's flux2-klein-alpha project and is provided under this filename in the LoRA repository. Original VAE project

How to use Flux 3 Klein Native RGBA Generation in ComfyUI#

1. Load the models#

Keep the four model selections listed above to use the validated configuration. The transparency LoRA is applied to the base model, while the RGBA VAE decodes the sampled latent into an image with an alpha channel. The saved workflow already contains these selections.

2. Describe the subject#

Edit the positive prompt in node #5 and include “transparent background” or “RGBA transparent background, isolated foreground object,” as recommended by the LoRA author. Describe the subject, materials, and composition, leaving room around thin or protruding parts. The saved negative prompt (#6) is empty.

The text encoder loaded by node #3 supplies both prompt-encoding nodes. EmptyFlux2LatentImage (#7) sets a 1024 × 1024 canvas and a batch size of 1 in the tested configuration. The saved default prompt describes a red toy robot; replace it to generate your own subject.

3. Run sampling and RGBA decoding#

KSampler (#8) uses 24 steps, CFG 3.5, Euler sampling, the simple scheduler, and denoise 1.0. The saved default seed is 42; the gallery examples use their own prompts and seeds. Keep a fixed seed when comparing prompt or parameter changes.

Flux23RGBAVAEDecode_DRE (#9) decodes the sampled latent. Its RGBA image output feeds the preview, save, and image-info nodes. It also exposes separate RGB and alpha-mask outputs, which are unconnected in this saved graph. The validated runs used tiled decoding disabled.

4. Inspect the saved result#

PreviewTransparentImage (#10) displays the RGBA image over a checkerboard. TransparentImageInfo (#12) supplies an alpha_preview to PreviewImage (#13), allowing you to inspect the alpha channel separately.

SaveTransparentImage (#11) automatically saves an RGBA PNG during the same run, with metadata enabled. Saving does not wait for a separate approval or inspection step. Use its filename_prefix to organize outputs, then check the saved image against light and dark backgrounds before placing it in a composition.

What the validated results show#

The selected examples retained their subject silhouettes and visible openings, including the wreath's center, the headphone headband gap, and gaps between bouquet stems. Their PNG outputs contain native alpha, and the gallery conversions preserve that alpha exactly.

Some background pixels can retain very low nonzero alpha, so a transparent output does not guarantee a perfectly clean matte in every composition. Inspect thin edges, internal gaps, and faint residue at the intended display size.

A glass-bottle trial had a transparent background but a visually opaque bottle body. This workflow's validation does not establish realistic glass transmission or reliable semi-transparent smoke. Check transparency within the subject separately from transparency around it.

Adjusting settings#

Start with the tested settings above. The validation did not compare different step counts, CFG values, LoRA strengths, or resolutions, so it does not establish that increasing any of them improves alpha quality. If you change a setting, compare the results with the same prompt and seed and inspect both the color image and alpha preview before choosing an output.

Acknowledgements#

This workflow implements and builds upon the following works and resources. We gratefully acknowledge DenRakEiw for the Native RGBA LoRA and workflow, black-forest-labs for the FLUX 3 Image Klein model files, trmz for the Original RGBA VAE, and DenRakEiw for the RGBA loading, preview and saving nodes for their contributions and maintenance. For authoritative details, please refer to the original documentation and repositories linked below.

Resources#

Note: Use of the referenced models, datasets, and code is subject to the respective licenses and terms provided by their authors and maintainers.

RunComfy
Copyright 2026 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.