KNOWN ISSUE: A few prompts, such as "A man in his late 20s is laying back on a grassy hill, wearing a hoodie and jeans, looking up at the sky with a thoughtful expression. The background shows a clear blue sky with a few clouds." return wrongly orientated images. I thought it might be related to one of the new images having wrong EXIF data orientation so I thought I fixed that and retrained, but the issue is still there. So no fix there yet, although it seems to affect only a very small number of prompts as far as I can tell. I will of course work urgently on fixing that!
Based on a lot of feedback from a Reddit thread about my model (that I made), I have decided to completely revise it again, as v6 was clearly vastly inferior to v5. Luckily, this has resulted in the best model yet. By far.
The model now has much more natural and detailed looking skin, less often or less strong occurrences of FLUX chin (at lower guidance values), looks much more real now, and overall is just better in every way. I would say that after 7 versions now and months of work, this is finally THE state that I always wanted to achieve and it can easily compete with the rest of the FLUX Realism LoRa's out there, if not even beat them imho
What I did was
adjust dataset again: switch out the previous AI generated images with some previously unused photos of mine
change the trigger to "early 2010s snapshot photo captured with a phone and uploaded to facebook, " as extensive testing showed that this is the best one (I could come up with during multiple hours of testing)
remove "artstyle" from the trigger, as that caused some images to turn cartoonish or otherwise non-photoreal
switch to lower FLUX guidance values as the default for samples, instead of 3.5 more around 2.5, unless the prompt demands it
## Overview
- **Model ID**: `amateursnapshotphotostyleloraflux-v70`
- **Category**: flux
- **Provider**: modelslab
- **Status**: model_ready
- **Screenshot**: `https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0e61a442-28d7-4565-9ff4-2468731515ad/width=1352/52144150.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": "amateursnapshotphotostyleloraflux-v70",
"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": "amateursnapshotphotostyleloraflux-v70",
"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": "amateursnapshotphotostyleloraflux-v70",
"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/amateursnapshotphotostyleloraflux-v70)
- [API Documentation](https://docs.modelslab.com)
- [ModelsLab Platform](https://modelslab.com)