andreasjansson/portrait-blur 🖼️🔢✓ → ❓
About
Blur out-of-focus parts of an image

Example Output
Output
{"depth_debug":null,"blurred_image":"https://replicate.delivery/xezq/fZVGYqMrfwqOEEJBgdCAZR1kXoZZICa2E56k9jdpVIPCukOVA/portrait_blur.jpg"}
Performance Metrics
14.00s
Prediction Time
14.70s
Total Time
All Input Parameters
{ "image": "https://replicate.delivery/pbxt/Nb5sdr4GpsbJfMvG0IsnO0sVgW1YlFUxW97VbT6qmflgH3XR/IMG_8244.jpeg", "blur_strength": 10, "edge_averaging": 11, "return_debug_image": false }
Input Parameters
- image (required)
- Input image to apply portrait mode blur effect
- blur_strength
- Blur strength (higher = more blur)
- edge_averaging
- Edge smoothing window size (higher = smoother transitions)
- return_debug_image
- Return debug depth visualization
Output Schema
- depth_debug
- Depth Debug
- blurred_image
- Blurred Image
Example Execution Logs
detections [{'bbox': [1401, 931, 3073, 2606], 'confidence': 0.4927964508533478, 'label': 'person'}, {'bbox': [1402, 932, 3072, 2606], 'confidence': 0.2877204120159149, 'label': 'man'}, {'bbox': [2494, 1035, 3070, 1606], 'confidence': 0.36745485663414, 'label': 'face'}, {'bbox': [1402, 933, 3072, 2607], 'confidence': 0.4241909384727478, 'label': 'woman'}, {'bbox': [1402, 933, 3072, 2608], 'confidence': 0.2803356647491455, 'label': 'woman'}, {'bbox': [1400, 931, 3073, 2606], 'confidence': 0.21583585441112518, 'label': ''}, {'bbox': [268, 1546, 509, 1813], 'confidence': 0.245175302028656, 'label': ''}] bbox_viz /tmp/cog-runner-tmp-3577462926/4d7fb9f68d625f23/result.png
Version Details
- Version ID
d6a2581a9f1d208d35ea7f0caeed2d19337d31ba167f4608f2d052d1b6d36e8a
- Version Created
- August 25, 2025