prunaai / flux.1-dev-lora

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

  • Public
  • 659 runs
  • H100
  • GitHub
  • Weights
  • Paper
  • License
Iterate in playground

Input

*string
Shift + Return to add a new line

Prompt for generated image

string

Aspect ratio of the output image

Default: "1:1"

file

Input image for image to image mode. The aspect ratio of your output will match this image

number
(minimum: 0, maximum: 1)

Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image

Default: 0.8

integer
(minimum: 1, maximum: 4)

Number of outputs to generate

Default: 1

integer

Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.

Default: 28

number
(minimum: 0, maximum: 10)

Guidance for generated image

Default: 3

integer

Random seed. Set for reproducible generation

string

Format of the output images

Default: "jpg"

integer
(minimum: 1, maximum: 100)

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Default: 80

string

Speed optimization level

Default: "Juiced 🧃"

string
Shift + Return to add a new line

Load LoRA weights. Supports HuggingFace URLs in the format <owner>/<model-name>[/<lora-weights-file.safetensors>]. For example, 'fofr/flux-pixar-cars'.

number
(minimum: -1, maximum: 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.

Default: 1

string
Shift + Return to add a new line

Load LoRA weights. Supports HuggingFace URLs in the format <owner>/<model-name>[/<lora-weights-file.safetensors>]. For example, 'fofr/flux-pixar-cars'.

number
(minimum: -1, maximum: 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.

Default: 1

string

Approximate number of megapixels for generated image

Default: "1"

Output

output
Generated in

Run time and cost

This model costs approximately $1.25 to run on Replicate, or 0 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia H100 GPU hardware. Predictions typically complete within 14 minutes.