Skip to content

Releases

LucidFrame-v2.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 07:23

LucidFrame 2.3

Smooth video now uses RIFE, a neural frame interpolator, and the Photo model and face restoration were replaced after re-benchmarking against newer free models. The app also checks your GPU's output before trusting it, and the window controls now follow your theme.

Install

  • Windows 10/11: download LucidFrame-2.3.0-win-x64.exe and run it. It's a one-click, per-user install with no admin prompt. If SmartScreen warns about an unknown publisher, choose More info → Run anyway (builds are not code-signed yet). The installer contains every model and works offline.
  • macOS and Linux: no installers for this release. Run from source with npm install && npm start (Node.js 22.12 or newer). The first start downloads the AI models (about 205 MB, hash-checked) and then works offline.

What's new

  • Smooth motion with RIFE v4.26. "Smooth" doubles a video's frame rate with a neural interpolator instead of ffmpeg's minterpolate. A scene cut is held (the previous frame repeats) instead of being blended into a ghost of both shots. On 20 Middlebury frame pairs it scored LPIPS 0.025 against 0.064 for minterpolate (lower is better) and won on all 20. It takes about 90 ms per 720p frame and 145 ms per 1080p frame on the GPU (RX 9060 XT, DirectML). If the model can't run, the app falls back to minterpolate and says so.
  • Better Photo model. Photo is now 4xBHI_realplksr_dysample_real (same author and architecture family as before, same file size, about the same speed), with a re-tuned Auto cleanup. Across 42 photos degraded three ways it looks closer to the original on 73% of photos by LPIPS and 86% by DISTS (mean LPIPS 0.248 → 0.231, PSNR 24.9 → 25.6 dB).
  • Faithful face restoration. Faces are rebuilt by RestoreFormer++ (replacing GFPGAN 1.4) from the original pixels rather than the upscaler's output, then blended back along the face's true outline, found by a BiSeNet face-parsing model, instead of a fixed oval. On 80 faces from 12 group photos, faces come out the same as before within the margin of error, and restoration still raises identity similarity over the Photo model alone in every case.
  • Themed title bar. The native window controls (minimise, maximise, close) now match the light or dark theme.

Reliability

  • GPU output is verified. Some drivers compile a model into a graph that quietly returns wrong pixels. DirectML on an AMD RX 9060 XT corrupted bands of rows in every 256 px window of the Photo model. Each GPU session now proves itself before use, and a failing window size falls back to smaller windows and then the CPU. Passing results are cached per GPU, driver and window size, so the check costs nothing on later runs.
  • Faster back-to-back images. The cleanup model and the upscaler stay loaded together instead of being reopened on every image.
  • Tiling and video fixes for large images and the video pipeline (see the commits for detail).

Licences

RestoreFormer++ is Apache-2.0, BiSeNet face parsing and RIFE are MIT. Their licence texts ship in the installer, and NOTICES.md and Help → Credits are updated. The GFPGAN licence file was removed along with the model.

Under the hood

  • New benchmark and conversion tools under tools/ (tools/bench/ for upscalers, face restoration, detectors and interpolation; convert_faces.py, convert_interp.py), documented in tools/bench/README.md.
  • The model download is now about 205 MB (was about 180 MB) because of the added face-parsing and interpolation models.
  • CI and release builds retry npm ci, so a flaky ffmpeg-static download no longer fails a run.

Full changelog: v2.2.0...v2.3.0

LucidFrame-v2.2.0

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 27 Oct 01:50
109dfe7

LucidFrame 2.2

LucidFrame can now repair a damaged image before and after upscaling, and the app has a new look. Blocky JPEGs and out-of-focus photos are cleaned up first, and small or damaged faces are rebuilt afterwards. Several models work together, all on your own machine, and the app decides by itself what each image needs.

Install

  • Windows 10/11: download LucidFrame-2.1.0-win-x64.exe and run it. It's a one-click, per-user install with no admin prompt. If SmartScreen warns about an unknown publisher, choose More info → Run anyway (builds are not code-signed yet). The installer contains every model and works offline.
  • macOS and Linux: no installers for this release. Run from source with npm install && npm start (Node.js 22.12 or newer). The first start downloads the AI models (about 180 MB, hash-checked) and then works offline.

