prunaai/flux.1-dev-lora 📝🔢🖼️❓ → 🖼️

▶️ 266.7K runs 📅 Jun 2025 ⚙️ Cog 0.15.1 🔗 GitHub 📄 Paper ⚖️ License
image-to-image lora lora-inference text-to-image

About

This is a 3x faster FLUX.1 [dev] model from Black Forest Labs, optimised with pruna with minimal quality loss.

Example Output

Prompt:

"Long toons, a close-up of a cartoon characters face is featured in a vibrant red backdrop. The characters head is adorned with a gray hoodie, a red t-shirt, and a pair of pink earbuds. His eyes, a nose, and mustache are adorned with tiny white dots, adding a pop of color to the scene. His hair is a mix of black and gray, while his ears are a darker shade of pink."

Output

Example output

Performance Metrics

2.12s Prediction Time
2.13s Total Time
All Input Parameters
{
  "lora": "prithivMLmods/Flux-Long-Toon-LoRA",
  "seed": 0,
  "prompt": "Long toons, a close-up of a cartoon characters face is featured in a vibrant red backdrop. The characters head is adorned with a gray hoodie, a red t-shirt, and a pair of pink earbuds. His eyes, a nose, and mustache are adorned with tiny white dots, adding a pop of color to the scene. His hair is a mix of black and gray, while his ears are a darker shade of pink.",
  "guidance": 3,
  "lora_scale": 1,
  "megapixels": "1",
  "speed_mode": "Extra Juiced 🔥",
  "num_outputs": 1,
  "aspect_ratio": "1:1",
  "output_format": "jpg",
  "output_quality": 80,
  "prompt_strength": 0.8,
  "extra_lora_scale": 1,
  "num_inference_steps": 28
}
Input Parameters
lora Type: string
Load LoRA weights. Supports HuggingFace URLs in the format <owner>/<model-name>[/<lora-weights-file.safetensors>]. For example, 'fofr/flux-pixar-cars'.
seed Type: integer
Random seed. Set for reproducible generation
image Type: string
Input image for image to image mode. The aspect ratio of your output will match this image
prompt (required) Type: string
Prompt for generated image
guidance Type: numberDefault: 3Range: 0 - 10
Guidance for generated image
extra_lora Type: string
Load LoRA weights. Supports HuggingFace URLs in the format <owner>/<model-name>[/<lora-weights-file.safetensors>]. For example, 'fofr/flux-pixar-cars'.
lora_scale Type: numberDefault: 1Range: -1 - 3
Determines how strongly the main LoRA should be applied. Sane results between 0 and 1 for base inference. For go_fast we apply a 1.5x multiplier to this value; we've generally seen good performance when scaling the base value by that amount. You may still need to experiment to find the best value for your particular lora.
megapixels Default: 1
Approximate number of megapixels for generated image
speed_mode Default: Juiced 🧃
Speed optimization level
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of outputs to generate
aspect_ratio Default: 1:1
Aspect ratio of the output image
output_format Default: jpg
Format of the output images
output_quality Type: integerDefault: 80Range: 1 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
prompt_strength Type: numberDefault: 0.8Range: 0 - 1
Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image
extra_lora_scale Type: numberDefault: 1Range: -1 - 3
Determines how strongly the extra LoRA should be applied. Sane results between 0 and 1 for base inference. For go_fast we apply a 1.5x multiplier to this value; we've generally seen good performance when scaling the base value by that amount. You may still need to experiment to find the best value for your particular lora.
num_inference_steps Type: integerDefault: 28
Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Loading LoRAs took 0.000s
  0%|          | 0/28 [00:00<?, ?it/s]
 54%|█████▎    | 15/28 [00:01<00:01, 10.55it/s]
100%|██████████| 28/28 [00:01<00:00, 14.67it/s]
Image generation took 2.114s
Image saving took 0.006s
Version Details
Version ID
19048f659cedeb72d7bbf6a3c4ee8fc79998e2c3b440ba489b44ac028489e8b1
Version Created
June 5, 2025
Run on Replicate →