black-forest-labs/flux-dev-lora 🔢🖼️📝✓❓ → 🖼️
About
A version of flux-dev, a text to image model, that supports fast fine-tuned lora inference
Example Output
Prompt:
"style of 80s cyberpunk, a portrait photo"
Output
Performance Metrics
2.83s
Prediction Time
2.84s
Total Time
1
Images
All Input Parameters
{
"prompt": "style of 80s cyberpunk, a portrait photo",
"go_fast": true,
"guidance": 3,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "1:1",
"lora_weights": "fofr/flux-80s-cyberpunk",
"output_format": "webp",
"output_quality": 80,
"prompt_strength": 0.8,
"num_inference_steps": 28
}
Input Parameters
- seed
- Random seed. Set for reproducible generation
- image
- Input image for image to image mode. The aspect ratio of your output will match this image
- prompt (required)
- Prompt for generated image
- go_fast
- 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.
- guidance
- Guidance for generated image
- extra_lora
- 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'
- lora_scale
- 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
- Approximate number of megapixels for generated image
- num_outputs
- Number of outputs to generate
- aspect_ratio
- Aspect ratio for the generated image
- hf_api_token
- HuggingFace API token. If you're using a hf lora that needs authentication, you'll need to provide an API token.
- lora_weights
- 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.
- output_format
- Format of the output images
- output_quality
- 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
- Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image
- extra_lora_scale
- 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.
- civitai_api_token
- Civitai API token. If you're using a civitai lora that needs authentication, you'll need to provide an API token.
- num_inference_steps
- Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
- disable_safety_checker
- Disable safety checker for generated images.
Output Schema
Output
Example Execution Logs
Lora fofr/flux-80s-cyberpunk already loaded running quantized prediction Using seed: 1827486286 0%| | 0/28 [00:00<?, ?it/s] 7%|▋ | 2/28 [00:00<00:01, 18.09it/s] 14%|█▍ | 4/28 [00:00<00:01, 13.05it/s] 21%|██▏ | 6/28 [00:00<00:01, 11.97it/s] 29%|██▊ | 8/28 [00:00<00:01, 11.50it/s] 36%|███▌ | 10/28 [00:00<00:01, 11.25it/s] 43%|████▎ | 12/28 [00:01<00:01, 10.86it/s] 50%|█████ | 14/28 [00:01<00:01, 10.83it/s] 57%|█████▋ | 16/28 [00:01<00:01, 10.83it/s] 64%|██████▍ | 18/28 [00:01<00:00, 10.84it/s] 71%|███████▏ | 20/28 [00:01<00:00, 10.81it/s] 79%|███████▊ | 22/28 [00:01<00:00, 10.69it/s] 86%|████████▌ | 24/28 [00:02<00:00, 10.68it/s] 93%|█████████▎| 26/28 [00:02<00:00, 10.71it/s] 100%|██████████| 28/28 [00:02<00:00, 10.73it/s] 100%|██████████| 28/28 [00:02<00:00, 11.05it/s] Total safe images: 1 out of 1
Version Details
- Version ID
ae0d7d645446924cf1871e3ca8796e8318f72465d2b5af9323a835df93bf0917- Version Created
- June 25, 2025