What's new

  • Restore pipeline. Each image can go through three stages:
    1. Clean up blur and compression. A 1× repair model removes JPEG block artifacts and reduces blur before upscaling, so the upscaler doesn't enlarge the damage into mosaics.
    2. Upscale with the model you chose.
    3. Restore faces. YuNet finds faces, GFPGAN 1.4 rebuilds each one, and the result is colour-matched and blended back in. Small or blurry faces come out sharp, where the photo model alone often garbles them.
  • It decides for you. In Auto, cleanup runs only on images it detects as blocky or soft, and face restoration acts on small or damaged faces and leaves large, already-detailed ones alone. Each stage can be set to Auto, On/Always or Off in the new Restore section, or with --cleanup and --faces on the command line.
  • It tells you what it did. The result bar shows "Blur reduced", "Compression blocks removed" or "1 face restored", and the CLI prints the same.
  • New interface. A cleaner, monochrome design with light and dark themes that follow your system:
    • a header showing the current file, its status and your hardware (GPU or CPU)
    • a card-based model chooser with a short description of the selected model
    • an ⓘ next to Restore that explains the options instead of long paragraphs
    • image thumbnails in the queue, a slimmer progress display, and a tidier before/after viewer
    • the Geist font is bundled, so nothing is loaded from the web
  • Easier to judge results. When the comparison is zoomed out, a hint offers one click to inspect the detail at 100%, since a 4× upscale looks almost identical to the original at fit-to-window size.
  • Credits and licences are now under Help, and the licence texts ship in the installer.
  • Command line. New --cleanup auto|on|off, --faces auto|always|off and --face-strength. The self-check (npm run doctor, or Help → Run self-check…) now exercises each Restore stage.

How well does it work?

Perceptual distance to the original (LPIPS, lower is better) on the face region of a test portrait, 4× results:

Input Photo model only With Restore (Auto)
Out of focus, JPEG q60 0.426 0.055
320 px wide, JPEG q15 0.109 0.079
192 px wide, JPEG q20 0.119 0.100
384 px wide, JPEG q70 (mild) 0.032 0.029

The last row shows Auto leaving a lightly compressed image essentially alone. Side-by-side images and the full table are in the README.

Fixes

  • Redo did nothing. The Redo button requeued the file but never started the queue, so you had to press Upscale again. It now runs immediately.
  • Smaller downloads from git. Model files are no longer stored in the repository; they are release assets that source installs download and verify by SHA-256. A corrupt or partial download is never used.
  • GPU safeguard. If a graphics driver returns an implausible face (garbage or NaNs), LucidFrame redoes the faces on the CPU instead of saving a broken result.
  • Video with audio. Audio is now added in a separate step, which fixes clips being cut short on some FFmpeg builds.

Known limitations

  • Face restoration invents plausible detail, so a person's likeness can change slightly. It is on Auto by default; switch it to Off if fidelity matters more than looks.
  • Block-aligned pixel art can be mistaken for compression. Set cleanup to Off for it.
  • The test results come from synthetic degradations of one public-domain portrait, plus checks on other photos. They are not a benchmark.
  • GPU acceleration for the new stages is untested on real hardware. They use the same device selection and fall back to CPU. If something looks wrong on your GPU, run Help → Run self-check… and include the output in an issue.
  • On CPU, face restoration takes about 2 to 3 seconds per face on a 4-core machine; Photo and Anime upscaling are as slow as before (roughly 90 to 105 seconds per input megapixel).
  • The Windows installer is unsigned. macOS and Linux builds are paused for now.

Credits

Upscaling and cleanup models by Philip Hofmann (Phhofm), CC BY 4.0. Face restoration by GFPGAN (Tencent ARC Lab, Apache-2.0). Face detection by YuNet (Shiqi Yu et al., MIT). Typeface: Geist (SIL OFL 1.1). See NOTICES.md for every third-party component.

What's Changed

Full Changelog: v2.1.0...v2.2.0

models-5

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 01 Dec 06:49

MODELS NEEDED FOR THE APP

Changes from models-4:

  • photo.onnx: now 4xBHI_realplksr_dysample_real (was 4xNomosWebPhoto_RealPLKSR), CC-BY-4.0. Beats the previous Photo model on clean, web-JPEG and degraded photos in our benchmark.
  • anime.onnx: same weights, re-exported with the DySample sampling split per channel group, which fixes wrong output on DirectML at tiles above 256 px.
  • interpolate.onnx (new): RIFE v4.26 frame interpolation for Smooth motion, MIT.

All other files are unchanged. Sizes and SHA-256 hashes are pinned in manifest.json.

models-4

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 27 Oct 16:29

MODELS NEEDED FOR THE APP

LucidFrame-v2.1.0

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 26 Oct 16:32
4ffa321

LucidFrame 2.1

