par fal
Open source · 6k downloads · 358 likes
FLUX.2 [dev] Turbo est un modèle d'IA spécialisé dans la génération et l'édition d'images à partir de texte, optimisé pour une rapidité exceptionnelle. Grâce à une technique de distillation, il produit des résultats de haute qualité en seulement 8 étapes d'inférence, soit six fois plus vite que le modèle de base tout en conservant une précision comparable. Ce modèle se distingue par sa légèreté, grâce à son format LoRA, qui permet une intégration facile dans les workflows existants dédiés à FLUX.2. Il prend en charge deux fonctionnalités principales : la création d'images à partir de descriptions textuelles et la modification d'images existantes. Accessible via des API hébergées ou des versions adaptées pour ComfyUI, il s'adresse aux créateurs et développeurs recherchant un équilibre entre performance et simplicité.
FLUX.2 [dev] Turbo is a distilled LoRA adapter for FLUX.2 [dev] that enables high-quality image generation in just 8 inference steps.


FLUX.2 [dev] Turbo is available through fal.ai hosted endpoints:
ComfyUI-compatible weights are available in the comfy/ directory, converted by ByteZSzn.
import torch
from diffusers import Flux2Pipeline
# Pre-shifted custom sigmas for 8-step turbo inference
TURBO_SIGMAS = [1.0, 0.6509, 0.4374, 0.2932, 0.1893, 0.1108, 0.0495, 0.00031]
pipe = Flux2Pipeline.from_pretrained(
"black-forest-labs/FLUX.2-dev",
torch_dtype=torch.bfloat16
).to("cuda")
pipe.load_lora_weights(
"fal/FLUX.2-dev-Turbo",
weight_name="flux.2-turbo-lora.safetensors"
)
prompt = "Industrial product shot of a chrome turbocharger with glowing hot exhaust manifold, engraved text 'FLUX.2 [dev] Turbo by fal' on the compressor housing and 'fal' on the turbine wheel, gradient heat glow from orange to electric blue , studio lighting with dramatic shadows, shallow depth of field, engineering blueprint pattern in background."
image = pipe(
prompt=prompt,
sigmas=TURBO_SIGMAS,
guidance_scale=2.5,
height=1024,
width=1024,
num_inference_steps=8,
).images[0]
image.save("output.png")
This model inherits the FLUX [dev] Non-Commercial License from the base model.