flux-kontext-apps/depth-of-field 🔢❓🖼️ → 🖼️

⭐ Official ▶️ 2.3K runs 📅 May 2025 ⚙️ Cog 0.16.8
background-blur image-editing image-re-lighting

About

Bring your subjects into focus with FLUX.1 Kontext [pro]

Example Output

Output

Example output

Performance Metrics

5.30s Prediction Time
5.31s Total Time
1 Images
All Input Parameters
{
  "gender": "none",
  "blur_effect": "golden hour lighting with background blur",
  "input_image": "https://replicate.delivery/pbxt/N5stdYnAreOgjBq6k40fyLDBl1tvcLFh6TZJErsQwofp1SRp/image.png",
  "aspect_ratio": "match_input_image"
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
gender Default: none
The gender of the person
blur_effect Default: ultra shallow depth of field
The professional blur effect to add to the background
input_image (required) Type: string
Image to add professional background blur effects. Must be jpeg, png, gif, or webp.
aspect_ratio Default: match_input_image
Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.
output_format Default: png
Output format for the generated image
safety_tolerance Type: integerDefault: 2Range: 0 - 2
Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Prompt: Add golden hour lighting with background blur while keeping the person in the exact same position and pose. Preserve them facial features, hairstyle, clothing, and expression. Only blur the background dramatically around them.
Using seed: 1457176305
Generating...
Generated image in 4.7sec
Downloading 1339123 bytes
Downloaded 1.28MB in 0.46sec
Version Details
Version ID
f33900c4f0410a9ef6f9cc9871a56244415228d0c7154c4fd130c77232ce2a44
Version Created
October 13, 2025
Run on Replicate →