Flux Realism
Generate photorealistic images using Flux Dev enhanced with a realism LoRA. Optimized for lifelike photographs with configurable LoRA strength and guidance.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-dev-realism",
"version": "0.0.1",
"input": {
"prompt": "A photo of a woman, headshot, realistic, natural lighting",
"aspect_ratio": "4:5",
"lora_strength": 0.8,
"num_inference_steps": 30,
"guidance": 3.5
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
| aspect_ratio |
string |
1:1 |
Output aspect ratio. enum: 1:1, 16:9, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21 |
| guidance |
number |
3.5 |
Guidance controls adherence to the text prompt |
| lora_strength |
number |
0.8 |
LoRA strength controls the intensity of the realism effect |
| num_inference_steps |
integer |
30 |
Number of inference steps |
| num_outputs |
integer |
1 |
Number of outputs to generate |
| output_format |
string |
webp |
Output format. enum: webp, jpg, png |
| output_quality |
integer |
80 |
Quality of output images, from 0 to 100 |
| prompt |
string |
A photo of a woman, headshot, realistic |
Text prompt for generation |
| seed |
integer |
- |
Random seed for reproducible generation |
Examples
Professional headshot:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-dev-realism",
"version": "0.0.1",
"input": {
"prompt": "Professional corporate headshot of a man in a navy suit, clean white background, studio lighting, sharp focus",
"aspect_ratio": "4:5",
"lora_strength": 0.9,
"num_inference_steps": 35,
"guidance": 4,
"output_format": "jpg",
"output_quality": 95
}
}'
Realistic street photography:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "flux-dev-realism",
"version": "0.0.1",
"input": {
"prompt": "A candid street photograph of a busy market in Marrakech, vibrant colors, natural sunlight, shot on 35mm film",
"aspect_ratio": "3:2",
"lora_strength": 0.8,
"num_inference_steps": 30,
"num_outputs": 2,
"seed": 42
}
}'
Related Models
Documentation
1---2name: flux-dev-realism3description: Flux Realism | Photorealistic AI Image Generation. Generate photorealistic images with Flux Dev enhanced by a realism LoRA. Triggers: flux realism, realistic image, photorealistic, flux realistic, photo generation4---56# Flux Realism78Generate photorealistic images using Flux Dev enhanced with a realism LoRA. Optimized for lifelike photographs with configurable LoRA strength and guidance.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "flux-dev-realism",20 "version": "0.0.1",21 "input": {22 "prompt": "A photo of a woman, headshot, realistic, natural lighting",23 "aspect_ratio": "4:5",24 "lora_strength": 0.8,25 "num_inference_steps": 30,26 "guidance": 3.527 }28 }'29```3031## Parameters3233| Parameter | Type | Default | Description |34|-----------|------|---------|-------------|35| aspect_ratio | string | 1:1 | Output aspect ratio. enum: 1:1, 16:9, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21 |36| guidance | number | 3.5 | Guidance controls adherence to the text prompt |37| lora_strength | number | 0.8 | LoRA strength controls the intensity of the realism effect |38| num_inference_steps | integer | 30 | Number of inference steps |39| num_outputs | integer | 1 | Number of outputs to generate |40| output_format | string | webp | Output format. enum: webp, jpg, png |41| output_quality | integer | 80 | Quality of output images, from 0 to 100 |42| prompt | string | A photo of a woman, headshot, realistic | Text prompt for generation |43| seed | integer | - | Random seed for reproducible generation |4445## Examples4647**Professional headshot:**48```bash49curl -X POST https://api.eachlabs.ai/v1/prediction \50 -H "Content-Type: application/json" \51 -H "X-API-Key: $EACHLABS_API_KEY" \52 -d '{53 "model": "flux-dev-realism",54 "version": "0.0.1",55 "input": {56 "prompt": "Professional corporate headshot of a man in a navy suit, clean white background, studio lighting, sharp focus",57 "aspect_ratio": "4:5",58 "lora_strength": 0.9,59 "num_inference_steps": 35,60 "guidance": 4,61 "output_format": "jpg",62 "output_quality": 9563 }64 }'65```6667**Realistic street photography:**68```bash69curl -X POST https://api.eachlabs.ai/v1/prediction \70 -H "Content-Type: application/json" \71 -H "X-API-Key: $EACHLABS_API_KEY" \72 -d '{73 "model": "flux-dev-realism",74 "version": "0.0.1",75 "input": {76 "prompt": "A candid street photograph of a busy market in Marrakech, vibrant colors, natural sunlight, shot on 35mm film",77 "aspect_ratio": "3:2",78 "lora_strength": 0.8,79 "num_inference_steps": 30,80 "num_outputs": 2,81 "seed": 4282 }83 }'84```8586## Related Models8788- [flux-dev](../flux-dev/) - Standard Flux Dev generation89- [flux-1-1-pro](../flux-1-1-pro/) - Professional Flux generation90- [realistic-vision-v6-0-b1](../realistic-vision-v6-0-b1/) - Realistic Vision image generation9192## Documentation9394- [each::labs Docs](https://docs.eachlabs.ai)95- [API Reference](https://docs.eachlabs.ai/api/overview)