Downloads · 30 days
0
xgirls/FLUX.2-klein-4B-ov-int4
FLUX.2-klein-4B-ov-int4 is a image-to-image model from xgirls. Use it when you need one image transformed into another. It is set up for optimum. The card lists the license as apache-2.0.
OpenVINO IR export of black-forest-labs/FLUX.2-klein-4B for local text-to-image generation and image editing in Fern. The source model uses one architecture for both tasks; this repository contains converted OpenVINO…
Downloads · 30 days
0
Access
Public
Updated Oct 12, 2026
Repo size
4.6 GB
Likes
1
Public
Click a slice to open those files.
.bin4.6 GB · 100%
From the Hugging Face model README
OpenVINO IR export of black-forest-labs/FLUX.2-klein-4B for local text-to-image generation and image editing in Fern. The source model uses one architecture for both tasks; this repository contains converted OpenVINO components, not the original Diffusers checkpoint.
f53967e707ab0a1ab795c5d0704b8c4f0e2f22c3 (use this revision for reproducible downloads).OVFlux2KleinPipeline from Optimum Intel.In Fern, install FLUX.2 Klein 4B from Preferences → Image models. Fern downloads the selected pinned export and uses the same OpenVINO IR on its supported OpenVINO devices. The first load compiles device-specific caches locally.
For direct use with Fern’s runtime dependencies:
from huggingface_hub import snapshot_download
from optimum.intel import OVFlux2KleinPipeline
model_dir = snapshot_download(
repo_id="xgirls/FLUX.2-klein-4B-ov-int4",
revision="f53967e707ab0a1ab795c5d0704b8c4f0e2f22c3",
)
pipe = OVFlux2KleinPipeline.from_pretrained(model_dir, device="GPU")
image = pipe(
prompt="A small glass greenhouse in a rain-soaked garden at dusk",
width=1024,
height=1024,
num_inference_steps=4,
guidance_scale=1.0,
).images[0]
image.save("output.png")
To edit an image, pass an image to the pipeline’s image= argument together with the prompt. For Fern’s NVIDIA adapter, the OpenVINO NVIDIA plugin must be installed and the device name is NVIDIA; Intel GPU uses GPU, and CPU fallback uses CPU.
Apache-2.0; see the upstream license.
The upstream 4B model is released under Apache-2.0. Follow the license terms for both the source model and this converted export.
This is a community conversion for Fern, not an official Black Forest Labs or Intel release. FLUX and Black Forest Labs are not affiliated with or endorsing this repository.