← Back to all generators

black-forest-labs/flux-dev-lora

A version of flux-dev, a text to image model, that supports fast fine-tuned lora inference

Capabilities

Reference ImagesSeed

Cost

Community model (estimated from hardware time)

Input Parameters

promptrequiredstring

Prompt for generated image

aspect_ratiostring

Aspect ratio for the generated image

Default: "1:1"
1:116:921:93:22:34:55:43:44:39:169:21
civitai_api_tokenstring

Civitai API token. If you're using a civitai lora that needs authentication, you'll need to provide an API token.

disable_safety_checkerboolean

Disable safety checker for generated images.

Default: false
extra_lorastring

Load LoRA weights. Supports Replicate models in the format <owner>/<username> or <owner>/<username>/<version>, HuggingFace URLs in the format huggingface.co/<owner>/<model-name>, CivitAI URLs in the format civitai.com/models/<id>[/<model-name>], or arbitrary .safetensors URLs from the Internet. For example, 'fofr/flux-pixar-cars'

extra_lora_scalenumber

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: 1min: -1, max: 3
go_fastboolean

Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16. Note that outputs will not be deterministic when this is enabled, even if you set a seed.

Default: true
guidancenumber

Guidance for generated image

Default: 3min: 0, max: 10
hf_api_tokenstring

HuggingFace API token. If you're using a hf lora that needs authentication, you'll need to provide an API token.

imagestring

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

lora_scalenumber

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: 1min: -1, max: 3
lora_weightsstring

Load LoRA weights. Supports Replicate models in the format <owner>/<username> or <owner>/<username>/<version>, HuggingFace URLs in the format huggingface.co/<owner>/<model-name>[/<lora-weights-file.safetensors>], CivitAI URLs in the format civitai.com/models/<id>[/<model-name>], or arbitrary .safetensors URLs from the Internet, including signed URLs. For example, 'fofr/flux-pixar-cars'. Civit AI and HuggingFace LoRAs may require an API token to access, which you can provide in the `civitai_api_token` and `hf_api_token` inputs respectively.

megapixelsstring

Approximate number of megapixels for generated image

Default: "1"
10.25
num_inference_stepsinteger

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

Default: 28min: 1, max: 50
num_outputsinteger

Number of outputs to generate

Default: 1min: 1, max: 4
output_formatstring

Format of the output images

Default: "webp"
webpjpgpng
output_qualityinteger

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

Default: 80min: 0, max: 100
prompt_strengthnumber

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

Default: 0.8min: 0, max: 1
seedinteger

Random seed. Set for reproducible generation

Version: ae0d7d645446Updated: 7/25/20265.7M runs