tomclive/photo-restore-comparison 🖼️🔢📝✓ → ❓

▶️ 365 runs 📅 Aug 2025 ⚙️ Cog 0.14.0
comparison-collage image-editing image-enhancement photo-restoration

About

Restores photos using current SOTA image editing models and outputs a collage

Example Output

Output

Performance Metrics

15.73s Prediction Time
16.18s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/NbkymhPOpoT5iQ7AoCYVuAH5EdIdwnt9bz6FmuvobgGYkDoV/water-damaged-photo-retouching.jpg",
  "collage_width": 1200,
  "openai_api_key": "",
  "include_original": true
}
Input Parameters
image (required) Type: string
Photo to be restored
collage_width Type: integerDefault: 1200Range: 800 - 2000
Width of the output collage in pixels
openai_api_key Type: stringDefault:
Your OpenAI API key (required for GPT Image 1)
include_original Type: booleanDefault: true
Include original image in collage
Output Schema
seededit_result Type: stringFormat: uri
Seededit Result
qwen_edit_result Type: stringFormat: uri
Qwen Edit Result
comparison_collage Type: stringFormat: uri
Comparison Collage
nano_banana_result Type: stringFormat: uri
Nano Banana Result
flux_restore_result Type: stringFormat: uri
Flux Restore Result
openai_gpt_image_result Type: stringFormat: uri
Openai Gpt Image Result
Example Execution Logs
Starting photo restoration with multiple models...
OpenAI API key not provided, skipping GPT Image 1
Collecting results from all models...
✓ Nano Banana completed
✓ FLUX Restore completed
Skipping OpenAI GPT Image 1 (no API key)
✓ Qwen Image Edit completed
✓ SeedEdit 3.0 completed
Creating comparison collage...
Loading Google Nano Banana from /tmp/cog-runner-tmp-1269284306/4f3a47e414f9ff99/tmp7k2iw5mu.png
✓ Successfully loaded Google Nano Banana
Loading FLUX Restore from /tmp/cog-runner-tmp-1269284306/12dd4ad05b80dba9/tmpq4_zxj3_.png
✓ Successfully loaded FLUX Restore
Skipping OpenAI GPT Image 1 - no result available
Loading Qwen Image Edit from /tmp/cog-runner-tmp-1269284306/177587cda7e6118e/out-0.png
✓ Successfully loaded Qwen Image Edit
Loading SeedEdit 3.0 from /tmp/cog-runner-tmp-1269284306/9751fea0370698fa/tmp9e7zzj0d.jpg
✓ Successfully loaded SeedEdit 3.0
Creating collage with 5 images
Version Details
Version ID
6aed8be07694b64430e53b3ef9e52273b9828802610cec678f7c42d62829610c
Version Created
September 1, 2025
Run on Replicate →