# - FinesseV2PF16LORA
>
How to generate images:
Why use the LORA?
Save space: The LORA is much smaller than the full model. So you don´t have to repeat and reapeat downloading checkpoints or unets. The specialiced information added to a base model only needs to stay in a smaller LORA
More flexibility: Experiment with different styles by combining the LORA with other base models (Flux1-dev-fp8 checkpoints). If you use ComfyUi you can make a unet, just use two nodes, LoadCheckpoint to load flux1-de-fp8 and ModelSave to save the unet, just link only the model points from both
Something you can´t do with checkpoints and unets, you can play with the strength of the lora. For some features you can enhance the image, e.g, make a woman more curvy (1.2 is enough)
Using the Flux1.Dev base model you prefer wheather checkpoint or unet and the Finesse LORA together saves you space in disk and makes it easier to experiment with different styles. It's like having a modular system where you can customize your cake with different toppings
This is an attempt to distribute a modification of a basic model in the LORA format instead of a full trained or merged model. Every time we download a trained model, for each model we download we download again: the basic model, the VAE, Clip-L and T5, in total about 17Gb and if you you use unet the penalty in each download is 11 GB. If you believe that GGUF is a solution, the penalty is only reduced by half (5Gb). That is to say that if we download "n" models based on FluxDevfp8 checkpoint , we have a redundancy of n x 17Gb. SSD vendors are very happy and grateful. Using a distribution based on LORAs, you just download your prefered base model Flux1.Dev, with the included or not VAE, Clip-L and T5 only once and then the specific LORA.
The base model to make the sample images was:
https://huggingface.co/lllyasviel/flux1_dev/resolve/main/flux1-dev-fp8.safetensors
If you want an image in 6-8 steps download Bytedance also include in the prompt (strength 0.125),
https://huggingface.co/ByteDance/Hyper-SD/resolve/main/Hyper-FLUX.1-dev-8steps-lora.safetensors
For those who like GGUF, there are several cuantizations versions with 6-8 steps accelerator included
https://huggingface.co/mhnakif/flux-hyp8/tree/main
## Overview
- **Model ID**: `finessev2pf16lora`
- **Category**: flux
- **Provider**: modelslab
- **Status**: model_ready
- **Screenshot**: `https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/cdaef9ab-f9c2-41c6-9844-73eae557c513/width=256/41348472.jpeg`
## API Information
This model can be used via our HTTP API. See the API documentation and usage examples below.
### Endpoint
- **URL**: `https://modelslab.com/api/v6/images/text2img`
- **Method**: POST
### Parameters
- **`prompt`** (required): prompt help in image generation
- Type: textarea
- Example: Enter prompt
- **`model_id`** (required): Enter model_id that can help in image generation
- Type: text
- Example: Enter model_id here
- **`lora_model`** (required):
- Type: multiple_models
- **`width`** (required): width of the image
- Type: number (range: 512-1024)
- **`height`** (required): height of the image
- Type: number (range: 512-1024)
- **`negative_prompt`** (optional): Negative prompt help in avoid things that you do not want in image
- Type: textarea
- Example: Enter negative prompt that you do not want see in image
- **`scheduler`** (optional):
- Type: select (options: DPM++ 2M, DPM++ SDE, Euler, Euler a)
- **`guidance_scale`** (optional):
- Type: number (range: 1-10)
## Usage Examples
### cURL
```bash
curl --request POST \
--url https://modelslab.com/api/v6/images/text2img \
--header "Content-Type: application/json" \
--data '{
"key": "YOUR_API_KEY",
"model_id": "finessev2pf16lora",
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5"
}'
```
### Python
```python
import requests
response = requests.post(
"https://modelslab.com/api/v6/images/text2img",
headers={
"Content-Type": "application/json"
},
json={
"key": "YOUR_API_KEY",
"model_id": "finessev2pf16lora",
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5"
}
)
print(response.json())
```
### JavaScript
```javascript
fetch("https://modelslab.com/api/v6/images/text2img", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"key": "YOUR_API_KEY",
"model_id": "finessev2pf16lora",
"prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro",
"width": "1024",
"height": "1024",
"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry",
"scheduler": "DPMSolverMultistepScheduler",
"guidance_scale": "7.5"
})
})
.then(response => response.json())
.then(data => console.log(data));
```
## Links
- [Model Playground](https://modelslab.com/models/community-model/finessev2pf16lora)
- [API Documentation](https://docs.modelslab.com)
- [ModelsLab Platform](https://modelslab.com)