← All models
Custom FLUX.1 dev image generation with LoRAs.
images
Details
- Accepts
- text + image
Pricing
- Price
- 4 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | integer | Random seed. Set for reproducible generation |
| image | string | Input image for image to image mode. The aspect ratio of your output will match this image |
| promptrequired | string | Prompt for generated image |
| 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. |
| guidance | number | Guidance for generated image |
| extra_lora | string | |
| 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 fo… |
| megapixels | —enum: 1, 0.25 | Approximate number of megapixels for generated image |
| num_outputs | integer | Number of outputs to generate |
| aspect_ratio | —enum: 1:1, 16:9, 21:9, 3:2, 2:3, 4:5… | Aspect ratio for the generated image |
| hf_api_token | string | |
| lora_weights | string | |
| output_format | —enum: webp, jpg, png | Format of the output images |
| 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 |
| prompt_strength | number | Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image |
| 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 f… |
| 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. |
| num_inference_steps | integer | Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster. |
| disable_safety_checker | boolean | Disable safety checker for generated images. |