black-forest-labs/flux-dev-lora
A version of flux-dev, a text to image model, that supports fast fine-tuned lora inference
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
prompt* | string | Prompt for generated image | — | — |
aspect_ratio | string | Aspect ratio for the generated image | "1:1" | 1:116:921:93:22:34:55:43:44:39:169:21 |
civitai_api_token | string(password) | 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. | 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. | 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. | true | — |
guidance | number | Guidance for generated image | 3 | min: 0, max: 10 |
hf_api_token | string(password) | HuggingFace API token. If you're using a hf lora that needs authentication, you'll need to provide an API token. | — | — |
image | string(uri) | 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. | 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 | "1" | 10.25 |
num_inference_steps | integer | Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster. | 28 | min: 1, max: 50 |
num_outputs | integer | Number of outputs to generate | 1 | min: 1, max: 4 |
output_format | string | Format of the output images | "webp" | webpjpgpng |
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 | 80 | min: 0, max: 100 |
prompt_strength | number | Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image | 0.8 | min: 0, max: 1 |
seed | integer | Random seed. Set for reproducible generation | — | — |
promptrequiredstringPrompt for generated image
aspect_ratiostringAspect ratio for the generated image
"1:1"civitai_api_tokenstringCivitai API token. If you're using a civitai lora that needs authentication, you'll need to provide an API token.
disable_safety_checkerbooleanDisable safety checker for generated images.
falseextra_lorastringLoad 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_scalenumberDetermines 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.
1min: -1, max: 3go_fastbooleanRun 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.
trueguidancenumberGuidance for generated image
3min: 0, max: 10hf_api_tokenstringHuggingFace API token. If you're using a hf lora that needs authentication, you'll need to provide an API token.
imagestringInput image for image to image mode. The aspect ratio of your output will match this image
lora_scalenumberDetermines 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.
1min: -1, max: 3lora_weightsstringLoad 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.
megapixelsstringApproximate number of megapixels for generated image
"1"num_inference_stepsintegerNumber of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
28min: 1, max: 50num_outputsintegerNumber of outputs to generate
1min: 1, max: 4output_formatstringFormat of the output images
"webp"output_qualityintegerQuality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
80min: 0, max: 100prompt_strengthnumberPrompt strength when using img2img. 1.0 corresponds to full destruction of information in image
0.8min: 0, max: 1seedintegerRandom seed. Set for reproducible generation
ae0d7d645446Updated: 7/25/20265.7M runs
cinemasetfree.com