← 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 Images Seed

Cost

Community model (estimated from hardware time)

Input Parameters

prompt required string

Prompt for generated image

aspect_ratio string

Aspect ratio for the generated image

Default: "1:1"
1:1 16:9 21:9 3:2 2:3 4:5 5:4 3:4 4:3 9:16 9:21
civitai_api_token string

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

disable_safety_checker boolean

Disable safety checker for generated images.

Default: false
extra_lora string

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_scale number

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

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
guidance number

Guidance for generated image

Default: 3 min: 0, max: 10
hf_api_token string

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

image string

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

lora_scale number

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

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.

megapixels string

Approximate number of megapixels for generated image

Default: "1"
1 0.25
num_inference_steps integer

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

Default: 28 min: 1, max: 50
num_outputs integer

Number of outputs to generate

Default: 1 min: 1, max: 4
output_format string

Format of the output images

Default: "webp"
webp jpg png
output_quality integer

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 min: 0, max: 100
prompt_strength number

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

Default: 0.8 min: 0, max: 1
seed integer

Random seed. Set for reproducible generation

Version: ae0d7d645446 Updated: 2/26/2026 5.7M runs