LucidFrame can now repair a damaged image before and after upscaling. Blocky JPEGs and out-of-focus photos are cleaned up first, and small or damaged faces are rebuilt afterwards. Several models work together, all on your own machine, and the app decides by itself what each image needs.

Install

  • Windows 10/11: download LucidFrame-2.1.0-win-x64.exe and run it. It's a one-click, per-user install with no admin prompt. If SmartScreen warns about an unknown publisher, choose More info → Run anyway (builds are not code-signed yet).
  • macOS (Apple Silicon): download the .dmg and drag LucidFrame to Applications. The first time, right-click the app and choose Open (not notarized yet).
  • Linux (64-bit): download the .AppImage (chmod +x it and run) or the .deb. On Ubuntu 24.04+ the AppImage may need --no-sandbox.
  • From source: npm install && npm start (Node.js 22.12 or newer). The first start downloads the AI models (about 180 MB, hash-checked) and then works offline.

Installers contain every model and never download anything. They are about 115 MB larger than 2.0 because of the new models.

What's new

  • Restore pipeline. Each image can go through three stages:
    1. Clean up blur and compression. A 1× repair model removes JPEG block artifacts and reduces blur before upscaling, so the upscaler doesn't enlarge the damage into mosaics.
    2. Upscale with the model you chose.
    3. Restore faces. YuNet finds faces, GFPGAN 1.4 rebuilds each one, and the result is colour-matched and blended back in. Small or blurry faces come out sharp, where the photo model alone often garbles them.
  • It decides for you. In Auto, cleanup runs only on images it detects as blocky or soft, and face restoration acts on small or damaged faces and leaves large, already-detailed ones alone. Each stage can be set to Auto, On/Always or Off in the new Restore section of the sidebar, or with --cleanup and --faces on the command line.
  • It tells you what it did. The result bar shows "Blur reduced", "Compression blocks removed" or "1 face restored", and the CLI prints the same.
  • Easier to judge results. When the comparison is zoomed out, a hint offers one click to inspect the detail at 100%, since a 4× upscale looks almost identical to the original at fit-to-window size.
  • Credits and licences are now under Help, and the licence texts ship in every installer.
  • Command line. New --cleanup auto|on|off, --faces auto|always|off and --face-strength. The self-check (npm run doctor, or Help → Run self-check…) now exercises each Restore stage.

How well does it work?

Perceptual distance to the original (LPIPS, lower is better) on the face region of a test portrait, 4× results:

Input Photo model only With Restore (Auto)
Out of focus, JPEG q60 0.426 0.055
320 px wide, JPEG q15 0.109 0.079
192 px wide, JPEG q20 0.119 0.100
384 px wide, JPEG q70 (mild) 0.032 0.029

The last row shows Auto leaving a lightly compressed image essentially alone. Side-by-side images and the full table are in the README.

Fixes

  • Redo did nothing. The Redo button requeued the file but never started the queue, so you had to press Upscale again. It now runs immediately.
  • Faster and safer model setup. The model files are no longer stored in the git repository; they are release assets that the app downloads and verifies by SHA-256 when running from source, which keeps clones small. A corrupt or partial download is never used.
  • GPU safeguard. If a graphics driver returns an implausible face (garbage or NaNs), LucidFrame redoes the faces on the CPU instead of saving a broken result.

Known limitations

  • Face restoration invents plausible detail, so a person's likeness can change slightly. It is on Auto by default; switch it to Off if fidelity matters more than looks.
  • Block-aligned pixel art can be mistaken for compression. Set cleanup to Off for it.
  • The test results come from synthetic degradations of one public-domain portrait, plus checks on other photos. They are not a benchmark.
  • GPU acceleration is untested on real hardware. The new stages use the same device selection and fall back to CPU. If something looks wrong on your GPU, run Help → Run self-check… (or npm run doctor) and include the output in an issue.
  • On CPU, face restoration takes about 2 to 3 seconds per face on a 4-core machine; Photo and Anime upscaling are as slow as before (roughly 90 to 105 seconds per input megapixel).
  • No Intel-Mac build, and Linux installers run on CPU, as before.

Credits

Upscaling and cleanup models by Philip Hofmann (Phhofm), CC BY 4.0. Face restoration by GFPGAN (Tencent ARC Lab, Apache-2.0). Face detection by YuNet (Shiqi Yu et al., MIT). See NOTICES.md for every third-party component.

What's Changed

Full Changelog: v2.0.0...v2.1.0

LucidFrame-v2.0.0

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 26 Oct 14:08
c23c45d

LucidFrame 2.0

