CoolFace
Apppublic

chmielvu/flux-klein-simple

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes
App README

FLUX.2 Klein Simple

Unified FLUX.2 Klein model for text-to-image and image-to-image generation with LoRA support.

Features

  • —2 Model Variants: 4B distilled (fast) and 4B base (quality)
  • —Unified Pipeline: Same model handles text2img and img2img
  • —Civitai LoRA Support: Add style LoRAs by version ID
  • —ZeroGPU acceleration: Runs on HuggingFace ZeroGPU

Model Variants

ModelBest ForSpeed
4b-distilledFast generation~2s (4 steps)
4b-baseQuality generation~10s (20 steps)

API Usage

python
from gradio_client import Client

client = Client("chmielvu/flux-klein-simple")
result = client.predict(
    prompt="A portrait of a warrior in fantasy style",
    model="4b-distilled",
    preset="balanced",
    api_name="/generate"
)