black-forest-labs/flux-2-klein-9b-base-lora 🔢🖼️📝❓✓ → 🖼️

⭐ Official ▶️ 26.6K runs 📅 Jan 2026 ⚙️ Cog 0.16.9
image-editing image-lora-training image-to-image text-to-image

Performance

2.5sTypical run time
26.6KTotal runs

About

A version of FLUX.2 [klein] 9B-base that supports fast fine-tuned lora inference

Example Output

Prompt:

"Transform this picture into an American comic style + Pop Art + cyber neon illustration"

Output

Example output

Performance Metrics

2.46s Prediction Time
2.49s Total Time
All Input Parameters
{
  "images": [
    "https://replicate.delivery/pbxt/OUWhtQrszgFaz6bqkETTmv0EvmogQYjDS0E0d0txSKKPTiQG/pexels-ren-lavsad-379156630-18609132.jpg"
  ],
  "prompt": "Transform this picture into an American comic style + Pop Art + cyber neon illustration",
  "lora_scales": [
    1
  ],
  "aspect_ratio": "match_input_image",
  "lora_weights": [
    "https://huggingface.co/starsfriday/FLUX.2-klein-AC-Style-LORA/resolve/main/flux2_klein_lowres.safetensors"
  ],
  "output_format": "jpg",
  "output_quality": 95,
  "output_megapixels": "1"
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
images Type: arrayDefault:
List of input images for image-to-image generation. Maximum 5 images. Must be jpeg, png, gif, or webp.
prompt (required) Type: string
Text prompt for image generation.
lora_scales Type: array
Scales for each LoRA as a list of floats. Must match the number of lora_weights. Defaults to 1.0 for each if not provided.
aspect_ratio Default: 1:1
Aspect ratio for the generated image. Use 'match_input_image' to match the aspect ratio of the first input image.
lora_weights Type: array
LoRA weights as a list of URLs. Supports ComfyUI and native Flux Klein format LoRAs. ComfyUI LoRAs are automatically converted.
output_format Default: jpg
Format of the output images
output_quality Type: integerDefault: 95Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs.
output_megapixels Default: 1
Resolution of the output image in megapixels
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 3911410155
Loading 1 LoRA(s)...
Loading LoRA 1/1: https://huggingface.co/starsfriday/FLUX.2-klein-AC-Style-LORA/resolve/main/flux2_klein_lowres.safetensors
Using cached processed LoRA for: https://huggingface.co/starsfriday/FLUX.2-klein-AC-Style-LORA/resolve/main/flux2_klein_lowres.safetensors
Applying LoRA with scale 1.0...
Loading LoRA from: /tmp/lora_cache/21b8ccd7f9dd99b4d9f83bc64b6dfd6e_lora.safetensors
Loaded 224 LoRA weights
Applied LoRA to: double_blocks.0.img_attn.proj (scale=1.0, norm: 87.50 -> 87.50)
Applied LoRA to: double_blocks.0.img_attn.qkv (scale=1.0, norm: 129.00 -> 130.00)
Skipping: double_blocks.0.img_mlp.0 (module not found)
Skipping: double_blocks.0.img_mlp.2 (module not found)
Applied LoRA to: double_blocks.0.txt_attn.proj (scale=1.0, norm: 91.00 -> 91.00)
Applied LoRA to: double_blocks.0.txt_attn.qkv (scale=1.0, norm: 151.00 -> 151.00)
Skipping: double_blocks.0.txt_mlp.0 (module not found)
Skipping: double_blocks.0.txt_mlp.2 (module not found)
Applied LoRA to: double_blocks.1.img_attn.proj (scale=1.0, norm: 91.50 -> 91.50)
Skipping: double_blocks.1.img_mlp.0 (module not found)
Skipping: double_blocks.1.img_mlp.2 (module not found)
Skipping: double_blocks.1.txt_mlp.0 (module not found)
Skipping: double_blocks.1.txt_mlp.2 (module not found)
Skipping: double_blocks.2.img_mlp.0 (module not found)
Skipping: double_blocks.2.img_mlp.2 (module not found)
Skipping: double_blocks.2.txt_mlp.0 (module not found)
Skipping: double_blocks.2.txt_mlp.2 (module not found)
Skipping: double_blocks.3.img_mlp.0 (module not found)
Skipping: double_blocks.3.img_mlp.2 (module not found)
Skipping: double_blocks.3.txt_mlp.0 (module not found)
Skipping: double_blocks.3.txt_mlp.2 (module not found)
Skipping: double_blocks.4.img_mlp.0 (module not found)
Skipping: double_blocks.4.img_mlp.2 (module not found)
Skipping: double_blocks.4.txt_mlp.0 (module not found)
Skipping: double_blocks.4.txt_mlp.2 (module not found)
Skipping: double_blocks.5.img_mlp.0 (module not found)
Skipping: double_blocks.5.img_mlp.2 (module not found)
Skipping: double_blocks.5.txt_mlp.0 (module not found)
Skipping: double_blocks.5.txt_mlp.2 (module not found)
Skipping: double_blocks.6.img_mlp.0 (module not found)
Skipping: double_blocks.6.img_mlp.2 (module not found)
Skipping: double_blocks.6.txt_mlp.0 (module not found)
Skipping: double_blocks.6.txt_mlp.2 (module not found)
Skipping: double_blocks.7.img_mlp.0 (module not found)
Skipping: double_blocks.7.img_mlp.2 (module not found)
Skipping: double_blocks.7.txt_mlp.0 (module not found)
Skipping: double_blocks.7.txt_mlp.2 (module not found)
LoRA application complete:
Applied: 80
Skipped: 32
LoRA 1 applied successfully
Loaded 1 reference image(s)
Matched dimensions from input image: 832x1248 (1.00 MP)
Generating 832x1248 image (1.00 MP, match_input_image) ...
Generation took 1.59s
Restoring model to original state...
Version Details
Version ID
5e92f3f81c77962ddc86ddd75c8fc46c92a26730b1ac13701a39aa10eac464f0
Version Created
January 28, 2026
Run on Replicate →