LucidFrame has been rebuilt from the ground up. It is now one self-contained desktop app: no Python, no separate backend, no setup scripts, no downloads on first launch.

Install

  • Windows 10/11: download LucidFrame-2.0.0-win-x64.exe and run it. It's a one-click, per-user install with no admin prompt. If SmartScreen warns about an unknown publisher, choose More info → Run anyway (builds are not code-signed yet).
  • macOS (Apple Silicon): download the .dmg and drag LucidFrame to Applications. The first time, right-click the app and choose Open (not notarized yet).
  • Linux (64-bit): download the .AppImage (chmod +x it and run) or the .deb. On Ubuntu 24.04+ the AppImage may need --no-sandbox.
  • From source: npm install && npm start (Node.js 22.12 or newer).

What's new

  • Modern upscaling models. The 2021 Real-ESRGAN and GFPGAN models are replaced by 2024 RealPLKSR networks (Photo, Anime & Art) and compact networks (Fast, Fast Anime), all bundled and running offline. Fur, skin and text come back noticeably sharper.
  • Seamless tiling. Large images are processed in overlapping tiles with mirrored context and cross-fades, so there are no visible seams. 2×, 3× and 4× work with every model.
  • Hardware acceleration. DirectML on Windows (any GPU), CoreML on Apple Silicon, with automatic fallback to smaller tiles and then CPU if a GPU runs out of memory or fails.
  • Better video.
    • Frames stream through ffmpeg, so nothing is written to disk as PNGs.
    • The original frame rate (including 29.97 fps), colour tagging and audio are kept.
    • The old forced 25 fps is gone.
    • Optional "smooth" mode adds real motion interpolation.
  • New interface. A draggable before/after viewer with zoom, a batch queue with progress and ETA, cancel, and a built-in self-check (Help → Run self-check…).
  • Command line. npm run cli -- photo.jpg, plus doctor to verify models, inference and codecs.
  • Safe by default. Originals are never overwritten. Results are saved next to the original as name_lucid_4x.png.

Security and reliability

  • All dependencies updated to current versions, with 0 known vulnerabilities. This replaces the old Python stack behind the open Dependabot alerts.
  • The old backend listened on localhost:8000 with open CORS. v2 has no server and opens no network port at all. This is covered by an automated test.
  • Sandboxed UI, strict Content-Security-Policy, validated IPC, and checksum-verified models.
  • The engine runs in its own process and restarts by itself if it crashes. Output files are written atomically, so a cancelled job leaves nothing half-written.
  • Continuous integration on Windows, macOS and Linux runs the unit tests, a real-app end-to-end test and a packaged-app smoke test.

Removed

  • Filters (sharpen, denoise, brightness, contrast, saturation, presets): they degraded the enhanced result, and the new models do the enhancing.
  • Face restore (GFPGAN): the new models handle faces well on their own. A modern replacement can be added if wanted.

Known limitations

  • GPU acceleration (DirectML, CoreML, CUDA) hasn't been measured on real GPUs yet. If something misbehaves, run Help → Run self-check… (or npm run doctor) and include the output in an issue.
  • On CPU the Photo and Anime models take roughly 90 to 105 seconds per input megapixel on a 4-core machine. Use Fast for video and quick previews.
  • No Intel-Mac build (the inference runtime no longer ships Intel-Mac binaries). Linux installers run on CPU.
  • Smooth video uses ffmpeg's motion interpolation, not an AI interpolator.

Credits

Models by Philip Hofmann (Phhofm), licensed CC BY 4.0. See NOTICES.md for every third-party component.

What's Changed

  • Claude/relaxed babbage 1motig by @Cosmos-0118 in #5
  • Release workflow: don't pass empty signing secrets, make macOS non-blocking, allow attaching to an existing release by @Cosmos-0118 in #6

New Contributors

Full Changelog: v1.0.0...v2.0.0

AI model files (models-3)

Choose a tag to compare

@github-actions github-actions released this 26 Oct 16:27
c23c45d

The converted ONNX model files LucidFrame downloads on first use (npm run models). Not an app version: installers already contain these files.

Each file's size and SHA-256 are pinned in models/manifest.json; SHA256SUMS lists the hashes. Built from pinned upstream weights with tools/convert_models.py. Licences and attributions: see NOTICES.md.

LucidFrame

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 06 Dec 19:53

-fixed minor bugs in ui.
-the app is stable now.
-added filters.

LucidFrame

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 06 Dec 13:39

-unpolished demo model.

Models

Choose a tag to compare

@Cosmos-0118 Cosmos-0118 released this 06 Dec 09:07
v0.0.1

added setup script.